84 lines
2.2 KiB
Plaintext
84 lines
2.2 KiB
Plaintext
JetFIX {
|
|
value {
|
|
connection {
|
|
name: "binance_1"
|
|
venue: VENUE_BINANCE
|
|
max_order_msgs_per_window: 300
|
|
window_duration_msecs: 1000
|
|
}
|
|
connection {
|
|
name: "binance_usds_futures_1"
|
|
venue: VENUE_BINANCE_USDS_FUTURES
|
|
max_order_msgs_per_window: 300
|
|
window_duration_msecs: 1000
|
|
}
|
|
connection {
|
|
name: "okx_1"
|
|
venue: VENUE_OKX
|
|
max_order_msgs_per_window: 300
|
|
window_duration_msecs: 1000
|
|
}
|
|
}
|
|
}
|
|
|
|
PublisherOptions {
|
|
value {
|
|
network_interface: "0.0.0.0"
|
|
heartbeat_ms: 5000
|
|
heartbeat_boot_seconds: 60
|
|
skip_options: true
|
|
hot_initial: 1024
|
|
hot_growth: 1024
|
|
cold_initial: 8192
|
|
cold_growth: 2048
|
|
channel_prefix: ""
|
|
disable_heartbeat: true
|
|
}
|
|
}
|
|
|
|
MarketDataConfig {
|
|
value {
|
|
binance {
|
|
num_depth_levels: 5
|
|
url_rest_base: "https://testnet.binance.vision"
|
|
url_ws_base: "wss://testnet.binance.vision"
|
|
security_criteria {
|
|
clauses {
|
|
security_types: SECURITY_TYPE_SPOT
|
|
symbols: @SymbolLists.list[Binance].symbol
|
|
name_regexps: "USDC|USDT$"
|
|
}
|
|
}
|
|
}
|
|
binance_usds_futures {
|
|
num_depth_levels: 5
|
|
url_rest_base: "https://testnet.binancefuture.com"
|
|
url_ws_base: "wss://stream.binancefuture.com"
|
|
security_criteria {
|
|
clauses {
|
|
security_types: SECURITY_TYPE_FUTURE
|
|
symbols: @SymbolLists.list[BinanceUsdsFutures].symbol
|
|
}
|
|
}
|
|
}
|
|
okx {
|
|
num_depth_levels: 5
|
|
url_rest_base: "https://www.okx.com"
|
|
url_ws_base: "wss://ws.okx.com:8443"
|
|
security_criteria {
|
|
clauses {
|
|
security_types: SECURITY_TYPE_SPOT
|
|
security_types: SECURITY_TYPE_FUTURE
|
|
symbols: @SymbolLists.list[Okx].symbol
|
|
}
|
|
}
|
|
is_application_ping_pong_enabled: true
|
|
application_ping_interval_ms: 20000
|
|
application_pong_timeout_ms: 10000
|
|
is_protocol_ping_pong_enabled: true
|
|
protocol_ping_interval_ms: 60000
|
|
protocol_pong_timeout_ms: 30000
|
|
}
|
|
}
|
|
}
|