Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 17:36:13 +0000



How to Send Orders to Live and Simulated Accounts Simultaneously in Sierra Chart?

View Count: 135

[2024-08-11 22:39:35]
User951086 - Posts: 23
I have been using the "Automated Trading System" and have already run some of my strategies in the live market. At the same time, I would like to experiment with different strategies in simulated mode.

According to the Sierra Chart documentation, the SendOrdersToTradeService automated trading management variable must be set consistently with the global Trade > Trade Simulation Mode On setting in the menu; otherwise, order actions will be ignored.

If I intend to send orders to my brokerage account for one specific strategy, but want to send orders from another strategy to the Sierra Chart Simulation System, how can I achieve this?

I would appreciate it if someone could provide a solution. I have read the documentation multiple times but haven't been able to find a fix.
[2024-08-12 12:09:29]
emmanuel - Posts: 57
A given Sierra Chart instance can connect to only one trading service at a time. See Using Multiple Data and Trading Services at the Same Time

Meanwhile, the simulation system effectively takes over when enabled and doesn't allow orders to be sent to the trading service. See Trade Simulation: Introduction

This feature can be used when connected to a Data only service and can be used when connected to a Trading service when you do not want to send orders to your Trading service and instead want to have them simulated.

Which is to say, that with a single Sierra Chart instance you can either have live trading with a brokarage account, or simulated trading, but not both.

Instead, you can run two instances. One for your live account and another for sim.

And yes, sc.SendOrdersToTradeService needs to be false for sim and true for non-sim.

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

Login

Login Page - Create Account