# Unity Fix Specification
## Introduction
This document describes FIX specifications for clients.
This specification is based on FIX 4.4 standard (http://fixprotocol.org/) and adapted to UNITY purposes.
### Important recommendation for developers
In some cases server initiated messages may be extended by optional fields that are not required for use by most
clients. These modifications may happen with short notice. It is strongly recommended to design your client application
being able to ignore unknown fields in server initiated messages.
## Session parameters
| Parameter | Value | Description |
|----------------------------------------|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| IP, Ports, SenderComplD, TargetComplD. | | Ask your UNITY contact. |
| Heartbeat interval | 30 sec | |
| Trading session start time. | 18:00 UTC Sunday | Trading sessions start every week |
| Trading session end time. | 06:00 UTC Saturday | |
| Sequence numbers reset parameters | | Sequence numbers will be reset each time after weekly maintenance. If sequence number reset is required at any other time, it can be done by logging in with ResetSeqNumFlag set to Y. However it is not recommended, since some messages may not be received. |
## Message Headers and Trailers
### Message header
| Tag name | Tag | Req | Description |
|-----------------|-----|-----|-------------------------------------------------------------------------------------------------------------------------|
| BeginString | 8 | Y | Should be “FIX.4.4” |
| BodyLength | 9 | Y | |
| MsgType | 35 | Y | |
| MsgSeqNum | 34 | Y | |
| SenderComplD | 49 | Y | |
| TargetComplD | 56 | Y | |
| SendingTime | 52 | Y | UTC time “YYYYMMDD-HH:MM:SS.mmm”. |
| MessageEncoding | 347 | N | Type of message encoding (non-ASCII (non-English) characters) used in a message's "Encoded" fields. Valid values: UTF-8 |
### Message trailer
| Tag name | Tag | Req | Description |
|----------|-----|-----|-------------|
| CheckSum | 10 | Y | |
## Administrative messages
This diagram represents a high level flow of the incoming and outgoing administrative messages.
```mermaid
sequenceDiagram
participant INITIATOR
participant ACCEPTOR
INITIATOR->>ACCEPTOR: LOGON #lt;A#gt;
ACCEPTOR->>INITIATOR: LOGON #lt;A#gt;
INITIATOR<<->>ACCEPTOR: HEARTBEAT #lt;0#gt;
Note right of ACCEPTOR: when no data flow
INITIATOR<<-->>ACCEPTOR: TEST REQUEST #lt;1#gt;
ACCEPTOR-->>INITIATOR: RESEND REQUEST #lt;2#gt;
INITIATOR-->>ACCEPTOR: SEQUENCE RESET #lt;4#gt;
INITIATOR<<-->>ACCEPTOR: REJECT #lt;3#gt;
INITIATOR<<->>ACCEPTOR: LOGOUT #lt;5#gt;
```
| Protocol supports standard FIX 4.4 messages. | |
|----------------------------------------------|--------|
| Logon request | 35=A |
| Heartbeat | 35 = 0 |
| Test request | 35 = 1 |
| Resend request | 35 = 2 |
| Session reject | 35 = 3 |
| Sequence reset | 35 = 4 |
| Logout | 35 = 5 |
### Logon request (35 = A)
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|----------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = A. |
| EncryptMethod | 98 | Y | Should be «0». |
| HeartBtlnt | 108 | Y | Should be «30». |
| Password | 554 | C | The tag is required if the password for fix client specified on the server side. Used only in client’s Logon. |
| ResetSeqNumFlag | 141 | N | If tag presents it should be «Y». If tag presents it should be «Y». Resets both the incoming and outgoing sequence numbers to 1. |
| StandardMessageTrailer | | Y | |
**Example:**
```
8=FIX.4.49=9335=A34=149=MARKET_2_152=20240408-09:09:25.72456=UNITY_DEV98=0108=30141=Y554=1234567810=146
```
### Resend request (35 = 2)
The resend request is sent by the receiving application to initiate the retransmission of messages. This function is
utilized if a sequence number gap is detected, if the receiving application lost a message, or as a function of the
initialization process.
The resend request can be used to request a single message, a range of messages or all messages subsequent to a
particular message.
* To request a single message: BeginSeqNo <7> = EndSeqNo <16>
* To request a range of messages: BeginSeqNo <7> = first message of range, EndSeqNo <16> = last message of range
* To request all messages subsequent to a particular message: BeginSeqNo <7> = first message of range, EndSeqNo <16> =
0 (represents infinity) .
Example:
```
8=FIX.4.49=7435=234=249=PRINCIPAL_2_152=20241125-09:00:47.15956=UNITY_DEV7=116=110=244
```
## Security
- [Instrument Component Block](#instrument-component-block)
- [Instrument Code Rule](#instrument-code-rule)
- [Instrument Symbol Errors](#instrument-symbol-errors)
- [Security Message Flow](#security-message-flow)
- [Security List Request \<X>](#security-list-request-x)
- [Security List \<Y>](#security-list-y)
### Instrument Component Block
The Instrument component block contains fields used to describe the security or instrument. Please study our rules for
forming the instrument code.
| Tag name | Tag | Req | Description |
|---------------------------|-----|-----|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Symbol | 55 | Y | Instrument code. [Symbol rules.](#instrument-code-rule) |
| SecurityIDSource | 22 | N | <ul><li>4 - ISIN_NUMBER</li></ul> |
| SecurityID | 48 | N | ISIN value |
| Product | 460 | N | <ul><li>4 – CURRENCY</li><li>5 – EQUITY</li><li>2 – COMMODITY</li><li>12 – OTHER</li></ul> |
| CFICode | 461 | N | <ul><li> ESXXXX = Equity Common Shares [CS]</li><li>EPXXXX = Equity Preferred Shares [PS]</li><li>EUXXXX = Equity Units (unit trusts/mutual funds/OPCVM/OICVM) [MF]</li><li>DXXXXX = Debt (Fixed Income) [various]</li><li>DCXXXX = Debt Convertible Bond [CB]</li><li>FXXXXX = Future [FUT]</li><li>MRCXXX = Misc, Referential Instrument, Currency [FOR]</li><li>MRIXXX = Misc, Referential Instrument, Index [n/a]</li><li>MRRXXX = Misc, Referential Instrument, Interest Rate [n/a]</li><li>OCXXXX = Option - Call [OPT]</li><li>OPXXXX = Option - Put [OPT]</li><li>RWXXXX = Right Warrant [WAR]</li><li>RWXCXX = Covered Warrant [n/a]</li><li>XXXXXX = [NONE and ?]</li></ul> |
| SecurityType | 167 | N | Set for equities only <ul><li> PS - privileged equity</li><li>CS - common equity</li></ul> |
| SecurityExchange | 207 | N | MIC code of market |
| MaturityMonthYear | 200 | N | YYYYMM |
| ContractMultiplier | 231 | N | |
| **GROUP NoSecurityAltID** | | | |
| NoSecurityAltID | 454 | N | Number of SecurityAltID <455> entries. |
| SecurityAltID | 455 | N | FIGI value |
| SecurityAltIDSource | 456 | N | A - BLOOMBERG_SYMBOL |
### Instrument Code Rule
Instrument code rule for instrument type
#### Tenor codes
| Tenor | Month |
|-------|-----------|
| F | January |
| G | February |
| H | March |
| J | April |
| K | May |
| M | June |
| N | July |
| Q | August |
| U | September |
| V | October |
| X | November |
| Z | December |
#### Rules and samples:
* `{...}` - required variable
* `[...]` - optional variable
| CATEGORY | RULE | SAMPLE | DESCRIPTION |
|---------------|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| FX | `FX.{TICKER}{_TENOR}` | <ul><li>`FX.EURUSD`</li><li>`FX.EURUSD_SPOT`</li></ul> | |
| CASH CURRENCY | `CASH.{TICKER}{_TENOR}` | <ul><li>`CASH.EURUSD_TOD`</li></ul> | |
| CASH CRYPTO | `CRYPTO.{TICKER}{_TENOR}.[MIC\|ACRONYM]` | <ul><li>`CRYPTO.BTCUSD_SPOT`</li><li>`CRYPTO.1INCHEUR_TOD.WNTRMT`</li></ul> | |
| EQ | `EQ.{TICKER}.{MIC}`<hr>`EQ.ISIN.{TICKER}.{ISIN}` | <ul><li>`EQ.AAPL.XNAS`</li></ul><hr><ul><li>`EQ.ISIN.APPL.US0378331005`</li></ul> | |
| BO | `BO.{ISIN}` | <ul><li>`BO.US369604BW26`</li></ul> | |
| FU | `FU.{TICKER}.{MIC}.{TENOR}{YEAR}` | <ul><li>`FU.BR.MISX.V2021`</li></ul> | [tenor codes](#tenor-codes) |
| OP | `OP.{TICKER}.{MIC\|ACRONYM}.[DAY_OF_MONTH]{TENOR}{YEAR}.{P\|C}{STRIKE PRICE}` | <ul><li>`OP.AAPL.XNAS.G2025.C100`</li></ul> | [tenor codes](#tenor-codes) <br/> <ul><li>`[DAY_OF_MONTH]` - not required</li></ul> |
| CFD CURRENCY | `CFD.FX.{TICKER}[_TENOR].[MIC\|ACRONYM]` | <ul><li>`CFD.FX.EURUSD`</li><li>`CFD.FX.EURUSD_TOD`</li><li>`CFD.FX.EURUSD_TOD.CTRD`</li></ul> | <ul><li>`[MIC\|ACRONYM]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD CRYPTO | `CFD.CRYPTO.{TICKER}[_TENOR].[MIC\|ACRONYM]` | <ul><li>`CFD.CRYPTO.BTCUSD`</li><li>`CFD.CRYPTO.BTCUSD_TOD`</li><li>`CFD.CRYPTO.BTCUSD_TOD.EFIOZ`</li></ul> | <ul><li>`[MIC\|ACRONYM]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD EQUITY | `CFD.EQ.{TICKER}[_TENOR].[MIC]` | <ul><li>`CFD.EQ.AAPL.XNAS`</li><li>`CFD.EQ.AAPL`</li></ul> | <ul><li>`[MIC]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD ETF | `CFD.ETF.{TICKER}[_TENOR].[MIC]` | <ul><li>`CFD.ETF.CORP.XLON`</li><li>`CFD.ETF.CORP`</li></ul> | <ul><li>`[MIC]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD GDR | `CFD.GDR.{TICKER}[_TENOR].[MIC]` | <ul><li>`CFD.GDR.OZON.MISX`</li><li>`CFD.GDR.OZON`</li></ul> | <ul><li>`[MIC]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD ADR | `CFD.ADR.{TICKER}[_TENOR].[MIC]` | <ul><li>`CFD.ADR.ALIBABA.MISX`</li><li>`CFD.ADR.ALIBABA`</li></ul> | <ul><li>`[MIC]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD NOTE | `CFD.NOTE.{TICKER}[_TENOR].[MIC]` | <ul><li>`CFD.NOTE.XS2434891219.XLUX`</li><li>`CFD.NOTE.XS2434891219`</li></ul> | <ul><li>`[MIC]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD INDEX | `CFD.INDEX.{TICKER}[_TENOR].[MIC\|ACRONYM]` | <ul><li>`CFD.INDEX.WS30`</li><li>`CFD.INDEX.SHCOMP.XSHG`</li></ul> | <ul><li>`[MIC\|ACRONYM]` - not required</li><li>`[_TENOR]` - not required</li></ul> <br/> If a tenor is not provided, we will take the first one |
| CFD COMMODITY | `CFD.COMMODITY.{TICKER}[_TENOR].[MIC\|ACRONYM]` | <ul><li>`CFD.COMMODITY.USOil`</li><li>`CFD.COMMODITY.UKOIL.CTRD`</li></ul> | `[MIC\|ACRONYM]` - not required |
### Instrument Symbol Errors
Details are in `Text<58>`.
| Reason | Meaning | Market<br/>`MDReqRejReason<281>` | Security list<br/>`SecurityRequestResult<560>` | Order<br/>`OrdRejReason<103>` |
|------------------|-----------------------------------------------------------|----------------------------------|------------------------------------------------|-------------------------------|
| Malformed symbol | Does not follow the [symbol rules](#instrument-code-rule) | `0` Unknown symbol | `1` Invalid or unsupported request | `1` Unknown symbol |
| Unknown symbol | No such instrument | `0` Unknown symbol | `2` No instruments found | `1` Unknown symbol |
| Not available | The instrument is not available for your account | `3` Insufficient permissions | `3` Not authorized to retrieve instrument data | `1` Unknown symbol |
> [!NOTE]
> Not available: retrying will not help, ask your account manager for access.
### Security Message Flow
The following diagram shows some possible messages when working with the `security list request <X>`.
```mermaid
sequenceDiagram
participant INITIATOR
participant ACCEPTOR
INITIATOR->>ACCEPTOR: SECURITY LIST REQUEST #lt;X#gt;
ACCEPTOR-->>INITIATOR: SECURITY LIST #lt;Y#gt;<br/>LastFragment = N
ACCEPTOR-->>INITIATOR: SECURITY LIST #lt;Y#gt;<br/>LastFragment = N
ACCEPTOR->>INITIATOR: SECURITY LIST #lt;Y#gt;<br/>LastFragment = Y
```
All [sessions](#session-type) support this flow.
### Security List Request \<X>
This message is used for security list request.
Request with `SecurityListRequestType<559> = 4` can be used once per hour for a session.
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|---------------------------------------------------------|
| Standard Message Header | | Y | MsgType = x. |
| SecurityReqID | 320 | Y | Client assigned unique security request identifier. |
| SecurityListRequestType | 559 | Y | <ul><li>0 - Symbol</li><li>4 - All Securities</li></ul> |
| Symbol | 55 | N | Symbol substring for search. Required if 559=0. |
| StandardMessageTrailer | | Y | |
**Example:**
```
8=FIX.4.49=7635=x34=249=MARKET_2_152=20250528-07:46:37.41456=UNITY_DEV320=sec559=410=013
```
### Security List \<Y>
This will return the full list of securities available to requester with all parameters necessary to trade them. The
answer can be fragmented if there are more than 1000 instruments. Each fragment will not be more than 1000 instruments
| Tag name | Tag | Req | Description |
|----------------------------|-----|-----|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = y. |
| SecurityReqID | 320 | Y | Client assigned unique security request identifier. |
| TotNoRelatedSym | 393 | N | Total number of securities. |
| SecurityRequestResult | 560 | Y | <ul><li>0 - Valid request</li><li>1 - Invalid or unsupported request</li><li>2 - No instruments found that match selection criteria </li><li>3 - Not authorized to retrieve instrument data</li><li>4 - Instrument data temporarily unavailable</li><li>5 - Request for instrument data not supported</li></ul> [Errors.](#instrument-symbol-errors) |
| LastFragment | 893 | N | used to show that the answer is fragmented. 1 fragment 1000 instruments.if the answer is not fragmented then there will be no tag. </br> <ul><li>N - NOT LAST MESSAGE</li><li>Y - LAST MESSAGE</li></ul> |
| NoRelatedSym | 146 | N | Specifies the number of repeating symbols specified. |
| Instrument component block | | Y | [specification](#instrument-component-block) |
| Currency | 15 | N | |
| StandardMessageTrailer | | Y | |
**Example:**
```
8=FIX.4.49=97335=y34=349=UNITY_DEV52=20250528-07:49:00.49356=MARKET_2_1320=sec322=sec560=0893=Y146=1255=CFD.EQ.AAPL_TOD.XNAS48=US037833100522=4454=1455=BBG000B9XRY4456=A460=12461=EXXXXX231=1207=XNAS15=USD55=EQ.AAPL.XNAS48=US037833100522=4454=1455=BBG000B9XRY4456=A460=5461=EXXXXX167=CS231=1207=XNAS15=USD55=FU.AFLT.MISX460=2461=FXXXXX231=1207=MISX15=RUB55=BO.KZX00000307448=KZX00000307422=4460=12461=DXXXXX231=10207=AIXK15=KZT55=EQ.ARKK.ARCX48=US00214Q104022=4454=1455=BBG007FJMV58456=A460=5461=EXXXXX167=CS231=1207=ARCX15=USD55=EQ.CIAN.MISX48=US83418T108822=4460=5461=EXXXXX167=CS231=1207=MISX15=RUB55=FU.ED.MISX460=2461=FXXXXX231=1000207=MISX15=USD55=CFD.FX.EURUSD_TOD.FINALTO460=12461=XXXXXX231=115=USD55=FX.EURUSD_SPOT460=4461=MRCXXX231=115=USD55=FX.EURUSD_TOD460=4461=MRCXXX231=115=USD55=CASH.EURUSD_SPOT460=12461=MRCXXX231=115=USD55=CFD.FX.EURUSD_TOD460=12461=MRCXXX231=10000015=USD10=173
```
## Session Type
unity supports the following types of sessions. the table contains messages specific to each session type.
| Session | Description | Messages |
|-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Market](#market-session) | this type of session is designed to provide information on market data | <ul><li>[Market data request \<V>](#market-data-request-v)</li><li>[Market data request reject \<Y>](#market-data-request-reject-y)</li><li>[Snapshot/Full Refresh \<W>](#market-data---snapshotfull-refresh-w)</li><li>[Incremental Refresh \<X>](#market-data---incremental-refresh-x)</li></ul> |
| [Order](#order-session) | allows trading using the FIX protocol | <ul><li>`New order single<D>`</li><li>`Order cancel request<F>`</li><li>`Order cancel reject<9>`</li><li>`Execution Report<8>`</li></ul> |
| [STP](#stp-session) | is designed to receive data on trades in real time by account. unlike an order session, it guarantees that UNITY has accounted for the trade in the system. | <ul><li>`Execution Report<8>`</li></ul> |
| [Principal STP](#principal-stp-session) | similar to STP sessions only within all broker's accounts | <ul><li>`Execution Report<8>`</li></ul> |
## Market Session
In order to receive prices the client should send a subscription. The client can subscribe to full snapshots. The server
can reject the subscription if the subscription message doesn't commute with the required standard. In order to stop the
price flow the client should send an unsubscription. Order book or band quote types are available to the client.
- [Market data request](#market-data-request-v)
- [Market data request reject](#market-data-request-reject-y)
- [Market Data - Snapshot/Full Refresh](#market-data---snapshotfull-refresh-w)
- [Market Data - Incremental Refresh](#market-data---incremental-refresh-x)
### Market data request \<V>
Maximum **1000** active subscriptions per session.
| Tag name | Tag | Req | Description |
|-------------------------|-------|-----|---------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = V. |
| MDReqID | 262 | Y | ID of subscription request. Must be unique among active subscriptions, otherwise request will be rejected. If you close old session, the id can be used again |
| SubscriptionRequestType | 263 | Y | <ul><li>1 - Subscribe</li><li>2 - Unsubscribe</li></ul> |
| MarketDepth | 264 | Y | <ul><li>0 = Full Book</li><li>1 = Top of Book</li><li>N>1 = Report best N price tiers of data</li></ul> |
| MDUpdateType | 265 | Y | <ul><li>0 - Full refresh</li><li>1 - Incremental Refresh</li></ul><hr> ℹ️ Incremental Refresh ignoring if `MarketDepth<264>` = **Top of Book(1)** |
| NoRelatedSym | 146 | Y | Should be “1” |
| Symbol | 55 | Y | [Symbol rules.](#instrument-code-rule) |
| NoMDEntryTypes | 267 | Y | Should be "1" for trades and "2" for quotes |
| => MDEntryType | 269 | Y | <ul><li>0 - Bid</li><li>1 - Ask</li><li>2 - Trade</li></ul> |
| MinUpdateInterval | 10000 | N | Minimal update interval, milliseconds<hr> ℹ️ The default value if the field is not passed is `1 second` |
| MaxUpdateInterval | 10001 | N | Maximal update interval, milliseconds. If quotes don’t change during it, the last snapshot is sent again (an empty `Incremental Refresh<X>` for incremental refresh)<hr> ⚠️ Not less than `10 seconds` and `MinUpdateInterval<10000>`: a smaller value is raised |
| StandardMessageTrailer | | Y | |
### Market data request reject \<Y>
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = Y. |
| MDReqID | 262 | Y | Id of rejected request |
| MDReqRejReason | 281 | N | <ul><li>0 - Unknown symbol. [Errors.](#instrument-symbol-errors)</li><li>1 - Duplicate MDReqID</li><li>2 - Insufficient bandwidth, subscription limit</li><li>3 - Insufficient permissions. [Errors.](#instrument-symbol-errors)</li><li>4 - Unsupported SubscriptionRequestType</li><li>6 - Unsupported MDUpdateType</li><li>8 - Unsupported MDEntryType</li></ul> |
| Text | 58 | N | Reject reason text |
| StandardMessageTrailer | | Y | |
### Market Data - Snapshot/Full Refresh \<W>
Client receives this message after subscription and on every quote change for full refresh subscription. If quotes don’t
change during `MaxUpdateInterval<10001>`, server will send current snapshot again.
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|--------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = W. |
| MDReqID | 262 | Y | Id of subscription request |
| Symbol | 55 | Y | [Symbol rules.](#instrument-code-rule) |
| NoMDEntries | 268 | Y | Count of MD entries in message |
| => MDEntryType | 269 | Y | <ul><li>0 - bid</li><li>1 - ask</li></ul> |
| => MDEntryPx | 270 | Y | Price of the order |
| => MDEntrySize | 271 | N | Max quote amount<hr>ℹ️ Empty if `MarketDepth<264>` = **Top of Book(1)** |
| => QuoteEntryID | 299 | Y | Uniquely identifies the quote as part of a MDEntries. `MDEntrySize<271>` for aggregated bars and `MDEntryPx<270>` for not aggregated bars. |
| StandardMessageTrailer | | Y | |
### Market Data - Incremental Refresh \<X>
The first message will be sent **Market Data - Snapshot/Full Refresh (W)**.
In cases where there are too many changes in the data, it will also be sent **Market Data - Snapshot/Full Refresh (W)**.
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|--------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = X. |
| MDReqID | 262 | Y | Id of subscription request |
| NoMDEntries | 268 | Y | Count of MD entries in message |
| => MDUpdateAction | 279 | Y | <ul><li>0 - NEW</li><li>1 - CHANGE</li><li>2 - DELETE</li></ul> |
| => MDEntryType | 269 | Y | <ul><li>0 - bid</li><li>1 - ask</li></ul> |
| => Symbol | 55 | Y | [Symbol rules.](#instrument-code-rule) |
| => MDEntryPx | 270 | Y | Price of the order |
| => MDEntrySize | 271 | Y | Max quote amount |
| => QuoteEntryID | 299 | Y | Uniquely identifies the quote as part of a MDEntries. `MDEntrySize<271>` for aggregated bars and `MDEntryPx<270>` for not aggregated bars. |
| StandardMessageTrailer | | Y | |
## Order session
> [!NOTE]
> All orders are executed on market price for band.
| Supported order types and durations | |
|:------------------------------------|:----------------------------------------------------------|
| Market | IOC/FOK |
| Market if touched GTC | Good Till Cancel/DAY/GTD |
| Limit | FOK/GTC/DAY/IOC/GTD |
| Stop | GTC/DAY/GTD |
| Stop Limit | GTC/DAY/GTD |
| Cancel order | This order can cancel existing order (except IOC and FOK) |
| Replace order | This order can cancel existing order (except IOC and FOK) |
> [!NOTE]
> All orders except FOK can be partially filled. For GTC/GTD/DAY orders you can take several trades.
### New order single \<D>
This message should be sent to place a new order.
```mermaid
sequenceDiagram
participant INITIATOR
participant ACCEPTOR
alt New order rejected
INITIATOR->>ACCEPTOR: New order single #lt;D#gt;
ACCEPTOR-->>INITIATOR: Execution report #lt;8#gt;<br/>ExecType = 8 REJECTED<br/>OrdStatus = 8 REJECTED
else New order filled
INITIATOR->>ACCEPTOR: New order single #lt;D#gt;
ACCEPTOR-->>INITIATOR: Execution report #lt;8#gt;<br/>ExecType = A PENDING_NEW
ACCEPTOR-->>INITIATOR: Execution report #lt;8#gt;<br/>ExecType = 0 NEW<br/>OrdStatus = 0 NEW
ACCEPTOR-->>INITIATOR: Execution report #lt;8#gt;<br/>ExecType = F TRADE<br/>OrdStatus = 2 FILLED
end
```
| Tag name | Tag | Req | Description |
|-------------------------|-------|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = D. |
| CIOrdID | 11 | Y | Unique client order id. |
| TransactTime | 60 | Y | UTC time of order placing `YYYYMMDD-HH:MM:SS.mmm` |
| Symbol | 55 | Y | [Symbol rules.](#instrument-code-rule) |
| Side | 54 | Y | Order side. |
| OrderQty | 38 | Y | Order amount. |
| Price | 44 | Y | Price of the order. |
| OrdType | 40 | Y | <ul><li>1 – Market</li><li>2 – Limit</li><li>3 – Stop </li><li>4 – Stop Limit</li><li>J – Market if Touched</li><ul> |
| TimeInForce | 59 | Y | <ul><li>0 - DAY</li><li>1 - GTC (Good Till Cancel)</li><li>3 - IOC (Immediately Or Cancel)</li><li>4 - FOK (Fill Or Kill)</li><li>6 - GTD (Good Till Date)</li></ul> |
| ExpireTime | 126 | C | Time/Date of order expiration expressed in UTC `YYYYMMDD-HH:MM:SS.mmm`. Required for 59=6 (Good Till Date). |
| Text | 58 | N | Comment |
| InvertedAmount | 10003 | N | |
| StandardMessageTrailer | | Y | |
#### Examples
```
8=FIX.4.49=13835=D34=249=ORDER_2_252=20250528-08:03:44.73856=UNITY_DEV11=138=140=144=1.132954=155=CFD.FX.EURUSD59=460=20250528-12:03:44.73710=202
```
### Order cancel request \<F>
```mermaid
sequenceDiagram
participant INITIATOR
participant ACCEPTOR
alt Order cancel reject
INITIATOR->>ACCEPTOR: Order cancel request #lt;F#gt;<br/>OrigClOrdID = original order id
ACCEPTOR-->>INITIATOR: Order cancel reject #lt;9#gt;<br/>OrdStatus = 8 REJECTED<br/>CxlRejResponseTo = 1 ORDER_CANCEL_REQUEST
else Order cancel accepted
INITIATOR->>ACCEPTOR: Order cancel request #lt;F#gt;<br/>OrigClOrdID = original order id
ACCEPTOR-->>INITIATOR: Execution report #lt;8#gt;<br/>ExecType = 4 CANCELED<br/>OrdStatus = 4 CANCELED
end
```
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|----------------------------------------|
| Standard Message Header | | Y | MsgType = F. |
| ClOrdID | 11 | Y | Unique client order id. |
| OrigClOrdID | 41 | Y | ID of order which you want to cancel. |
| TransactTime | 60 | Y | Transact time `YYYYMMDD-HH:MM:SS.mmm`. |
| StandardMessageTrailer | | Y | |
#### Examples
* Order cancel reject
```
8=FIX.4.49=14935=F34=349=ORDER_9_152=20260602-10:24:36.03856=UNITY_ORDER_TEST11=f0df88f6-d5c3-4f09-8a99-8e0abf3228c141=unknown54=160=20260602-10:24:36.03810=135
8=FIX.4.49=15735=934=649=UNITY_ORDER_TEST52=20260602-10:24:36.05456=ORDER_9_111=f0df88f6-d5c3-4f09-8a99-8e0abf3228c137=NONE39=841=unknown58=order not found434=110=010
```
### Order cancel replace request \<G>
```mermaid
sequenceDiagram
participant INITIATOR
participant ACCEPTOR
alt Order replace reject
INITIATOR->>ACCEPTOR: Order cancel replace request #lt;G#gt;<br/>OrigClOrdID = original order id
ACCEPTOR-->>INITIATOR: Order cancel reject #lt;9#gt;<br/>OrdStatus = 8 REJECTED<br/>CxlRejResponseTo = 2 ORDER_CANCEL_REPLACE_REQUEST
else Order replace accepted
INITIATOR->>ACCEPTOR: Order cancel replace request #lt;G#gt;<br/>OrigClOrdID = original order id
ACCEPTOR-->>INITIATOR: Execution report #lt;8#gt;<br/>ExecType = 5 REPLACED<br/>OrdStatus = 5 REPLACED
end
```
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|----------------------------------------|
| Standard Message Header | | Y | MsgType = G. |
| ClOrdID | 11 | Y | Unique client order id. |
| OrigClOrdID | 41 | Y | Id of order which you want to replace. |
| Price | 44 | Y | New price of the order. |
| OrderQty | 38 | Y | New amount of the order. |
| StopPx | 99 | N | StopPx of the order. |
| TransactTime | 60 | Y | Transact time `YYYYMMDD-HH:MM:SS.mmm`. |
| StandardMessageTrailer | | Y | |
#### Examples
* Order cancel reject
```
8=FIX.4.49=18235=G34=449=ORDER_9_152=20260602-10:24:36.06156=UNITY_ORDER_TEST11=7e2562f8-1c0f-4e47-a043-796e2bbc24fc38=140=141=unknown_replace44=154=155=symbol60=20260602-10:)24:36.06010=058
8=FIX.4.49=16535=934=749=UNITY_ORDER_TEST52=20260602-10:24:36.06556=ORDER_9_111=7e2562f8-1c0f-4e47-a043-796e2bbc24fc37=NONE39=841=unknown_replace58=order not found434=210=008
```
### Order cancel reject \<9>
| Tag name | Tag | Req | Description |
|-------------------------|-----|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = 9. |
| OrderID | 37 | Y | System id, can be `NONE` |
| CIOrdID | 11 | Y | Client id of rejected order. |
| OrigClOrdID | 41 | Y | Id of order which you ask to cancel. |
| OrdStatus | 39 | Y | <ul><li>0 – new</li><li>1 – partially filled</li><li>2 – filled</li><li>4 – canceled</li><li>8 – rejected</li></ul> <hr> We do not provide the actual order status in this response if OrderID<37> is `NONE`. Always: 8 - rejected |
| CxlRejResponseTo | 434 | Y | <ul><li>1 - Order cancel request</li><li>2 - Order cancel replace request</li></ul> |
| CxlRejReason | 102 | N | <ul><li>0 – Too late to cancel: the order is already filled, canceled, rejected or expired, or an Order cancel replace request was sent for a partially filled order</li><li>3 – Order already in pending cancel or pending replace status</li><li>99 – Other</li></ul> <hr> Not sent if OrderID<37> is `NONE` | |
| Text | 58 | N | Comment |
| StandardMessageTrailer | | Y | |
```
8=FIX.4.49=12135=934=349=UNITY_DEV52=20251028-09:31:14.33456=ORDER_2_111=order137=NONE39=841=258=order not found102=99434=110=188
```
**Note on `OrderID = NONE` / `OrdStatus = 8 rejected`.** Once an order reaches a final status —
FILLED, CANCELED, REJECTED, or EXPIRED — it stays visible to a cancel/replace request for a limited
time only. After that time, cancelling or replacing that order gets the same
reject as cancelling an order that never existed at all: `OrderID = NONE`, `OrdStatus = 8`. So this
reject does not always mean the order never existed in the system. It can also mean the order did
exist, finished a while ago, and is simply too old to be looked up any more.
### Execution report \<8>
| Tag name | Tag | Req | Description |
|-------------------------|-------|-----|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = 8. |
| AvgPx | 6 | Y | Average execution price. |
| CIOrdID | 11 | | Client id of order. |
| OrigClord ID | 41 | N | OrigCIOrdID from Order cancel request/Order cancel replace request. |
| CumQty | 14 | Y | Filled order amount in CCY from the Currency(15). Can contain fractional values. |
| ExeclD | 17 | Y | Unique id generated by system. |
| LastQty | 32 | C | Amount of last trade in CCY from the Currency(15). Can contain fractional values. Required for 150=F (Filled). |
| LastPx | 31 | C | Price of last executed trade. Required for 150=F (Filled). |
| OrderID | 37 | C | Unique order id generated by system. Required if order was accepted by platform. |
| OrderQty | 38 | Y | Amount of the order in CCY from the Currency(15). Can contain fractional values |
| CalculatedCcyLastQty | 1056 | C | Amount of the last trade in CCY opposite to the Currency(15). Calculated from LastQty, LastPx and Currency. Can contain fractional values. Required for 150=F (Filled). |
| OrdStatus | 39 | Y | <ul><li>0 – new</li><li>1 – partially filled</li><li>2 – filled</li><li>4 – canceled</li><li>5 – replaced</li><li>8 – rejected</li></ul> |
| OrdType | 40 | Y | <ul><li>1 – Market</li><li>2 – Limit</li><li>3 – Stop</li><li>4 – Stop Limit</li><li>J – Market if Touched</li></ul> |
| Price | 44 | C | Price of the order |
| Side | 54 | Y | <ul><li>1 – buy <ul><li>sell/buy for swap</li></ul> </li><li>2 – sell <ul><li>buy/sell for swap</li></ul></li></ul> |
| Symbol | 55 | Y | [Symbol rules.](#instrument-code-rule) |
| Currency | 15 | Y | Currency of Price. |
| Text | 58 | N | Comment |
| EncodedTextLen | 354 | N | Byte length of encoded (non-ASCII characters) EncodedText <355> field. |
| EncodedText | 355 | N | Encoded (non-ASCII characters) representation of the Text <58> field in the encoded format specified via the MessageEncoding <347> field. |
| TimelnForce | 59 | Y | <ul><li>0 - DAY</li><li>1 - GTC (Good Till Cancel)</li><li>3 - IOC (Immediately Or Cancel)</li><li>4 - FOK (Fill Or Kill)</li><li>6 - GTD (Good Till Date)</li></ul> |
| ExpireTime | 126 | C | Time/Date of order expiration expressed in UTC YYYYMMDD- HH:MM:SS.mmm. Required for 59=6 (Good Till Date). |
| TransactTime | 60 | C | Order execution UTC time YYYYMMDD-HH:MM:SS.mmm. Required for 150=F (Filled). |
| TradeID | 1003 | C | System trade id |
| TradeDate | 75 | C | Trade date YYYYMMDD |
| SettlDate | 64 | C | Value date YYYYMMDD of an instrument. Required for 150=F (Filled). |
| OrdRejReason | 103 | N | Reject reason. [Errors.](#instrument-symbol-errors) |
| ExecType | 150 | Y | <ul><li>A - PENDING_NEW</li><li>0 - NEW</li><li>F - TRADE</li><li>4 - CANCELED</li><li>5 - REPLACED</li><li>8 - REJECTED</li></ul> |
| LeavesQty | 151 | Y | Leaves order amount in CCY from the Currency(15). Can contain fractional values. A value of ‘0’ (zero) indicates that the order has been completed. |
| InvertedAmount | 10003 | Y | |
| StandardMessageTrailer | | Y | |
#### Examples
**TRADE**
```
8=FIX.4.49=31935=834=349=UNITY_DEV52=20250528-08:03:44.99056=ORDER_2_2347=UTF-86=1.132911=112=014=115=EUR17=1419=1331=1.132932=137=438=139=240=144=1.132954=155=CFD.FX.EURUSD_TOD59=460=20250528-08:03:44.98064=2025052875=20250528150=F151=0231=100000423=2460=12461=MRCXXX854=01003=41056=11329010003=N10=033
```
**REJECTED**
```
8=FIX.4.49=27835=834=349=UNITY_DEV52=20250528-08:08:31.92456=ORDER_2_2347=UTF-86=011=114=015=EUR17=2237=838=10039=840=144=1.132954=155=CFD.FX.EURUSD_TOD58=no margin available 114.45%(114434.24>1144.24)59=4103=3150=8151=0231=100000423=2460=12461=MRCXXX854=010003=N10=061
```
## STP Session
To get consistent OrderQty/CalculatedCcyLastQty values you should take them from the execution report instead of
calculating them yourself. The same is for the far leg values OrderQty2/CalculatedCcyLastQty2.
For trade cancel reports (ExecType = “H”) tag ExecRefID refers to ExecID of canceled trade and all fields except ExecID
corresponds to original trade (like Side, TradeDate etc.).
### Execution report \<8>
| Tag name | Tag | Req | Description |
|-------------------------|------|-----|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Standard Message Header | | Y | MsgType = 8. |
| OrderID | 37 | Y | System order id or trade id (format: `T[trade id]`; sample: `T123`) if order is empty |
| ClOrdID | 11 | N | ClOrdID of order request made by FIX Trading session. |
| OrigClOrdID | 41 | N |
| ExecID | 17 | Y | Execution report id. Unique for UNITY system. |
| ExecRefID | 19 | N | Reference id of another execution report id. |
| ExecType | 150 | Y | <ul> <li>F - TRADE</li> <li> G - TRADE CORRECT </li> <li>H - TRADE CANCEL </li> </ul> <hr> ⚠️ `TRADE CORRECT<G>` after `TRADE CANCEL<H>` means the trade was restored |
| OrdStatus | 39 | Y | <ul> <li>1 – PARTIALLY FILLED</li> <li> 2 – FILLED </li> </ul> |
| Symbol | 55 | Y | [Symbol rules.](#instrument-code-rule) |
| Currency | 15 | Y | Currency of Price |
| Side | 54 | Y | <ul><li>1 – buy <ul><li>sell/buy for swap</li></ul> </li><li>2 – sell <ul><li>buy/sell for swap</li></ul></li></ul> |
| OrderQty | 38 | Y | Trade amount.<br/> For swap trades - first leg amount. Can contain fractional values. |
| CalculatedCcyLastQty | 1056 | Y | Trade quote amount.<br/> For swap trades - first leg quote amount. |
| ContractMultiplier | 231 | Y | Contract multiplayer |
| Price | 44 | Y | Trade price.<br/> For swap - first leg price.<br /> <hr> - *for swaps can be recalculated taking into account the required accuracy. contact your administrator to configure this feature* |
| LeavesQty | 151 | Y | Always `0` |
| CumQty | 14 | Y | Always `0` |
| AvgPx | 6 | Y | Always `0` |
| LastPx | 31 | Y | Price of this fill. |
| LastQty | 32 | Y | Quantity of this fill. |
| Text | 58 | N | Comment |
| EncodedTextLen | 354 | N | Byte length of encoded (non-ASCII characters) EncodedText <355> field. |
| EncodedText | 355 | N | Encoded (non-ASCII characters) representation of the Text <58> field in the encoded format specified via the MessageEncoding <347> field. |
| TradeID | 1003 | Y | System trade id |
| TradeDate | 75 | Y | Trade date YYYYMMDD |
| SettDate | 64 | Y | Value date YYYYMMDD. For swap trades – first leg value date. |
| TransactTime | 60 | N | UTC-time of request creation by trader or trade system YYYYMMDD-HH:MM:SS.mmm. |
| Commission | 12 | N | Commission. |
| SecondaryTradeID | 1040 | N | Second leg trade id for swap. |
| SettDate2 | 193 | N | Second leg value date for swap trades YYYYMMDD. |
| OrderQty2 | 192 | N | Second leg amount in swap trade. |
| Price2 | 640 | N | Second leg price in swap trade.<br /> <hr> - *for swaps can be recalculated taking into account the required accuracy. contact your administrator to configure this feature* |
| LegCalculatedCcyLastQty | 1074 | N | second leg quote amount in swap trade. |
| QtyType | 854 | Y | <ul><li>0 - UNITS</li><li>1 - CONTRACTS; for futures and bonds</li></ul> |
| PriceType | 423 | Y | <ul><li>1 - PERCENTAGE</li><li>2 - PER UNIT</li></ul> |
| StandardMessageTrailer | | Y | |
## Principal-STP Session
similar to an STP session except for the following differences. see [STP Session](#stp-session) section
### Execution report \<8>
| Tag name | Tag | Req | Description |
|------------------|-----|-----|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Side | 54 | Y | <ul><li>1 – buy <ul><li>sell/buy for swap</li></ul> </li><li>2 – sell <ul><li>buy/sell for swap</li></ul></li></ul><br/><hr> *may be inverted. contact your administrator to set up accounts for inverted side* |
| SecondaryExecID | 527 | N | Assigned by the party which execution the trade. |
| SecondaryOrderID | 198 | N | Assigned by the party which execution the trade. |
| NoPartyIDs | 453 | Y | Number of PartyID repeating groups |
| PartyID | 448 | Y | Account ID or External Account ID (if sets)<br/><hr> *configurated in account info. Account ID by default.* |
| PartyIDSource | 447 | Y | <ul><li> D = PROPRIETARY CUSTOM CODE </li></ul> |
| PartyRole | 452 | N | <ul><li>1 - EXECUTING FIRM</li><li>2 - CLIENT ID</li><li>5 - INVESTOR ID</li><li>12 - EXECUTING TRADER</li></ul> <br/><hr> *configurated in account info. empty if not set.* |
## Principal-ORDER Session
similar to an ORDER session except for the following differences. see [STP Session](#order-session) section
in order for order routing to work correctly, you need to configure accounts in the administrator terminal
### New order single \<D>
This message should be sent to place a new order.
| Tag name | Tag | Req | Description |
|----------|-----|-----|----------------------|
| Account | 1 | Y | account or trader id |
## MESSAGE EXAMPLES
### COMMON MESSAGE
#### LOGON REQUEST
```
8=FIX.4.4 | 9=97 | 35=A | 34=1 | 49=CLIENT | 52=20210719-14:21:44.605 | 56=UNITY | 98=0 | 108=30 | 141=Y | 554=PASSWORD | 10=095 |
```
#### LOGON RESPONSE
```
8=FIX.4.4 | 9=84 | 35=A | 34=1 | 49=UNITY | 52=20210719-14:21:44.960 | 56=CLIENT | 98=0 | 108=30 | 141=Y | 10=239 |
```
#### SESSION STATUS
```
8=FIX.4.4 | 9=95 | 35=h | 34=2 | 49=UNITY | 52=20210719-14:21:44.961 | 56=CLIENT | 58=0.4 | 336=Market Data | 340=2 | 10=240 |
```
### MARKET SESSION
#### Market data request
```
8=FIX.4.4 | 9=132 | 35=V | 34=2 | 49=CLIENT | 52=20210719-14:21:44.876 | 56=UNITY | 262=1 | 263=1 | 264=0 | 265=0 | 146=1 | 55=FX.EURUSD_SPOT | 267=2 | 269=0 | 269=1 | 10=064 |
```
#### Market data snapshot
```
8=FIX.4.4 | 9=517 | 35=W | 34=3 | 49=UNITY | 52=20210719-14:21:45.098 | 56=CLIENT | 55=FX.EURUSD_SPOT | 262=1 | 268=14 | 269=0 | 270=1.18144 | 271=200000 | 269=0 | 270=1.18144 | 271=500000 | 269=0 | 270=1.18144 | 271=1000000 | 269=0 | 270=1.18143 | 271=3000000 | 269=0 | 270=1.18143 | 271=5000000 | 269=0 | 270=1.18142 | 271=10000000 | 269=0 | 270=1.18138 | 271=20000000 | 269=1 | 270=1.18148 | 271=200000 | 269=1 | 270=1.18148 | 271=500000 | 269=1 | 270=1.18148 | 271=1000000 | 269=1 | 270=1.18148 | 271=3000000 | 269=1 | 270=1.18149 | 271=5000000 | 269=1 | 270=1.18151 | 271=10000000 | 269=1 | 270=1.18153 | 271=20000000 | 10=131 |
```
### ORDER SESSION
#### New Order Single
##### (Market IOC Buy 1000 EURUSD_SPOT)
Не валидные чексума
```
8=FIX.4.4 | 9=149 | 35=D | 34=2 | 49=CLIENT | 52=20210719-15:54:43.628 | 56=UNITY | 11=100500 | 38=1000 | 40=1 | 44=1.18 | 54=1 | 55=FX.EURUSD_SPOT | 59=3 | 60=20210719-15:54:43.625 | 10=148 |
```
##### (Market FOK Buy 1000 USDRUB)
```
8=FIX.4.4 | 9=158 | 35=D | 34=268 | 49=ORDER_263_1 | 52=20211119-11:07:52.680 | 56=UNITY_07_UAT | 11=11479:1 | 15=USD | 38=1000 | 40=1 | 44=73.3989 | 54=1 | 55=FX.USDRUB | 59=4 | 60=20211119-11:07:52.671 | 10=006 |
```
##### (Market IOC Sell 1000 USDRUB)
```
8=FIX.4.4 | 9=156 | 35=D | 34=276 | 49=ORDER_263_1 | 52=20211119-11:11:50.487 | 56=UNITY_07_UAT | 11=11483:1 | 15=USD | 38=1000 | 40=1 | 44=73.47 | 54=2 | 55=FX.USDRUB | 59=3 | 60=20211119-11:11:50.475 | 10=133 |
```
##### (Market FOK Buy 1 AD.EURONEXT)
```
8=FIX.4.4 | 9=146 | 35=D | 34=61 | 49=ORDER_263_1 | 52=20211119-12:31:02.974 | 56=UNITY_07_UAT | 11=11487:1 | 38=1 | 40=1 | 44=30.58 | 54=1 | 55=EQ.AD.XAMS | 59=4 | 60=20211119-12:31:02.918 | 10=061 |
```
##### (Market IOC Buy 1 AAL.LSE)
```
8=FIX.4.4 | 9=149 | 35=D | 34=73 | 49=ORDER_263_1 | 52=20211119-12:36:35.661 | 56=UNITY_07_UAT | 11=11490:1 | 38=1 | 40=1 | 44=2815.02 | 54=1 | 55=EQ.AAL.XLON | 59=3 | 60=20211119-12:36:35.654 | 10=251 |
```
##### (Market IOC Buy 1 AVL.XETR)
```
8=FIX.4.4 | 9=148 | 35=D | 34=80 | 49=ORDER_263_1 | 52=20211119-12:39:44.383 | 56=UNITY_07_UAT | 11=11506:1 | 38=1 | 40=1 | 44=201.62 | 54=1 | 55=EQ.ALV.XETR | 59=3 | 60=20211119-12:39:44.378 | 10=224 |
```
#### Exec Report
##### (Market IOC Buy 1000 EURUSD NEW)
```
8=FIX.4.4 | 9=215 | 35=8 | 34=3 | 49=UNITY | 52=20210719-15:54:44.094 | 56=CLIENT | 6=0 | 11=100500 | 14=0 | 15=EUR | 17=102727 | 37=14949 | 38=1000 | 39=0 | 40=1 | 44=1.18 | 54=1 | 55=FX.EURUSD_SPOT | 59=3 | 150=0 | 151=1000 | 231=1 | 423=2 | 460=12 | 461=MRCXXX | 854=0 | 10=199 |
```
##### (Market IOC Sell 1000 USDRUB NEW)
```
8=FIX.4.4 | 9=213 | 35=8 | 34=278 | 49=UNITY_07_UAT | 52=20211119-11:11:50.577 | 56=ORDER_263_1 | 6=0 | 11=11483:1 | 14=0 | 15=USD | 17=47844 | 37=11484 | 38=1000 | 39=0 | 40=1 | 44=73.47 | 54=2 | 55=FX.USDRUB | 59=3 | 150=0 | 151=1000 | 231=1 | 423=2 | 460=4 | 461=MRCXXX | 854=0 | 10=218 |
```
##### (Market IOC Sell 1000 EURUSD FILLED)
```
8=FIX.4.4 | 9=310 | 35=8 | 34=4 | 49=UNITY | 52=20210719-15:54:44.184 | 56=CLIENT | 6=1.18041 | 11=100500 | 12=0 | 14=1000 | 15=EUR | 17=102729 | 31=1.18041 | 32=1000 | 37=14949 | 38=1000 | 39=2 | 40=1 | 44=1.18041 | 54=1 | 55=FX.EURUSD_SPOT | 59=3 | 60=20210719-15:54:43.985 | 64=20210721 | 75=20210719 | 150=F | 151=0 | 231=1 | 423=2 | 460=12 | 461=MRCXXX | 854=0 | 1056=1180.41 | 10=151 |
```
##### (Market IOC Sell 1000 USDRUB FILLED)
```
8=FIX.4.4 | 9=307 | 35=8 | 34=279 | 49=UNITY_07_UAT | 52=20211119-11:11:50.591 | 56=ORDER_263_1 | 6=73.4759 | 11=11483:1 | 12=0 | 14=1000 | 15=USD | 17=47846 | 31=73.4759 | 32=1000 | 37=11484 | 38=1000 | 39=2 | 40=1 | 44=73.4759 | 54=2 | 55=FX.USDRUB | 59=3 | 60=20211119-11:11:50.540 | 64=20211123 | 75=20211119 | 150=F | 151=0 | 231=1 | 423=2 | 460=4 | 461=MRCXXX | 854=0 | 1056=73475.9 | 10=156 |
```
##### (Market FOK Buy 1 AD.EURONEXT FILLED)
```
8=FIX.4.4 | 9=283 | 35=8 | 34=62 | 49=UNITY_07_UAT | 52=20211119-12:31:03.231 | 56=ORDER_263_1 | 6=30.58 | 11=11487:1 | 12=0 | 14=1 | 17=47877 | 31=30.58 | 32=1 | 37=11488 | 38=1 | 39=2 | 40=1 | 44=30.58 | 54=1 | 55=EQ.AD.XAMS | 59=4 | 60=20211119-12:31:03.049 | 64=20211123 | 75=20211119 | 150=F | 151=0 | 231=1 | 423=2 | 460=5 | 461=EXXXXX | 854=0 | 1056=30.58 | 10=133 |
```
##### (Market IOC Buy 1 AAL.LSE FILLED)
```
8=FIX.4.4 | 9=293 | 35=8 | 34=74 | 49=UNITY_07_UAT | 52=20211119-12:36:35.708 | 56=ORDER_263_1 | 6=2815.02 | 11=11490:1 | 12=0 | 14=1 | 17=47886 | 31=2815.02 | 32=1 | 37=11491 | 38=1 | 39=2 | 40=1 | 44=2815.02 | 54=1 | 55=EQ.AAL.XLON | 59=3 | 60=20211119-12:36:35.684 | 64=20211123 | 75=20211119 | 150=F | 151=0 | 231=0.01 | 423=2 | 460=5 | 461=EXXXXX | 854=0 | 1056=28.15 | 10=163 |
```
##### (Market IOC Buy 1 AVL.XETR FILLED)
```
8=FIX.4.4 | 9=288 | 35=8 | 34=81 | 49=UNITY_07_UAT | 52=20211119-12:39:44.432 | 56=ORDER_263_1 | 6=201.62 | 11=11506:1 | 12=0 | 14=1 | 17=47941 | 31=201.62 | 32=1 | 37=11507 | 38=1 | 39=2 | 40=1 | 44=201.62 | 54=1 | 55=EQ.ALV.XETR | 59=3 | 60=20211119-12:39:44.408 | 64=20211123 | 75=20211119 | 150=F | 151=0 | 231=1 | 423=2 | 460=5 | 461=EXXXXX | 854=0 | 1056=201.62 | 10=162 |
```