Support Board
Date/Time: Wed, 10 Sep 2025 00:50:10 +0000
Post From: DTC Order sending only sends sell orders but not buy order.
[2025-07-28 22:11:54] |
User370774 - Posts: 32 |
It gets more strange, when I set it to "1" it appears as invisible LIMIT BUY order without a price! (see attached screenshot) Even though OrderType is set to "2" (market order), which works correctly for sending a sell order. order = { "Type": 208, "ClientOrderID": str(uuid.uuid4()), "Symbol": "NQU5.CME", "TradeAccount": "Sim2", "Quantity": 1, "OrderType": 2, "BuySell": 1, # 1 should be "BUY", but only 2 for "SELL" works "TimeInForce": 0, "IsAutomatedOrder": 1, UPDATE: if I send a LIMIT BUY order it executes as MARKET BUY! Could be a DTC bug? At least I have a workaround now. I send limits when I want markets for buy :) Until you fix it and my account blows haha. "IsParentOrder": 0 } Date Time Of Last Edit: 2025-07-28 22:35:44
|
![]() |