Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 01:26:54 +0000



Post From: New Trade Sim Environment and ACSIL auto-trade settings

[2021-05-16 21:27:51]
bradh - Posts: 854
1) Step 3 says to check "Trade >> Auto Trading Enabled", but there are 2 menu items with that wording -- "Global" and "Chart". Which should I choose?

You need both enabled to auto trade specific charts. Global is for all open chartbooks, chart is for the specific chart.

2) If I try to check "Trade >> Trade Simulation Mode On" I get this error in the log: "Service client does not support enabling Trade Simulation Mode". What should this menu item setting be if I'm working with the SC Trade Sim service?

Trade Simulation Mode does not use the Trading Evaluator Service. It is a simulated exchange in the application on your computer. It is primarily for back testing, but can also be used in forward testing.

When you turn off Trade Simulation Mode, you are trading with a live exchange, in this case the Trading Evaluator Service, which like a real exchange, is not on your computer, has trading accounts that can not be simply deleted, and it only uses live (or delayed) data. Think of it as a Live Paper Money account. This mode is not for backtesting. It is primarily for forward testing under more realistic conditions than your back test simulator uses.

3) Step 1 says to disconnect from the service, then Step 2 says to load data... which immediately reconnects to the service. For backtesting, should I be connected to the SC service or not?

When connected to any service, you are receiving live or delayed data. When back testing, you are using previously saved or retrieved data. In either case you need to be connected to a service. You don't need to connect to the Trading Evaluator Service to do backtesting.

4) In my ACSIL code I have sc.SendOrdersToTradeService set to false. Is this OK for backtesting with the SC Trade Sim service?

Yes. You can use this statement to automatically change this setting when you switch back and forth between Sim and Live.

sc.SendOrdersToTradeService = !sc.GlobalTradeSimulationIsOn;

5) Choosing "Trade >> Auto Trade System Replay Back Test" results in the same error as in Q2 above: "Service client does not support enabling Trade Simulation Mode". How can I do backtesting with the SC Trade Sim service (Trading Evaluator)??

You don't. You use Trade Simulation Mode for backtest, not the Trading Evaluator service.