diff --git a/src/app_sparkd/configurations/ophir_cert_live_wb/.env b/src/app_sparkd/configurations/ophir_cert_live_wb/.env new file mode 100644 index 000000000..0194e5894 --- /dev/null +++ b/src/app_sparkd/configurations/ophir_cert_live_wb/.env @@ -0,0 +1,5 @@ +SPARKD__CONFIG_DIR=src/app_sparkd/configurations/ophir_cert_live_wb +SPARKD__DATA_DIR=/home/wedbushprod/9000/sparkdata/data +SPARKD__IMAGE=sparkd-multicast +SPARKD__PYTHON_REQUIREMENTS=src/app_sparkd/configurations/ophir_cert_live_wb/requirements.txt +SPARKD__RUNTIME_CONF_DIR=/home/wedbushprod/9000/sparkdata/conf diff --git a/src/app_sparkd/configurations/ophir_cert_live_wb/requirements.txt b/src/app_sparkd/configurations/ophir_cert_live_wb/requirements.txt new file mode 100644 index 000000000..1e68d0197 --- /dev/null +++ b/src/app_sparkd/configurations/ophir_cert_live_wb/requirements.txt @@ -0,0 +1,5 @@ +numpy==2.2.6 +pybit==5.11.0 +requests==2.31.0 +websocket-client==1.8.0 +websockets==15.0.1 diff --git a/src/app_sparkd/configurations/ophir_cert_live_wb/spark.conf b/src/app_sparkd/configurations/ophir_cert_live_wb/spark.conf new file mode 100644 index 000000000..359073dcf --- /dev/null +++ b/src/app_sparkd/configurations/ophir_cert_live_wb/spark.conf @@ -0,0 +1,131 @@ +DeploymentType { + value { + type: "dev" + } +} +PublisherOptions { + value { + network_interface_a: 'ens65f1' + network_interface_b: 'ens65f0' + #these get overriden if not entered here + heartbeat_ms: 5000 + heartbeat_boot_seconds: 60 + skip_options: false + hot_initial: 1024 + hot_growth: 1024 + cold_initial: 8192 + cold_growth: 2048 + channel_prefix: "" + disable_heartbeat: false + } +} + +CMEOptions { + value { + feed_engine { + name: "mdp3feed" + spin_time: 0 + channels_per_thread: 3 + data_wait: 10 + udp_socket_buffer_size: 268435456 + } + channel { + id: "*" + feed_engine: "mdp3feed" + use_tcp_replay: false + recovery_queue_size: 640000 + lost_packet_wait_timeout_ms: 10 + onixs_log_mode: CME_ONIXS_LOG_MODE_UNSPECIFIED + #max_gap_recovery_cache_size: 4 + use_natural_refresh: false + join_snapshot_on_gap: false + } + } +} + +Logging { + value { + initial_queue_size: 120001 + max_queue_growth: 4 + console { + default_level: "Info" + subsystem { + name: "md" + level: "Info" + } + subsystem { + name: "OrderMan" + level: "Info" + } + } + } +} + +MarketDataConfig { + value { + glbx { + unique_check_value: 15 + use_databento: false + } + # recording { + # venue: VENUE_GLBX + # num_of_seconds_to_run_file_writer: 300 + # num_of_seconds_to_run_db_writer : 0 + # n_book_levels: 10 + # batch_size: 100 #for the db writer + # enable_book_recording: true + # enable_trade_recording: true + # enable_bbo_recording: false + # enable_tbbo_recording: false + # enable_misc_recording: true + #} + } +} + +JetFIX { + value { + connection { + name: "maw_004_64" + venue: VENUE_GLBX + socket_connect_host_ip: "69.50.112.177" + socket_connect_port: 44040 + sender_compid: "MAW004" + target_compid: "CME" + target_subid: "64" + cme_market_segment_id: 64 + start_time: "00:10:00" + end_time: "23:55:00" + start_day: "sunday" + end_day: "friday" + seconds_between_hbs: 15 + sender_subid: "BTS" + seconds_to_pause: 2 + max_connection_attempts: 100 + use_ilink3: true + } + } +} +OrdermanCfg { + value { + executor { + thread_name: "oman_orders" + poll: true + hosted_actor: "MDSource" + hosted_actor: "OrderManager" + hosted_actor: "ExecutionGateway" + } + executor { + thread_name: "oman_slow" + poll: false + hosted_actor: "*" + } + fallback_cust_order_handling_inst: "Y" + } +} +NotSimExecution { + value { + entries { + venue: VENUE_GLBX + } + } +} diff --git a/src/app_sparkd/configurations/ophir_cert_live_wb/symbols.conf b/src/app_sparkd/configurations/ophir_cert_live_wb/symbols.conf new file mode 100644 index 000000000..aba6152fa --- /dev/null +++ b/src/app_sparkd/configurations/ophir_cert_live_wb/symbols.conf @@ -0,0 +1,61 @@ +SymbolLists { + value { + list { + key: "GlbxFutures" + symbol: "ES" + } + list { + key: "GlbxOptions" + symbol: "E1A" + symbol: "E1B" + symbol: "E1C" + symbol: "E1D" + symbol: "E2A" + symbol: "E2B" + symbol: "E2C" + symbol: "E2D" + symbol: "E3A" + symbol: "E3B" + symbol: "E3C" + symbol: "E3D" + symbol: "E4A" + symbol: "E4B" + symbol: "E4C" + symbol: "E4D" + symbol: "E5A" + symbol: "E5B" + symbol: "E5C" + symbol: "E5D" + symbol: "EW1" + symbol: "EW2" + symbol: "EW3" + symbol: "EW4" + symbol: "ESH9" + symbol: "ESZ6" + symbol: "ESH0" + symbol: "ESM6" + symbol: "ESZ7" + symbol: "ESH6" + symbol: "ESM7" + symbol: "ESZ8" + symbol: "ESH7" + symbol: "ESH8" + symbol: "ESU6" + symbol: "ESZ5" + symbol: "ESZ9" + symbol: "E1D" + symbol: "ESZ5" + symbol: "ES" + } + } +} + +Symbols { + value { + venues { + name: "VENUE_GLBX" + future: @SymbolLists.list[GlbxFutures].symbol + option: @SymbolLists.list[GlbxOptions].symbol + } + } +} \ No newline at end of file diff --git a/src/app_sparkd/configurations/ophir_prod_live_wb/.env b/src/app_sparkd/configurations/ophir_prod_live_wb/.env new file mode 100644 index 000000000..9a1ad5491 --- /dev/null +++ b/src/app_sparkd/configurations/ophir_prod_live_wb/.env @@ -0,0 +1,5 @@ +SPARKD__CONFIG_DIR=src/app_sparkd/configurations/ophir_prod_live_wb +SPARKD__DATA_DIR=/home/wedbushprod/8000/sparkdata/data +SPARKD__IMAGE=sparkd-multicast +SPARKD__PYTHON_REQUIREMENTS=src/app_sparkd/configurations/ophir_prod_live_wb/requirements.txt +SPARKD__RUNTIME_CONF_DIR=/home/wedbushprod/8000/sparkdata/conf diff --git a/src/app_sparkd/configurations/ophir_prod_live_wb/requirements.txt b/src/app_sparkd/configurations/ophir_prod_live_wb/requirements.txt new file mode 100644 index 000000000..1e68d0197 --- /dev/null +++ b/src/app_sparkd/configurations/ophir_prod_live_wb/requirements.txt @@ -0,0 +1,5 @@ +numpy==2.2.6 +pybit==5.11.0 +requests==2.31.0 +websocket-client==1.8.0 +websockets==15.0.1 diff --git a/src/app_sparkd/configurations/ophir_prod_live_wb/spark.conf b/src/app_sparkd/configurations/ophir_prod_live_wb/spark.conf new file mode 100644 index 000000000..6ab6c7c37 --- /dev/null +++ b/src/app_sparkd/configurations/ophir_prod_live_wb/spark.conf @@ -0,0 +1,152 @@ +DeploymentType { + value { + type: "prod" + } +} +PublisherOptions { + value { + network_interface_a: 'enp193s0f0np0' + network_interface_b: 'enp193s0f1np1' + #these get overriden if not entered here + heartbeat_ms: 5000 + heartbeat_boot_seconds: 60 + skip_options: false + hot_initial: 1024 + hot_growth: 1024 + cold_initial: 8192 + cold_growth: 2048 + channel_prefix: "" + disable_heartbeat: false + } +} + +CMEOptions { + value { + feed_engine { + name: "mdp3feed" + spin_time: 0 + channels_per_thread: 3 + data_wait: 10 + udp_socket_buffer_size: 268435456 + } + channel { + id: "*" + feed_engine: "mdp3feed" + use_tcp_replay: false + recovery_queue_size: 640000 + lost_packet_wait_timeout_ms: 10 + onixs_log_mode: CME_ONIXS_LOG_MODE_UNSPECIFIED + #max_gap_recovery_cache_size: 4 + use_natural_refresh: false + join_snapshot_on_gap: false + } + } +} + +Logging { + value { + initial_queue_size: 120001 + max_queue_growth: 4 + console { + default_level: "Info" + subsystem { + name: "md" + level: "Info" + } + subsystem { + name: "OrderMan" + level: "Info" + } + } + } +} + +MarketDataConfig { + value { + glbx { + unique_check_value: 15 + use_databento: false + } + # recording { + # venue: VENUE_GLBX + # num_of_seconds_to_run_file_writer: 300 + # num_of_seconds_to_run_db_writer : 0 + # n_book_levels: 10 + # batch_size: 100 #for the db writer + # enable_book_recording: true + # enable_trade_recording: true + # enable_bbo_recording: false + # enable_tbbo_recording: false + # enable_misc_recording: true + #} + } +} + +JetFIX { + value { + connection { + name: "u6p_7qb_54" + venue: VENUE_GLBX + socket_connect_host_ip: "205.209.201.97" + socket_connect_port: 10979 + sender_compid: "U6P7QB" + target_compid: "CME" + target_subid: "54" + cme_market_segment_id: 54 + start_time: "00:10:00" + end_time: "23:55:00" + start_day: "sunday" + end_day: "friday" + seconds_between_hbs: 15 + sender_subid: "BTS" + seconds_to_pause: 1 + max_order_msgs_per_window: 300 + max_connection_attempts: 2 + use_ilink3: true + } + connection { + name: "u6p_7qb_64" + venue: VENUE_GLBX + socket_connect_host_ip: "205.209.201.1" + socket_connect_port: 10979 + sender_compid: "U6P7QB" + target_compid: "CME" + target_subid: "64" + cme_market_segment_id: 64 + start_time: "00:10:00" + end_time: "23:55:00" + start_day: "sunday" + end_day: "friday" + seconds_between_hbs: 15 + sender_subid: "BTS" + seconds_to_pause: 1 + max_connection_attempts: 2 + max_order_msgs_per_window: 300 + use_ilink3: true + } + } +} +OrdermanCfg { + value { + executor { + thread_name: "oman_orders" + poll: true + hosted_actor: "MDSource" + hosted_actor: "OrderManager" + hosted_actor: "ExecutionGateway" + } + executor { + thread_name: "oman_slow" + poll: false + hosted_actor: "*" + } + fallback_cust_order_handling_inst: "Y" + } +} +NotSimExecution { + value { + entries { + venue: VENUE_GLBX + } + } +} \ No newline at end of file diff --git a/src/app_sparkd/configurations/ophir_prod_live_wb/symbols.conf b/src/app_sparkd/configurations/ophir_prod_live_wb/symbols.conf new file mode 100644 index 000000000..aba6152fa --- /dev/null +++ b/src/app_sparkd/configurations/ophir_prod_live_wb/symbols.conf @@ -0,0 +1,61 @@ +SymbolLists { + value { + list { + key: "GlbxFutures" + symbol: "ES" + } + list { + key: "GlbxOptions" + symbol: "E1A" + symbol: "E1B" + symbol: "E1C" + symbol: "E1D" + symbol: "E2A" + symbol: "E2B" + symbol: "E2C" + symbol: "E2D" + symbol: "E3A" + symbol: "E3B" + symbol: "E3C" + symbol: "E3D" + symbol: "E4A" + symbol: "E4B" + symbol: "E4C" + symbol: "E4D" + symbol: "E5A" + symbol: "E5B" + symbol: "E5C" + symbol: "E5D" + symbol: "EW1" + symbol: "EW2" + symbol: "EW3" + symbol: "EW4" + symbol: "ESH9" + symbol: "ESZ6" + symbol: "ESH0" + symbol: "ESM6" + symbol: "ESZ7" + symbol: "ESH6" + symbol: "ESM7" + symbol: "ESZ8" + symbol: "ESH7" + symbol: "ESH8" + symbol: "ESU6" + symbol: "ESZ5" + symbol: "ESZ9" + symbol: "E1D" + symbol: "ESZ5" + symbol: "ES" + } + } +} + +Symbols { + value { + venues { + name: "VENUE_GLBX" + future: @SymbolLists.list[GlbxFutures].symbol + option: @SymbolLists.list[GlbxOptions].symbol + } + } +} \ No newline at end of file