Hi! Sorry I'm new here....

Created at 15 May 2013, 13:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
HA

hafezo

Joined 15.05.2013

Hi! Sorry I'm new here....
15 May 2013, 13:40


Hi all,

I've new to cAlgo and have a bunch of questions if anyone has the time?

Firstly, I think it is a great platform. Looks awesome and is easy to use, the C# syntax is a God-send, and having the CTDN site and forum is also huge. 

However, I can't find much documentation in terms of getting started. I'm guessing everyone just learns from the samples and API ... or am I missing something?

*) Can anyone point me to something that would cover the following example topics...

- The following classes are the most important... Indicator, Robot, etc. ... and here's why.
- The following methods should always be implemented ...
- Here's some documentation about executing trades/orders, position management .. you know, all the stuff we will have to do every time.

Any other useful documentation ... for example: MarketDepth looks interesting... what do I use it for? Is there any documentation other than the one line on the API page and an example that has no comments?

*) Is it possible to create my own helper classes/libraries that can be used by multiple custom indicators/robots?

*) The context menu on the Chart in cAlgo has many more indicators that the provided samples - is it possible and how can I obtain the source for them? 

*) Regarding backtesting... I can't find much documentation about this either and have to search the forum for everything..
- It appears we are limited to one year of data? Is this true?
- Why do I specify my own spread? Can it not use the actual spread of the market at that historical point of time?

*) Is there a list of known issues/bugs right now?
... I've seen some forum threads where the user has reported bugs and someone has confirmed they will be fixed. I'd really like to know what bugs are out there, especially in backtesting for example, because this could have a huge impact.

Thanks everyone for your time!

hafezo


@hafezo
Replies

cAlgo_Fanatic
16 May 2013, 11:26 ( Updated at: 23 Jan 2024, 13:16 )

Hello,

To get started use the cAlgo platfrom editor. When you create a new Indicator/Robot it automatically inserts the necessary methods for you.

Here are some usefull links.

Get Started:

http://help.spotware.com/calgo/cbots/create-edit

http://help.spotware.com/calgo/indicators/create-edit

/api/robot

executing trades/orders:
/api/requests also 

/api/internals/itrade

position management

/api/position
/api/robot/onpositionopened-caab

DOM (MarketDepth) provides access to Level 2 prices. In cTrader you can view the DOM for each currency pair on the left. MarketDepth provides access to that data.

/api/marketdepth

/api/internals/marketdata

/api/marketdepthentry

/forum/calgo-reference-samples/253

It is possible to create your own helper classes/libraries that can be used by multiple custom indicators/robots by adding a reference to their dll. (Add reference button located next to build on top of cAlgo editor)

The code is provided for some of the cAlgo Indicators in this section:

/forum/calgo-reference-samples

e.g. [MACD], [Momentum Oscillator], RSI

If you need to code for another let us know.

BackTesting provides one year of data for the time being. It will be increased in the future. The actual spread of the market at the historical point in time is not available for backtesting right now.

We don't provide a list of bugs for the time being. There are currently no known bugs as far as backtesting is concerned.


@cAlgo_Fanatic