Limit Orders

A limit order is an order to buy or sell a stock at a specific price or better.

Request and Acknowledgement

8=FIX.4.2
9=152
35=D
34=7332
49=TEST1
52=20160208-14:41:33.643
56=DWFIX01
1=DPQP000013
11=982A298766020822123456797
21=1
38=170
40=1
44=0.01
54=1
55=AMZN
60=20160208-14:41:33.643
10=243
8=FIX.4.2
9=233
35=8
34=10738
49=DWFIX01
52=20160208-14:41:34.126
56=TEST1
1=DPQP000013
6=0
11=982A298766020822123456797
14=0
17=91454714030646
20=0
21=1
31=0
32=0
37=DBCY000007
38=170
39=0
40=2
44=0.01
54=1
55=AMZN
59=0
60=20160208-14:41:34.039
99=0.01
150=0
151=170
10=152

📘

What is a Limit Order?

A limit order is an order to buy or sell a stock at specific price or better.

Limit Order Notes

🚧

ClOrdID's requirement

ClOrdID's (FIX tag 11) are persisted until Friday system reset 5-6pm ET. The sending system cannot send the same ClOrdID during this week period. DriveWealth recommends the ClOrdID have a concept of uniqueness encompasing date or other non-repeating pattern.

When can a Limit Order be placed?
Limit orders can be entered 23.75 hours a day (not accepted between 16:00-16:15 PM EST), but the Time In Force is still “Day” (FIX tag 59).

A limit order entered after 16:15 PM EST will be executed the next trading day as a day limit. All unfilled limit orders in existence at 4PM will be cleared (FIX tag 150).

Limit Order FIX Message

TagTag DescriptionExample ValueValue DescriptionRequired
8BeginStringFIX.4.1FIX VersionYes
9BodyLength145Length of messageYes
35MsgTypeDMessage typeYes
11ClOrdIDUnique identifier for the order allocated by the client.Yes
12Commission10Commission override
1Account02e57c7d-d071-4c63-b491-1194a9939ea5.1452548617456The identity of settlement account. Used to identify DriveWealth client account.Yes
21HandlInst11 = Automated execution order, private, no broker interventionYes
38OrderQty0.1234Order quantity. Must be greater than 0.0000Yes
55SymbolAAPLTicker symbolYes
54Side11 - Buy
2 - Sell
Yes
60TransactTimeTime this order request was initiated/released by the trader or trading system.Yes
40OrdType22 - Limit orderYes
44Price100.25Price in which to be executed at for limit orders only.No
59TimeInForce0Should be set to 0 for limit orders.No
432ExpiryDate"2022-05-01"The date the order expires"
All fields < 18000All fields <18000 would be echoed back, but fields 7000 - 7003 will be persisted in the database for lookup