For the complete documentation index, see llms.txt. This page is also available as Markdown.

Feed 'F' - Firm Market Data

Returns Tradable Order book or may return incremental updates of both Tradable Market Data or View-Only Market Data. Returns only the first 25 levels of the book

Requests

For takers:

{"event": "bind", "feed": "F", "feedId": "BTC-EUR"}

Useinstrument name as "feedId" value to subscribe on instrument book

For masters, the clientId parameter is used to subscribe on behalf of a sub-taker:

{"event": "bind", "feed": "F", "feedId": {"instrument": "BTC-EUR", "clientId": 5}}

Use instrument and clientId as "feedId" value to subscribe on client's instrument book

For takers:

{"event": "unbind", "feed": "F", "feedId": "BTC-EUR"}

For masters:

{"event": "unbind", "feed": "F", "feedId": {"instrument": "BTC-EUR", "clientId": 5}}

Feed handling

bookLevel = [
  0: price (Efx::Price)
  1: size (Efx::Size)
]

For a detailed book description

book
// snapshot
['F', feed_id, 'S', [
  array of bid bookLevel,
  array of ask boolLevel
]]

// book levels modified
['F', feed_id, 'M', [
  array of bid bookUpdate,
  array of ask bookUpdate,
]]

// book levels added
['F', feed_id, 'M', [[['+', 300000000000, 10000000]], []]]

// book level size modified
['F', feed_id, 'M', [[['M', 300000000000, 10000000]], []]]

// book levels removed
['F', feed_id, 'M', [[['-', 300000000000, 10000000]], []]]

// till specified price, price and size of a new top level are returned
// (both zeros if book side became empty)
['F', feed_id, 'M', [[['~', 300000000000, 10000000]], []]]

// failed to subscribe
['F', feed_id, 'Z', 2]

// unsubscribed
['F', feed_id, 'U', 0]

Last updated