Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 10:44:04 +0000



Post From: Backtesting SIM mode.

[2023-02-18 15:19:30]
NepWog - Posts: 1
Hi I have following setting, yet the backtesting is not working for me.

On my ACSIL code I have:

sc.SendOrdersToTradeService = false;

Under Trade--> Trade Simulation Mode On [Yes] ticked.
Under Trade--> Auto Trading Enabled - Global [Yes] ticked
Under Trade--> Auto Trading Enabled - Chart [Yes] ticked

Under File --> Disconnect [Yes] chart is currently disconnected status

When I run the replay with mode = "Accurate Trading system Backtest Mode"

I get following on Trade Service Log:

Replay 100X: MES-202303-CME-USD[M] 2700 Trades #12 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. | 2023-02-18 15:12:48.001

basically, there is something wrong and trades are ignored.

I read through the documentation and tried everything that I could think of yet there is no luck.

Could you please let me know what exactly should be the settings for backtesting (replay) for mode = mode = "Accurate Trading system Backtest Mode" ?

Thank you.

Regards,
San