Support Board
Date/Time: Wed, 05 Nov 2025 00:05:02 +0000
Post From: Example JSON Single Order Submit
| [2024-01-10 20:25:30] |
| User862761 - Posts: 19 |
|
I am trying to submit a simple single order into a simulated account with the DTCf protocol. I followed the directions on the simulated account and created a trade account under the name spencertest1. The following is my JSON message, but it isn't going through. I have succesfully got a logon response, and immediately after, I send the following: {'Type': 208, 'Symbol': 'ESH24', 'ClientOrderID': 'try1','OrderType': 1, 'BuySell': 1, 'Quantity': 3, 'TradeAccount': 'spencertest1', 'IsAutomatedOrder': 1, 'OpenOrClose': 1,} The only thing I think may be wrong is the ClientOrderId, which I am not sure what it is, I just named the trade. |
