This commit is contained in:
Cryptoval Trading Technologies 2023-10-03 23:47:07 +00:00
parent 31830b92b9
commit 5e49af0589
5 changed files with 86 additions and 15 deletions

View File

@ -1,5 +1,6 @@
{
"refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
, "redis": @inc=http://cloud11.cvtt.vpn:6789/apps/redis
, "exchanges_settings": {
"COINBASE_AT": {
"order_entry": {
@ -20,13 +21,4 @@
}
}
}
, "redis": {
"url": "redis://cloud17.cvtt.vpn"
, "listen_channel_patterns": {
"executor": ["EXEC*", "ALL:*"]
, "risk_manager": ["RMGR*", "ALL:*"]
, "trader": ["TRDR*", "ALL:*"]
, "quant": ["QANT*", "ALL:*"]
}
}
}

24
data/apps/redis.cfg Normal file
View File

@ -0,0 +1,24 @@
{
"localhost": {
"url": "redis://localhost"
, "app_channels": {
"executor": "EXEC"
, "risk_manager": "RMGR"
, "trader": "TRDR"
, "quant": "QANT"
}
, "read_timeout" : 0.01
, "ping_timeout_secs": 1.0
}
, "cloud17": {
"url": "redis://cloud17.cvtt.vpn"
, "app_channels": {
"executor": "EXEC"
, "risk_manager": "RMGR"
, "trader": "TRDR"
, "quant": "QANT"
}
, "read_timeout" : 0.01
, "ping_timeout_secs": 2.0
}
}

View File

@ -0,0 +1,44 @@
{
"refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
, "redis": @inc=http://cloud11.cvtt.vpn:6789/apps/redis
, "risk_manager": {
"book": "CVTT_BK01"
, "database": {
"positions_table": "cvtt_positions"
, "credentials_key": {
"write": "CVTT_DB_01"
, "read_only": "CVTT_DB_01"
}
}
, "positions": {
"load_interval_sec": 10.0
, "to_store_zero_positions": false
, "to_save_unchanged_positions": false
, "to_save_unchanged_positions": false
}
, "publish_value_interval": 10.0
}
, "exchanges_settings": {
"COINBASE_AT": {
"order_entry": {
"enabled": false
, "streaming": false
},
"mkt_data": {
"enabled": true
, "streaming": true
},
"accounting": {
"enabled": true
, "streaming": false
}
, "credentials_key": {
"trade": "COINBASE_ADV"
"read_only": "COINBASE_ADV_RO"
}
}
}
}

15
data/apps/trader_app.cfg Normal file
View File

@ -0,0 +1,15 @@
{
"refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
, "redis": @inc=http://cloud11.cvtt.vpn:6789/apps/redis
, "exchanges_settings": {
"COINBASE_AT": {
"mkt_data": {
"enabled": true
, "streaming": true
},
}
}
, "trader": {
}
}

View File

@ -91,12 +91,8 @@
"class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
}
, "redis": {
"url": "redis://localhost"
,"listen_channel_prefix": "CVTT_CLNT"
, "executor_channel": "EXEC"
, "ping_timeout_secs": 1.0
}
}
, "COINBASE_AT": {
"exchange_id": "COINBASE"