.
This commit is contained in:
parent
fcda6e1d3e
commit
f73d4e4432
121
data/apps/cvtt.cfg
Normal file
121
data/apps/cvtt.cfg
Normal file
@ -0,0 +1,121 @@
|
||||
@var CONFIG_SVC_HOST=cloud11.cvtt.vpn
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SVC_HOST}:6789/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SVC_HOST}:6789/apps/redis
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
, "redis_settings": "localhost"
|
||||
}
|
||||
|
||||
, "books": {
|
||||
"CVTT_BK01": {}
|
||||
}
|
||||
, "backtest": {
|
||||
# Backtest Placeholder
|
||||
}
|
||||
# --------------------------------------------------------------------
|
||||
, "trader": {
|
||||
"app_channel": "TRDR"
|
||||
, "exchanges_settings": {
|
||||
"COINBASE_AT": {
|
||||
"mkt_data": {
|
||||
"enabled": true
|
||||
, "streaming": true
|
||||
},
|
||||
}
|
||||
}
|
||||
, "algos": {
|
||||
"TRDALGO_001": {
|
||||
"class": "cvttpy.trading.algos.simple.SimpleTradingAlgo"
|
||||
, "params": {}
|
||||
}
|
||||
}
|
||||
, "trading_pos_diff_pct_trigger": 10.0
|
||||
}
|
||||
# --------------------------------------------------------------------
|
||||
"executor": {
|
||||
"app_channel": "EXEC"
|
||||
, "exchanges_settings": {
|
||||
"COINBASE_AT": {
|
||||
"order_entry": {
|
||||
"enabled": true
|
||||
, "streaming": true
|
||||
},
|
||||
"mkt_data": {
|
||||
"enabled": false
|
||||
, "streaming": false
|
||||
},
|
||||
"accounting": {
|
||||
"enabled": false
|
||||
, "streaming": false
|
||||
}
|
||||
, "credentials_key": {
|
||||
"read_only": "COINBASE_ADV_RO"
|
||||
, "trade": "COINBASE_ADV_TRD"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# --------------------------------------------------------------------
|
||||
, "quant": {
|
||||
"app_channel": "QUANT"
|
||||
, "strategies": {
|
||||
"CVTT_QST001": {
|
||||
"class": "cvttpy.trading.strategies.test_strat.TestStrategy"
|
||||
, "params": {
|
||||
"dummy": "dummy"
|
||||
}
|
||||
}
|
||||
}
|
||||
, "exchanges_settings": {
|
||||
"COINBASE_AT": {
|
||||
"mkt_data": {
|
||||
"enabled": true
|
||||
, "streaming": true
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
# --------------------------------------------------------------------
|
||||
, "risk_manager": {
|
||||
"app_channel": "RMGR"
|
||||
, "books": {
|
||||
"CVTT_BK01": {}
|
||||
}
|
||||
"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
|
||||
}
|
||||
, "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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
11
data/apps/cvttcomm.cfg
Normal file
11
data/apps/cvttcomm.cfg
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "redis",
|
||||
"redis_settings": "localhost"
|
||||
, "app_channels": {
|
||||
"executor": "EXEC"
|
||||
, "risk_manager": "RMGR"
|
||||
, "trader": "TRDR"
|
||||
, "quant": "QUANT"
|
||||
}
|
||||
}
|
||||
|
||||
41
data/apps/quant_app.cfg
Normal file
41
data/apps/quant_app.cfg
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
{
|
||||
|
||||
"refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
|
||||
, "redis": @inc=http://cloud11.cvtt.vpn:6789/apps/redis
|
||||
, "cvttcomm": @inc=http://cloud11.cvtt.vpn:6789/apps/cvttcomm
|
||||
, "quant": {
|
||||
"books": {
|
||||
"CVTT_BK01": {}
|
||||
}
|
||||
, "strategies": {
|
||||
"CVTT_QST001": {
|
||||
"class": "cvttpy.trading.strategies.test_strat.TestStrategy"
|
||||
, "params": {
|
||||
"dummy": "dummy"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
, "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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
21
data/apps/tests/get_positions.cfg
Normal file
21
data/apps/tests/get_positions.cfg
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"__DUMMY__": null
|
||||
|
||||
, "exchanges_settings": {
|
||||
"CVTT_COINBASE": {
|
||||
"accounting": {
|
||||
"enabled": true
|
||||
, "streaming": false
|
||||
}
|
||||
}
|
||||
, "CVTT_COINBASE_LOCAL": {
|
||||
"accounting": {
|
||||
"enabled": true
|
||||
, "streaming": false
|
||||
}
|
||||
}
|
||||
}
|
||||
, "refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
|
||||
, "redis": @inc=http://cloud11.cvtt.vpn:6789/apps/redis
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user