Tag number, field name, MsgType, message or component name, or a value such as 39=1 or OrdStatus=2. Search runs in your browser.
LeavesQty <151>
- Tag
151- Type
- Qty (base float)
- FIXML name
LeavesQty- Pedigree
- Added FIX 4.1
- Versions
- FIX Latest ✓ · FIX 4.4 ✓ · FIX 4.2 ✓
LeavesQty <151> in plain English
Summary by The MidPoint News, based on the description in the Orchestra file (quoted in full below).
LeavesQty is the quantity still open for execution. While the order is active it equals OrderQty (38) minus CumQty (14); once the order is cancelled, done for the day, expired, calculated or rejected it can be 0.
Where it is used
ExecutionReport (35=8), TradeReportOrderDetail (component), OrdListStatGrp (repeating group), OrderEntryAckGrp (repeating group) .
In all, 6 messages in FIX Latest can carry it. Full list.
Example message
8=FIXT.1.1|9=210|35=8|49=BUYSIDE|56=SELLSIDE|34=215|52=20261116-08:30:00.000|37=OID-5001|11=ORD-1001|17=EXEC-7001|150=F|39=1|55=AAPL|54=1|38=1000|40=2|44=190.50|32=400|31=190.48|151=600|14=400|6=190.48|60=20261116-08:30:00.000|10=123 Illustrative example, not real orders or market data. An ExecutionReport (35=8) in FIX Latest, shown with BeginString FIXT.1.1. Instrument identifiers (such as AAPL, ISIN US0378331005, ESZ6, XNAS, XCME) are real public codes used for illustration. Order and execution IDs, accounts, prices, quantities and times are made up. Fields are separated by | here; on the wire the separator is the SOH character (ASCII 1). BodyLength (9) and CheckSum (10) are calculated for this example. Every tag and value in it is checked against the FIX Latest dictionary, but it is not a complete specification of the message.
Related tags: OrdStatus <39> · OrderQty <38> · CumQty <14>
Description (from the Orchestra file)
Quantity open for further execution. If the OrdStatus (39) is Canceled, DoneForTheDay, Expired, Calculated, or Rejected (in which case the order is no longer active) then LeavesQty could be 0, otherwise LeavesQty = OrderQty (38) - CumQty (14). (Prior to FIX 4.2 this field was of type int)
Used in
Messages (1)
| Message | MsgType | Presence |
|---|---|---|
| ExecutionReport | 8 | Required |
Components and repeating groups (3)
| Name | Kind | Presence |
|---|---|---|
| TradeReportOrderDetail | Component | Optional |
| OrdListStatGrp | Repeating group | Required |
| OrderEntryAckGrp | Repeating group | Optional |