FIX Protocol Tag 30: LastMkt
Written and maintained by ZagTrader. Last reviewed . How this page is sourced and checked
Market where the last fill was executed, as an exchange or market identifier code.
- Tag number
- 30
- Data type
- EXCHANGE
- FIX versions
- FIX 4.0 to 5.0 SP2
- Used in
- 10 message types
Practical notes on LastMkt
LastMkt is the market where the last fill took place, usually the venue MIC (ISO 10383), for example XNYS or XDFM.
- It is sent on execution reports that carry a fill, next to LastPx (31) and LastQty (32).
- A broker that routes one order to several venues uses it to tell the client where each fill happened. Best execution and trade reports depend on it.
Common mistakes
- Sending an internal venue code instead of a MIC.
- Mixing the operating MIC and the segment MIC of the same venue across reports.
Changes between FIX versions
- The data type is CHAR in FIX 4.0 and 4.1 and EXCHANGE from FIX 4.2.
See also:How to read an Execution Report
Tag 30 in each FIX version
Values and message usage as defined in a specific version.
Data type
EXCHANGE: A market or exchange, usually given as an ISO 10383 market identifier code (MIC), such as XNYS.
Example
30=XNAS
Illustrative value. In a message, fields are separated by the SOH character (0x01), often shown as | or ^ in logs.
Decode a message with this tagMessage types that use tag 30
- Advertisement 35=7
- Execution Report 35=8
- Allocation Instruction 35=J
- Settlement Instructions 35=T
- Trade Capture Report 35=AE
- Confirmation 35=AK
- Trade Capture Report Ack 35=AR
- Allocation Report 35=AS
- Allocation Instruction Alert 35=BM
- Trade Match Report 35=DC
Covers every version from FIX 4.0 to 5.0 SP2, including fields reached through components and repeating groups. The version pages above show whether the tag is required in each message.
Codes used in this field
The values in this field come from a standard code list that Swift MT and ISO 20022 messages use as well. Look the codes up or check them on the free ZagTrader MT/MX Parser:
- Market identifier codes (MIC): ISO 10383 codes of the exchanges ZagTrader connects to, with a link to the full official list
Field and message data comes from the QuickFIX data dictionaries for FIX 4.0 to 5.0 SP2 and FIXT 1.1, used under the QuickFIX Software License. This product includes software developed by quickfixengine.org (http://www.quickfixengine.org/). Enumerated value names are converted to plain text for reading.