Backtesting Issues with new CTrader Vesions

Created at 23 Aug 2023, 06:36
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!
RO

rob.p.marshall

Joined 27.12.2015

Backtesting Issues with new CTrader Vesions
23 Aug 2023, 06:36


Below are two versions of Backtesting a bot in cTrader 4.8.19 on the left and 4.7.13 on the right. All parameters are the same however the later version will not work. It will not work with Spotware's 4.8.21 also.  It may have something to do with the ‘Tick Data from Server (accurate)’ option in the Backtesting options. Please advise asap as I fear that if my broker updates then I will lose the ability to Trade and Backtest.

The Error message from the Log is

02/01/2023 18:28:59.149 | Crashed in OnTick with ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: volume. Actual value was: NaN.


@rob.p.marshall
Replies

Spotware
24 Aug 2023, 04:57

Dear Rob,

Can you please provide us with the cBot code that will allow us to reproduce this issue?

Best regards,

cTrader Team


@Spotware