Login Page - Create Account

Support Board


Date/Time: Thu, 26 Dec 2024 03:41:28 +0000



Post From: s_SubmitNewSingleOrder not translating in actual trades

[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.