Ingest ICE Order Book Data
This page explains how to set up the ICE Feed Handler for ICE ingestion.
ICE Feed Handler setup
To set up the ICE Feed Handler, download and configure using the steps in the ICE Order Book Accelerator Quickstart Guide.
A values file has been pre-configured to get your configuration started: fsi/fsi-app-ice-orderbook/config/feed/ice-feed-values.yaml.
Update your ice-feed-values.yaml as per the ICE Consolidated Feed documentation.
Note
Most configuration options in ice-feed-values.yaml should not be changed. The configuration options that are likely to change according to each implementation have been highlighted with a 'TODO' comment in the ice-feed-values.yaml file. Visit configuration to explore more configuration options.
Save your ice-feed-values.yaml file and apply the values to your ICE FH by running:
Shell
helm upgrade rt-ice-pub kx-insights/rt-ice-pub --version="1.8.0-rc.1" -n YOUR_NAMESPACE -f fsi/fsi-app-ice-orderbook/config/feed/ice-feed-values.yaml
This updates the stateful set for the ICE FH, named rt-ice-pub.
Once the rt-ice-pub is correctly downloaded and configured, it publishes data through the rt-fsi-app-ice-orderbook-icerealtime-north.
ICE pipelines
The FSI Accelerator includes an IceRealtime overlay which contains a suite of pipelines for ingesting real-time level 1 and level 2 data from ICE.
Real-time data
The FSI accelerator package has a number of pipelines used to ingest data from ICE:
icerealtimel1:
-
This pipeline is used to ingest real-time level 1 Trade and Quote data from the ICE feed.
icerealtimel2:
-
This pipeline is used to ingest real-time level 2 quote data from the ICE feed.
-
Note the downstream
orderbookpipeline can be used to transform incoming L2Quote data into OrderbookSnapshots and Depth.
Schemas
A number of schemas come with the Accelerator. The Accelerator's schemas can be customized and extended per the instructions in packaging overlays.
Market data
-
Tradestores trade data from the ICE Feed Handler. -
Quotestores level 1 quote data ICE Feed Handler. -
L2Quotestores level 2 quote data ICE Feed Handler.
Calculated data
-
OrderbookUpdatesnormalized L2Quote data by orderID to track the lifecycle of an orderID: when it was added, updated and deleted (be that by the order being filled or cancelled). Also used as the input data for the Orderbook construction pipeline. -
OrderbookSnapshotsoutput of the Orderbook construction pipeline. Stores market-by-price orderbook data. Each row of the OrderbookSnapshots table holds the full orderbook for a given time and instrument as all bid and ask values are stored in sorted, enlisted values. -
Depthoutput of the Orderbook construction pipeline. Stores market-by-price orderbook data. All bid and ask values are simple atomic values. Here the depth of each price is signified by an explicit depth column value. -
fsi_bar_Quote_dayStatsstores quote aggregations bucketed by day if the pre-aggregated bars pipeline is enabled. -
fsi_bar_Quote_minStatsstores quote aggregations bucketed by minute if the pre-aggregated bars pipeline is enabled. -
fsi_bar_Trade_dayStatsstores trade aggregations bucketed by day if the pre-aggregated bars pipeline is enabled. -
fsi_bar_Trade_minStatsstores trade aggregations bucketed by minutes if the pre-aggregated bars pipeline is enabled.
Reference data
-
Exchangestores exchange reference data. -
ExchangeHolidayCalstores holiday calendar data for exchanges. -
Instrumentstores instrument reference data. -
RelativeContractstores relative contract data for custom futures symbology.