116 lines
3.3 KiB
INI
116 lines
3.3 KiB
INI
@var COORDINATOR_PORT=23456
|
|
@var PASS_THROUGH_STRAT_PORT=12345
|
|
|
|
|
|
{
|
|
"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
|
|
|
|
, "comm_settings": "comm/pubsub/redis/localhost"
|
|
|
|
, "coordinator": {
|
|
"api": {
|
|
"REST": {
|
|
"port": ${COORDINATOR_PORT},
|
|
"base_url": ["POST", "http://localhost:${COORDINATOR_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": "MD_GW"
|
|
, "app_status_channel": "MD_GW_APP_STATUS"
|
|
, "exchanges": [
|
|
"BNBFUT"
|
|
, "COINBASE_AT"
|
|
]
|
|
}
|
|
, "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": "OE_GW"
|
|
, "app_status_channel": "OE_GW_APP_STATUS"
|
|
, "exchanges": [
|
|
"ALPACA_SNDBX"
|
|
]
|
|
}
|
|
, "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"
|
|
}
|
|
}
|
|
}
|
|
, "channel_prefix": "ACCT_GW"
|
|
, "app_status_channel": "ACCT_GW_APP_STATUS"
|
|
, "exchanges": [
|
|
"ALPACA_SNDBX"
|
|
]
|
|
}
|
|
, "quant": {
|
|
"channel_prefix": "QUANT"
|
|
, "app_status_channel": "QUANT_MS_STATUS"
|
|
, "passthrough_strategy": {
|
|
"REST": {
|
|
"port": ${PASS_THROUGH_STRAT_PORT}
|
|
"base_url": ["POST", "http://localhost:${PASS_THROUGH_STRAT_PORT}"]
|
|
}
|
|
, "WS": {
|
|
"url": "ws://localhost:12346/ws"
|
|
}
|
|
}
|
|
}
|
|
, "trader": {
|
|
"channel_prefix": "TRADER"
|
|
, "app_status_channel": "TRADER_MS_STATUS"
|
|
}
|
|
} |