Support Board
Date/Time: Fri, 20 Jun 2025 06:38:26 +0000
Post From: Is it possible to add a new variable to detect trade simulation mode
[2022-06-08 14:54:06] |
Tony - Posts: 595 |
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
|