Login Page - Create Account

Support Board


Date/Time: Wed, 25 Dec 2024 16:02:03 +0000



s_SubmitNewSingleOrder not translating in actual trades

View Count: 870

[2015-11-01 13:45:50]
User436004 - Posts: 7
After calling s_SubmitNewSingleOrder, I receive successful ORDER_UPDATE responses and my orders appear in SC's Orders and Positions window. I am submitting buy at market orders and the orders are not getting filled.

This is all in Sim. Obviously in Sim I can buy at market through the DOM and get filled.

  DTC::s_SubmitNewSingleOrder request;
  //request.SetSymbol("F.US.EPZ15");
  request.SetSymbol("ESZ15");
  request.SetClientOrderID("abc");
  request.OrderType = DTC::OrderTypeEnum::ORDER_TYPE_MARKET;
  request.BuySell = DTC::BuySellEnum::BUY;
  request.TimeInForce = DTC::TimeInForceEnum::TIF_GOOD_TILL_CANCELED;
  request.Quantity = 1;
  request.SetTradeAccount("Sim1");
  request.IsAutomatedOrder = 1;
  request.IsParentOrder = 0;
  request.OpenOrClose = DTC::OpenCloseTradeEnum::TRADE_OPEN;


Thanks for your help.
[2015-11-01 14:19:10]
User436004 - Posts: 7
These are the two ORDER_UPDATE responses I am currently receiving:

1st
OrderStatus: ORDER_STATUS_PENDING_OPEN
OrderUpdateReason: NEW_ORDER_ACCEPTED

2nd
OrderStatus: ORDER_STATUS_OPEN
OrderUpdateReason: GENERAL_ORDER_UPDATE
[2015-11-02 01:55:36]
Sierra Chart Engineering - Posts: 104368
As the documentation indicates here:
http://www.sierrachart.com/index.php?page=doc/doc_DTCServer.php

Trade Simulation Mode is not supported but we will get this done as quickly as we can. We will do our best to get it done this week or early next week and we mean that. Unless there is some unexpected complication.

Also, keep in mind you can also just use a simulated account with a trading service. For example, you can do testing with the Interactive Brokers TWS demo.

Also, one thing that we will not be able to get done very quickly is reporting Simulated Trade Positions through the DTC Server. This is going to take more effort.
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
Date Time Of Last Edit: 2015-11-02 01:55:53
[2015-11-25 06:20:44]
Sierra Chart Engineering - Posts: 104368
Trade Simulation Mode is now fully supported with the DTC Protocol Server in the latest release of Sierra Chart. Including the reporting of Simulated Trade Positions. Update to prerelease 1330.

This applies when the DTC Trade Mode is set to either of:
TRADE_MODE_DEMO = 1
TRADE_MODE_SIMULATED = 2

Let us know if you have any problems.
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
Date Time Of Last Edit: 2015-11-25 06:21:40

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

Login

Login Page - Create Account