Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 14:42:10 +0000



Post From: DTC Submit Market Order

[2023-05-18 22:00:37]
fcpauldiaz - Posts: 18
unfortunately, I'm not getting the ORDER UPDATE (301) after submitting an order (208). If I send OPEN ORDERS REQUEST (300) I do get a 301 like this:

{
"BuySell": 0,
"ClientOrderID": "",
"Exchange": "",
"ExchangeOrderID": "",
"FreeFormText": "",
"GoodTillDateTime": 0,
"InfoText": "",
"LastFillDateTime": 0,
"LastFillExecutionID": "",
"LatestTransactionDateTime": 0,
"MessageNumber": 1,
"NoOrders": 1,
"OCOLinkedOrderServerOrderID": "",
"OpenOrClose": 0,
"OrderReceivedDateTime": 0,
"OrderStatus": 0,
"OrderType": 0,
"OrderUpdateReason": 1,
"ParentServerOrderID": "",
"PreviousClientOrderID": "",
"RequestID": 2,
"ServerOrderID": "",
"Symbol": "",
"TimeInForce": 0,
"TotalNumMessages": 1,
"TradeAccount": "",
"Type": 301
}

UPDATE/EDIT:

If i remove params from the sumbit order body I do get a 301 with the error.

Example:

{
"OpenOrClose": 1,
"Symbol": "MESM23_FUT_CME",
"TradeAccount": "7PV0862",
"Type": 208
}

I receive

{
"BuySell": 0,
"ClientOrderID": "9770",
"Exchange": "",
"ExchangeOrderID": "",
"FreeFormText": "",
"GoodTillDateTime": 0,
"InfoText": "OrderType field is not set",
"LastFillDateTime": 0,
"LastFillExecutionID": "",
"LatestTransactionDateTime": 0,
"MessageNumber": 1,
"NoOrders": 0,
"OCOLinkedOrderServerOrderID": "",
"OpenOrClose": 0,
"OrderReceivedDateTime": 0,
"OrderStatus": 9,
"OrderType": 0,
"OrderUpdateReason": 8,
"ParentServerOrderID": "",
"PreviousClientOrderID": "",
"RequestID": 0,
"ServerOrderID": "",
"Symbol": "MESM23_FUT_CME",
"TimeInForce": 0,
"TotalNumMessages": 1,
"TradeAccount": "7PV0862",
"Type": 301
}

when I add the order type, it stops receiving the order update (301)

Also the heartbeat shows 0 dropped messages.

{
"CurrentDateTime": 1684627983,
"NumDroppedMessages": 0,
"Type": 3
}
Date Time Of Last Edit: 2023-05-21 00:15:04