Anyway to get all bars data available for each symbol code.

Created at 05 Jul 2017, 17:19
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!
P.

p.likitsajjakul

Joined 05.07.2017

Anyway to get all bars data available for each symbol code.
05 Jul 2017, 17:19


 

I'm trying to get all bars data available for each symbol

I noticed that if i use MarketSeries.Close.Count it'll only count the numbers of bars downloaded on your graph at that time.

When I swipe my graph to the left to download more bars manually the count number goes up each time i swipe and rerun bots.

Is there anyway to download all bars data available automatically?

 

Thanks in Advance.


@p.likitsajjakul
Replies

Spotware
17 Jul 2017, 17:17

Dear p.likitsajjakul,

Currently, it is not possible to download bars that are not displayed in the charts. We can consider adding the ability to download a custom range of market data in a future release of cAlgo.API. In the meanwhile, as a workaround, you can implement a cBot that writes the market data to a file, backtest the cBot so that the data is stored to the file and later on access the data from your trading cBot.

Best Regards,

cTrader Team


@Spotware