Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 20:01:36 +0000



Post From: DTC How to Flatten

[2020-06-10 09:06:56]
User667559 - Posts: 27
It doesn't seem to be working:
I have a position open on this symbol and on this account.

Sending to Sierra: {
Type: 209,
Symbol: 'NQM20_FUT_CME',
TradeAccount: 'Sim1',
ClientOrderID: 70722831972,
IsAutomatedOrder: 0
}

Getting back ORDER_UPDATE:
{
Type: 301,
RequestID: 0,
TotalNumMessages: 1,
MessageNumber: 1,
OrderStatus: 9,
OrderUpdateReason: 8,
OrderType: 0,
BuySell: 0,
Price1: null,
Price2: null,
TimeInForce: 0,
GoodTillDateTime: 0,
OrderQuantity: null,
FilledQuantity: null,
RemainingQuantity: null,
AverageFillPrice: null,
LastFillPrice: null,
LastFillDateTime: 0,
LastFillQuantity: null,
NoOrders: 0,
Symbol: 'NQM20_FUT_CME',
Exchange: '',
ServerOrderID: '',
ClientOrderID: '70722831972',
ExchangeOrderID: '',
LastFillExecutionID: '',
TradeAccount: 'Sim1',
InfoText: '',
ParentServerOrderID: '',
OCOLinkedOrderServerOrderID: '',
OpenOrClose: 0,
PreviousClientOrderID: '',
FreeFormText: '',
OrderReceivedDateTime: 0,
LatestTransactionDateTime: 0
}


I am able to open a new position via DTC on this symbol just fine.



Ps: the link to SUBMIT_FLATTEN_POSITION_ORDER is still missing on this page:
https://dtcprotocol.org/index.php?page=doc/DTCMessages_All.php
Date Time Of Last Edit: 2020-06-10 09:10:45