Stop Orders
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
99=200.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=200.01
54=1
55=AMZN
59=0
60=20160208-14:41:34.039
99=200.01
150=0
151=170
10=152
What is a Stop Order?
A stop order, also referred to as a stop-loss order, is an order to buy or sell a stock once the price of the stock reaches a specified price, known as the stop price. When the stop price is reached, a stop order becomes a market order.
Stop Order Notes
All stop orders must be set the TimeInForce
to "Good-til-Cancelled" (FIX tag 59=1
). Stop orders will be released to the market once the specified price (FIX tag 99
) condition has been meet during normal trading hours.
Stop Order Availability
Stop orders can be entered 24 hours a day and canceled 24 hours a day.
ClOrdID's requirement
ClOrdID
's (FIX tag11
) are persisted until Friday system reset 5-6pm ET. The sending system cannot send the sameClOrdID
during this week period. DriveWealth recommends theClOrdID
have a concept of uniqueness encompasing date or other non-repeating pattern.
Stop Order FIX Message
Tag | Tag Description | Example Value | Value Description | Required |
---|---|---|---|---|
8 | BeginString | FIX.4.1 | FIX Version | Yes |
9 | BodyLength | 145 | Length of message | Yes |
35 | MsgType | D | Message type | Yes |
11 | ClOrdID | Unique identifier for the order allocated by the client. | Yes | |
12 | Commission | 10 | Commission override | "No" |
1 | Account | 02e57c7d-d071-4c63-b491-1194a9939ea5.1452548617456 | The identity of settlement account. Used to identify DriveWealth client account. | Yes |
21 | HandlInst | 1 | 1 = Automated execution order, private, no broker intervention | Yes |
38 | OrderQty | 0.1234 | Order quantity. Must be greater than 0.0000 | Yes |
55 | Symbol | AAPL | Ticker symbol | Yes |
54 | Side | 1 | 1 - Buy2 - Sell | Yes |
60 | TransactTime | Time this order request was initiated/released by the trader or trading system. | Yes | |
40 | OrdType | 3 | 3 - Stop order | Yes |
59 | TimeInForce | 1 | Must be set to 1 or will be rejected. | No |
99 | stopPX | 75.50 | Price in which to be executed at for stop orders only | "No" |
432 | ExpiryDate | "2022-05-01" | The date the order expires | "No" |
9008 | TraderIdentifier | 02e57c7d-d071-4c63-b491-1194a9939ea5 | DriveWealth userID | "No" |
All tags < 18000 | All fields <18000 would be echoed back but fields 7000 - 7003 will be persisted in the database for lookup |
Updated less than a minute ago