roq-sbe-publisher#
Purpose#
Publish market data as SBE message to UDP/multicast
Conda#
$ mamba install \
--channel https://roq-trading.com/conda/stable \
roq-sbe-publisher
$ roq-sbe-publisher
--name publisher \
--config_file test.toml \
--local_interface 192.168.188.64 \
--multicast_address_snapshot 224.1.1.1 \
--multicast_port_snapshot 1234 \
--multicast_address_incremental 224.1.1.1 \
--multicast_port_incremental 6789 \
--multicast_ttl 4 \
--multicast_loop=true \
--snapshot_publish_freq 5s \
~/run/deribit.sock
Flags#
$ roq-sbe-publisher --help
|
User name for the gateway |
|
Path to a TOML config file. |
|
The frequency snapshots are sent (one symbol is processed per period) |
|
The IPv4 address of a local interface supporting multicast |
|
An IPv4 multicast address for market data snapshots |
|
A multicast port for market data snapshots |
|
An IPv4 multicast address for market data incremental updates |
|
A multicast port for market data incremental updates |
|
Multicast time-to-live |
|
Set to true if host local services need to see the updates |
|
Maximum depth for MbP order books. |
Config#
The config file defines the subscriptions.
Symbols#
Defined per exchange
[symbols.deribit]
regex = [ "BTC-PERPETUAL", "ETH-PERPETUAL" ]
Currencies#
Defined for all exchanges
[symbols]
regex = [ "USD.*", "BTC.*" ]