.
This commit is contained in:
commit
00d4328855
@ -16,6 +16,7 @@
|
|||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
, "trader": {
|
, "trader": {
|
||||||
"app_channel": "TRDR"
|
"app_channel": "TRDR"
|
||||||
|
, "algo": "TRDALGO_001"
|
||||||
, "exchanges_settings": {
|
, "exchanges_settings": {
|
||||||
"COINBASE_AT": {
|
"COINBASE_AT": {
|
||||||
"mkt_data": {
|
"mkt_data": {
|
||||||
|
|||||||
11
data/apps/deprecated/cvttcomm.cfg
Normal file
11
data/apps/deprecated/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/deprecated/quant_app.cfg
Normal file
41
data/apps/deprecated/quant_app.cfg
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
@var CONFIG_SVC_HOST=cloud16.cvtt.vpn
|
||||||
|
{
|
||||||
|
|
||||||
|
"refdata": @inc=http://${CONFIG_SVC_HOST}:6789/refdata/refdata
|
||||||
|
, "redis": @inc=http://${CONFIG_SVC_HOST}:6789/apps/redis
|
||||||
|
, "cvttcomm": @inc=http://${CONFIG_SVC_HOST}: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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
44
data/apps/deprecated/risk_manager_app.cfg
Normal file
44
data/apps/deprecated/risk_manager_app.cfg
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
"refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
|
||||||
|
, "cvttcomm": @inc=http://cloud11.cvtt.vpn:6789/apps/cvttcomm
|
||||||
|
, "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
|
||||||
|
}
|
||||||
|
, "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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
26
data/apps/deprecated/trader_app.cfg
Normal file
26
data/apps/deprecated/trader_app.cfg
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
|
||||||
|
, "cvttcomm": @inc=http://cloud11.cvtt.vpn:6789/apps/cvttcomm
|
||||||
|
, "redis": @inc=http://cloud11.cvtt.vpn:6789/apps/redis
|
||||||
|
, "exchanges_settings": {
|
||||||
|
"COINBASE_AT": {
|
||||||
|
"mkt_data": {
|
||||||
|
"enabled": true
|
||||||
|
, "streaming": true
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
, "trader": {
|
||||||
|
"books": {
|
||||||
|
"CVTT_BK01": {}
|
||||||
|
}
|
||||||
|
, "algos": {
|
||||||
|
"TRDALGO_001": {
|
||||||
|
"class": "cvttpy.trading.algos.simple.SimpleTradingAlgo"
|
||||||
|
, "params": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
, "trading_pos_diff_pct_trigger": 10.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user