Market Data Request
The MarketDataRequest message is used by the client system to request a market data stream for the order book and/or trades.
In response, the FIX Server will begin sending out a MarketDataSnapshot if it is a valid request. Otherwise, the FIX Server will send out a MarketDataRequestReject with the Text tag containing the reason for the rejection.
Each subscription request needs to have a unique identifier set via tag MDReqID, which will be used to refer back to the client. It is also used to unsubscribe from market data.
Market data updates are sent to clients using a MarketDataSnapshotFullRefresh message and then MarketDataIncrementalRefresh message. A full empty market data snapshot may be sent in case no more prices are received. These prices will stream continuously until the client requests to unsubscribe using a MarketDataRequest with the SubscriptionRequestType set to Unsubscribe (263=2).
In case of a disconnection, the subscription will be cancelled. The Client will need to subscribe again after the reconnection.
- FIX Specification
- Example
MESSAGE BODY
V
- Possible values:
1
: Snapshot + Updates2
: Disable previous snapshot + Update request
- Possible values:
0
: Full depth of book (limited to 1000 for Level 2)1
: Top of Book10
,25
,100
,500
and1000
- Possible values:
1
=Incremental Refresh.
- Possible values:
0
: Bid1
: Offer2
: Trade
8=FIX.4.4|9=123|35=V|34=3|49=MYCOMPID|52=20230707-13:42:21.000|56=KRAKEN-MD|146=1|55=BTC/USD|262=1|263=1|264=0|265=1|267=3|269=0|269=1|269=2|10=019|