Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 05:01:09 +0000



order not executed

View Count: 610

[2021-04-20 09:33:49]
User61576 - Posts: 450
I have 1 instance set to regular trading and another instance (#2) set to simulation mode (doing replay)
trading in unlocked
manual execution is working in instance #1

when trying to live my code, I am getting this error in the trade service log:
F.US.EPM21[M] 2.00 Range #6 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. | 2021-04-20 05:26:40.273

what should I do?
[2021-04-20 14:41:39]
John - SC Support - Posts: 40702
Either your automated trading is set to simulation when your chart is not, or your chart is in simulation mode when your automated trading is not. In other words, there is an inconsistency in the settings. Refer to the following for more information:
Automated Trading Management: SendOrdersToTradeService
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-04-20 15:13:53]
User61576 - Posts: 450
here are my settings
how can it be that on replay it is ok?
Private File
[2021-04-20 15:48:47]
Sierra Chart Engineering - Posts: 104368
How are these orders being submitted?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-04-20 15:51:31]
User61576 - Posts: 450
ACSIL
[2021-04-20 15:57:55]
Sierra Chart Engineering - Posts: 104368
Make sure you have this line of code below the sc.SetDefaults section at the top:
sc.SendOrdersToTradeService= 1;

You should set it from an Input.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-04-20 16:10:55]
User61576 - Posts: 450
oppps
didn't have that
so how on replay it was executing???
Attachment Deleted.
Private File

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account