Support Board
Date/Time: Tue, 08 Oct 2024 05:02:55 +0000
Post From: DTC SUBMIT_NEW_SINGLE_ORDER does not submit order
[2023-08-17 13:10:54] |
User258363 - Posts: 11 |
When I place a trade through sending a `SUBMIT_NEW_SINGLE_ORDER` command no trade is placed and I see no response in the message log. I can see the command go through in the message log but there is no response or indication that a trade was placed. SC also shows no trades. If I remove "order_type" I get an error in the trade log that says: DTC client #34. DTC Client. 127.0.0.1 | New order rejected. ClientOrderID: 10 | OrderType field is not set | Symbol: ESU3.CME | TradeAccount: <account_redacted> | 2023-08-17 04:40:15.068 *
so this leads me to believe something is happening but the trade isn't being placed. changing trade_account string doesn't seem to result in any error either. I've tried with tcp and websockets. commands: symbol=ESU3.CME, exchange="CME", trade_account="xxx", client_order_id = "13", order_type=1, buy_sell=1, quantity=1, time_in_force=1, is_automated_order=1, open_or_close=1, is_parent_order=0, message log: JSON data: {"BuySell": 1, "ClientOrderID": "13", "Exchange": "CME", "IsAutomatedOrder": 1, "IsParentOrder": 0, "OpenOrClose": 1, "OrderType": 1, "Quantity": 1, "Symbol": "ESU3.CME", "TimeInForce": 1, "TradeAccount": <redacted>, "Type": 208} | 2023-08-17 13:05:27.272 attached is a screenshot of my dtc server settings. trading is enabled. also a related post here: DTC Submit Market Order Date Time Of Last Edit: 2023-08-17 13:14:34
|
Screenshot from 2023-08-17 08-06-59.png / V - Attached On 2023-08-17 13:08:14 UTC - Size: 17.13 KB - 83 views |