Support Board
Date/Time: Wed, 17 Sep 2025 07:54:34 +0000
Post From: Is it possible to add a new variable to detect trade simulation mode
[2022-06-08 14:54:06] |
Tony - Posts: 627 |
Hi, I am trying to detect whether [Trade Simulation Mode] is on or not with ACSIL code, by checking whether sc.SelectedTradeAccount contains string "Sim", I realize this is not accurate, because sc.SelectedTradeAccount could be my live account number even when [Trade Simulation Mode] is on. Is it possible that we can have a variable to detect whether [Trade Simulation Mode] is on or not, similar to variable [sc.IsChartTradeModeOn] and [sc.ChartTradeModeEnabled]? Thanks so much! Date Time Of Last Edit: 2022-06-08 14:54:45
|