Support Board
Date/Time: Sun, 24 Nov 2024 16:07:25 +0000
Post From: 'SendOrdersToTradeService' is not consistent with 'Trade Simulation Mode On'
[2023-03-15 19:54:28] |
tecman240 - Posts: 16 |
I have a custom study that send buy/sell stop entry orders when enabled by a control button. Sometimes it works but sometimes I get this error in the Trade Log: MESM23_FUT_CME[M] Rev. 6t #2 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. | 2023-03-15 13:59:08.002
Each time this has happened, I've checked the following and everything seems to be right for sending orders to Teton: Trade >> Trade Simulation Mode (Unchecked) Chart Trade Window is displaying my account number, not "Sim1". Trade >>Auto trading enabled Global (Checked) and on the chart: Trade >> Auto trading enabled Chart (Checked) Sometimes (but not always) I can real orders to be submitted by toggling Trade>>Trade Simulation Mode from 'Unchecked' to 'Checked', then back to 'Unchecked'. My study has SendOrdersToTradeService=true in SetDefaults, and does not use an input to control this variable. thanks. |