From c470984bd2d7d034d759836700bf449950c9c77e Mon Sep 17 00:00:00 2001 From: John Colvin Date: Sun, 11 May 2025 18:12:47 +0000 Subject: [PATCH] Add gateio_dev config profile for Adeel --- src/app_sparkd/configurations/gateio_dev/.env | 1 + .../configurations/gateio_dev/spark.conf | 38 +++++++++++++++++++ .../configurations/gateio_dev/symbols.conf | 17 +++++++++ 3 files changed, 56 insertions(+) create mode 100644 src/app_sparkd/configurations/gateio_dev/.env create mode 100644 src/app_sparkd/configurations/gateio_dev/spark.conf create mode 100644 src/app_sparkd/configurations/gateio_dev/symbols.conf diff --git a/src/app_sparkd/configurations/gateio_dev/.env b/src/app_sparkd/configurations/gateio_dev/.env new file mode 100644 index 000000000..45ea5dd05 --- /dev/null +++ b/src/app_sparkd/configurations/gateio_dev/.env @@ -0,0 +1 @@ +SPARKD__CONFIG_DIR=src/app_sparkd/configurations/gateio_dev diff --git a/src/app_sparkd/configurations/gateio_dev/spark.conf b/src/app_sparkd/configurations/gateio_dev/spark.conf new file mode 100644 index 000000000..7cf29472f --- /dev/null +++ b/src/app_sparkd/configurations/gateio_dev/spark.conf @@ -0,0 +1,38 @@ +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 + } +} + +Logging { + value { + initial_queue_size: 120001 + max_queue_growth: 4 + file { + default_level: "Info" + subsystem { + name: "md" + level: "Diag" + } + } + } +} + +MarketDataConfig { + value { + python_md_providers { + venue: VENUE_GATEIO + module_path: "python_md_providers" + provider_type: "gateio_md_provider.GateIoMdProvider" + } + } +} diff --git a/src/app_sparkd/configurations/gateio_dev/symbols.conf b/src/app_sparkd/configurations/gateio_dev/symbols.conf new file mode 100644 index 000000000..20327f86f --- /dev/null +++ b/src/app_sparkd/configurations/gateio_dev/symbols.conf @@ -0,0 +1,17 @@ +SymbolLists { + value { + list { + key: "Gateio" + symbol: "BTC" + } + } +} + +Symbols { + value { + venues { + name: "VENUE_GATEIO" + spot: @SymbolLists.list[Gateio].symbol + } + } +}