Order Book Data
The FSI accelerator contains an Order Book Pipeline which is used to generate Order Book data from Realtime Level 2 Data.
How the Order Book Pipeline Works:
-
The
*-orderbook-*
SP subscribes toOrderbookUpdates
table from the*fsi-data*
RT South.- OrderbookUpdates:
- The
OrderbookUpdates
schema contains all information Level 2 Quote that is required to build Order Book data including:- side = BID | ASK
- action = Add | Update | Delete
- The
- OrderbookUpdates:
-
Using the
OrderbookUpdates
data the Orderbook SP populates two tables:- OrderbookSnapshots:
- The
OrderbookSnapshots
schema is a table of orderbook data which represents the depth of an instrument using enlisted bids and asks bucketed by the configured snapshot size.
- The
- Depth:
- The
Depth
schema is a table of orderbook data which represents the depth of an order using values in an explicitdepth
column.
- The
- OrderbookSnapshots:
Both the OrderbookSnapshots
and Depth
tables are published back to the *fsi-data*
RT South to be stored by the FSI SM.