From 76cb915702ad515aad75ff5c10c94f743611f2db Mon Sep 17 00:00:00 2001 From: Cryptoval Trading Technologies Date: Tue, 12 Aug 2025 22:23:07 +0000 Subject: [PATCH] 20250812 --- data/apps/cvtt_musvc_crypto.cfg | 135 ++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 data/apps/cvtt_musvc_crypto.cfg diff --git a/data/apps/cvtt_musvc_crypto.cfg b/data/apps/cvtt_musvc_crypto.cfg new file mode 100644 index 0000000..0bbe187 --- /dev/null +++ b/data/apps/cvtt_musvc_crypto.cfg @@ -0,0 +1,135 @@ +@var COORDINATOR_REST_PORT=23456 +# @var COORDINATOR_WS_PORT=12345 + +@var PRICER_REST_PORT=23457 +@var PRICER_WS_PORT=12346 + +@var GLOBAL_CHANNEL_PREFIX=CVTT_MU + +{ + "refdata": @inc=http://@env{CONFIG_SERVICE}/refdata/refdata + , "comm": @inc=http://@env{CONFIG_SERVICE}/apps/common/comm + , "algos": @inc=http://@env{CONFIG_SERVICE}/apps/common/algos + , "strategies": @inc=http://@env{CONFIG_SERVICE}/apps/common/strategies + , "risk_strategies": @inc=http://@env{CONFIG_SERVICE}/apps/common/risk_strategies + + , "comm_settings": @env{CONFIG_COMM_SETTINGS} + , "global_channel_prefix": ${GLOBAL_CHANNEL_PREFIX} + + , "coordinator": { + "api": { + "REST": { + "port": ${COORDINATOR_REST_PORT}, + "base_url": ["POST", "http://localhost:${COORDINATOR_REST_PORT}"] + } + # , "WS": { + # "url": "ws://localhost:${COORDINATOR_WS_PORT}/ws" + # } + } + } + , "market_data_gateway": { + "exchanges_settings": { + "*": { + "mkt_data": { + "enabled": true + , "streaming": true + }, + "order_entry": { + "enabled": false + , "streaming": false + }, + "accounting": { + "enabled": false + , "streaming": false + }, + }, + } + , "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.MD_GW" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.MD_GW_APP_STATUS" + , "exchanges": [ + "COINBASE_AT" + , "BNBSPOT" + ] + } + , "order_entry_gateway": { + "exchanges_settings": { + "COINBASE_AT": { + "mkt_data": { + "enabled": false + , "streaming": false + }, + "order_entry": { + "enabled": true + , "streaming": true + }, + "accounting": { + "enabled": false + , "streaming": false + } + } + } + , "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.OE_GW" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.OE_GW_APP_STATUS" + , "exchanges": [ + "COINBASE_AT" + ] + } + , "accounting_gateway": { + "exchanges_settings": { + "COINBASE_AT": { + "mkt_data": { + "enabled": false + , "streaming": false + }, + "order_entry": { + "enabled": false + , "streaming": false + }, + "accounting": { + "enabled": true + , "streaming": false + } + } + } + , "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.ACCT_GW" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.ACCT_GW_APP_STATUS" + , "exchanges": [ + "ALPACA_SNDBX", "COINBASE_AT" + ] + } + , "quant": { + "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.QUANT" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.QUANT_MUSVC_STATUS" + } + , "trader": { + "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.TRADER" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.TRADER_MUSVC_STATUS" + } + , "bookkeeper": { + "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.BKPR" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.BKPR_MUSVC_STATUS" + , "db": { + "server_type": "timescale", + # "cred_key": "TSDB_TRADING_CVTT_TESTDB" + "cred_key": "TSDB_CVTT_TRADINNG_PROD-01-RW" + } + } + , "risk_manager": { + "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.RMGR" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.RMGR_MUSVC_STATUS" + , "revalue_interval_sec": 10.5 + } + , "pricer": { + "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.PXER" + , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.PXER_MUSVC_STATUS" + , "api": { + "REST": { + "port": ${PRICER_REST_PORT}, + "base_url": ["POST", "http://localhost:${PRICER_REST_PORT}"] + } + , "WS": { + "url": "ws://localhost:${PRICER_WS_PORT}/ws" + } + } + } +} \ No newline at end of file