Anyway to get all bars data available for each symbol code.
Created at 05 Jul 2017, 17:19
P.
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.
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