Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 16:32:13 +0000



Post From: DTC Client Programming for Sierra Chart platform

[2017-12-01 02:15:23]
DTC Engineering - Posts: 320
So just to confirm, the only way to know [that the DTC client will know that is configured to submit the correct type of LIVE, DEMO, or SIMULATION orders] is to submit orders?
Really the question is more whether the instance of Sierra Chart the orders are being submitted to, through its DTC Server is in Trade Simulation Mode or not and what external trading service it is connected to, if any.


Client sends SIMULATED order:
1a) SC: SIM enabled (expect: accept)Yes.
1b) SC: SIM disabled, logged into DEMO account (expect: reject)Will be rejected.
1c) SC: SIM disabled, logged into LIVE account (expect: reject)Will be rejected.

Client sends DEMO order:
2a) SC: SIM enabled (expect: reject)
2b) SC: SIM disabled, logged into DEMO account (expect: accept)
2c) SC: SIM disabled, logged into LIVE account (expect: reject)
What do you mean by demo order? It is the TradeAccount field which is going to determine whether it is considered simulated or non-simulated.

Client sends LIVE order:
3a) SC: SIM enabled (expect: reject)Yes.
3b) SC: SIM disabled, logged into DEMO account (expect: reject)Will be accepted if the TradeAccount matches the connected to trading account.
3c) SC: SIM disabled, logged into LIVE account (expect: accept)Will be accepted if the TradeAccount matches the connected to trading account.



Date Time Of Last Edit: 2017-12-01 02:16:13