how to understand the api parameters

Created at 09 Jun 2022, 22:28
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!
AL

al-n

Joined 03.01.2021

how to understand the api parameters
09 Jun 2022, 22:28


hi there. can somone help me to understand how to learn the meaning of the parameters of the automate api methods to use them in a cbot for example?

for example i looked for ATR indicator.

here:
https://spotware.github.io/ctrader-automate/references/Indicators/IIndicatorsAccessor/AverageTrueRange/?h=atr

.... i get the 3 types of examples. but there is for example no explaination what marketSeries does. or by the example (3of3) is the parameter bars. and also there is no description. 
 

how can i find what those parameters do stand for?

thank you


@al-n
Replies

amusleh
10 Jun 2022, 10:12

Hi,

MarkestSeries is the obsolete version of Bars, and Bars contains the OHLC  price data, it's a collection like data structure that contains all available chart bars data.

We will add description for them eventually, as the Bars overloads are added recently they lack the description.


@amusleh

al-n
10 Jun 2022, 12:06

RE:

ok thnx


@al-n