Topics
Replies
8034130
13 May 2025, 19:06
RE: Error in backtesting using this code: MarketData.GetBars
firemyst said:
Hard code it in there as a parameter and see if that works.
eg: MarketData.GetBars(lTimeFrame, “EURGBP”)
If you have a spread-betting account, some times those accounts have slightly different symbol names to indicate they're spread betting.
Thank you for your reply!
Always the same error, also with:
MarketData.GetBars(TimeFrame.Renko20, “EURGBP”)
Do you have a solution ?
Best regards
@8034130
8034130
09 Aug 2022, 14:16
RE:
douglascvas said:
Same issue here. cTrader automate was slow before and now is way worse.
I have a Java platform which I created for myself, then I created a simple bot which uses multiple currencies. I translated the bot to c# as a cTrader robot to compare and check results.
Running a backtest on tick based data from January 2016 till now, my platform takes about 12 minutes to run while cTrader is currently taking around 2 days on the same bot (not counting the time to download the data).
Hello,
Is it possible to get a feedback ?
Best regards
@8034130
8034130
15 May 2025, 17:32
RE: RE: Error in backtesting using this code: MarketData.GetBars
8034130 said:
Thank you for your reply!
I have always the same error, also with:
MarketData.GetBars(TimeFrame.Renko20, “EURGBP”)
Do you have a solution ?
Best regards
@8034130