Market Data Request(V) can be used to request market data in snapshot or the
incremental form. Deribit uses his message for order book requests and its
change notification.
Arguments
When requesting a subscription (
SubscriptionRequestType=1), the only supported
combinations are:
MDUpdateType=1,MarketDepth=0. This will result aMarket Data - Snapshot(W) with the whole order book, followed by incremental updates (X messages) through the whole order book depth.MDUpdateType=0,MarketDepth=(1,10,20). This results inMarket Data - Full Refresh(W) messages, containing the entire specified order book depth. Valid values forMarketDepthare 1, 10, 20.
Response
If the server is unable to supply the requested data, it will respond with aMarket Data Request Reject(Y) message.
If the request called for a snapshot (SubscriptionRequestType(263)=0), the
server will respond with a Market Data - Snapshot/Full Refresh(W) message.
If the request called for a snapshot and subscription
(SubscriptionRequestType(263)=1), the server will start sending Market Data - Incremental Refresh(X) messages.