Files
config_service/data/apps/cvtt_musvc.cfg
T
Cryptoval Trading Technologies b6d755cbd7 20251218
2025-12-18 21:11:01 +00:00

195 lines
6.4 KiB
INI

@var GLOBAL_CHANNEL_PREFIX=CVTT_MU
{
"refdata": @inc=http://@env{CONFIG_SERVICE}/refdata/refdata # tetsetraefafd
, "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
# new communication settings
, "comm_settings": "@env{CONFIG_COMM_SETTINGS}" # DEPRECATED
, "pubsub_settings": "@env{PUBSUB_SETTINGS_CONFIG_KEY}"
, "cache_settings": "@env{CACHE_SETTINGS_CONFIG_KEY}" # new
, "global_channel_prefix": ${GLOBAL_CHANNEL_PREFIX}
, "accounting_gateway": {
"exchanges_settings": {
"ALPACA_SNDBX": {
"mkt_data": {
"enabled": false
, "streaming": false
},
"order_entry": {
"enabled": false
, "streaming": false
},
"accounting": {
"enabled": true
, "streaming": false
}
, "credentials_key": {
"read_only": "ALPACA_SANDBOX"
, "trade": "ALPACA_SANDBOX"
}
},
"COINBASE_AT": {
"mkt_data": {
"enabled": false
, "streaming": false
},
"order_entry": {
"enabled": false
, "streaming": false
},
"accounting": {
"enabled": true
, "streaming": false
}
, "credentials_key": {
"read_only": "COINBASE_ADV_RO"
}
}
}
, "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.ACCT_GW."
, "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.ACCT_GW.APP_STATUS"
, "exchanges": [
"ALPACA_SNDBX", "COINBASE_AT"
]
}
, "bookkeeper": {
"channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.BKPR."
, "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.BKPR.MUSVC_STATUS"
, "db": {
"server_type": "timescale",
"cred_key": "TSDB_CVTT_TESTER_01_DIRECT"
# "cred_key": "TSDB_CVTT_TRADINNG_PROD-01-RW"
}
, "use_cache": true
}
, "front_gateway": {
"api": {
"REST": {
"port": @env{FRONT_GATEWAY_REST_PORT},
"base_url": ["POST", "http://localhost:@env{FRONT_GATEWAY_REST_PORT}"]
}
}
}
, "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"
# , "COINBASE_FUT"
# , "BNBSPOT"
# , "BNBFUT"
# , "KRAKEN"
# , "BITSTAMP"
# , "OKX"
# , "GEMINI"
# , "ALPACA_SNDBX"
]
}
, "ohlcv_recorder": {
"app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.OHLCV.RECORDER_STATUS"
, "historical_md": {
"db": {
"cred_key": "TSDB_CVTT_TESTER_01_DIRECT"
}
, "trades_recording": { # unconditional trades recording for 1min aggregates
"flush_interval_sec": 10.0
"instruments": [
{
"exch_acct": "COINBASE_AT"
, "instrument_id": "PAIR-BTC-USD"
}
, {
"exch_acct": "COINBASE_AT"
, "instrument_id": "PAIR-ETH-USD"
}
]
}
}
}
, "order_entry_gateway": {
"exchanges_settings": {
"ALPACA_SNDBX": {
"mkt_data": {
"enabled": false
, "streaming": false
},
"order_entry": {
"enabled": true
, "streaming": true
},
"accounting": {
"enabled": false
, "streaming": false
}
, "credentials_key": {
"read_only": "ALPACA_SANDBOX"
, "trade": "ALPACA_SANDBOX"
}
}
}
, "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.OE_GW"
, "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.OE_GW_APP_STATUS"
, "exchanges": [
"ALPACA_SNDBX"
]
}
, "pricer": {
"channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.PXER"
, "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.PXER_MUSVC_STATUS"
, "historical_md": {
"db": {
"cred_key": "TSDB_CVTT_TESTER_01_DIRECT"
}
}
, "use_md_aggregate_cache": true
}
# , "quant": {
# "channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.QUANT"
# , "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.QUANT_MUSVC_STATUS"
# }
, "risk_manager": {
"channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.RMGR"
, "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.RMGR_MUSVC_STATUS"
, "revalue_interval_sec": 10.5
}
, "trader": {
"channel_prefix": "${GLOBAL_CHANNEL_PREFIX}.TRADER"
, "app_status_channel": "${GLOBAL_CHANNEL_PREFIX}.TRADER_MUSVC_STATUS"
# -----------------------------------
# moved to the algos.cfg for TgtPos Algo
# -----------------------------------
# , "pos_diff_pct_trigger": 10.0
# -----------------------------------
# moved to the book_config (db)
# -----------------------------------
# , "trading_depth": {
# "BTC": 0.001
# # "BTC": 0.1
# }
}
}