moving redis to comm
This commit is contained in:
parent
641b083a49
commit
d468bdfd79
@ -1,11 +1,11 @@
|
||||
{
|
||||
"type": "redis",
|
||||
"redis_settings": "localhost"
|
||||
"comm_settings": "/comm/pubsub/redis/localhost"
|
||||
, "app_channels": {
|
||||
"executor": "EXEC"
|
||||
, "risk_manager": "RMGR"
|
||||
, "risk_manager": "RMGR"
|
||||
, "trader": "TRDR"
|
||||
, "quant": "QUANT"
|
||||
, "quant": "QUANT"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
@var CONFIG_SERVICE=cloud23.cvtt.vpn:6789
|
||||
{
|
||||
"refdata": @inc=http://cloud11.cvtt.vpn:6789/refdata/refdata
|
||||
, "redis": @inc=http://cloud11.cvtt.vpn:6789/apps/common/redis
|
||||
, "cvttcomm": @inc=http://cloud11.cvtt.vpn:6789/apps/cvttcomm
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "exchanges_settings": {
|
||||
"COINBASE_AT": {
|
||||
"order_entry": {
|
||||
|
||||
@ -2,8 +2,7 @@
|
||||
{
|
||||
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "cvttcomm": @inc=http://${CONFIG_SERVICE}/apps/cvttcomm
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "quant": {
|
||||
"books": {
|
||||
"CVTT_BK01": {}
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
|
||||
@var CONFIG_SERVICE=cloud23.cvtt.vpn:6789
|
||||
{
|
||||
|
||||
"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/common/redis
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "risk_manager": {
|
||||
"book": "CVTT_BK01"
|
||||
, "database": {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
@var CONFIG_SERVICE=cloud23.cvtt.vpn:6789
|
||||
{
|
||||
"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/common/redis
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "exchanges_settings": {
|
||||
"COINBASE_AT": {
|
||||
"mkt_data": {
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"dynamic_stock_list": {
|
||||
"exchange_id": "ALPACA"
|
||||
, "list_source": "redis"
|
||||
, "redis_settings": "cvtt-prod-eqty-01"
|
||||
, "comm_settings": "/comm/pubsub/redis/cvtt-prod-eqty-01"
|
||||
, "redis_key": "DAY_STOCK_LIST"
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
@var SourcePath=/home/oleg/develop/cvtt2/tmp
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "algos": @inc=http://${CONFIG_SERVICE}/apps/common/algos
|
||||
|
||||
, "session_type": "CALENDAR"
|
||||
|
||||
@ -1,35 +1,43 @@
|
||||
# INTENDED TO REPLACE redis.cfg
|
||||
# /comm
|
||||
{
|
||||
"redis": {
|
||||
"localhost": {
|
||||
"url": "redis://localhost"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvttdata": {
|
||||
"url": "redis://cvttdata.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-testserver": {
|
||||
"url": "redis://cvtt-testserver.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-eqty-01": {
|
||||
"url": "redis://cvtt-prod-eqty-01.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-03": {
|
||||
"url": "redis://cvtt-prod-03.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-eqty-01": {
|
||||
"url": "redis://cvtt-prod-eqty-01.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
"pubsub" : {
|
||||
"redis": {
|
||||
"localhost": {
|
||||
"url": "redis://localhost"
|
||||
, "type": "redis"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvttdata": {
|
||||
"url": "redis://cvttdata.cvtt.vpn"
|
||||
, "type": "redis"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-testserver": {
|
||||
"url": "redis://cvtt-testserver.cvtt.vpn"
|
||||
, "type": "redis"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-eqty-01": {
|
||||
"url": "redis://cvtt-prod-eqty-01.cvtt.vpn"
|
||||
, "type": "redis"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-03": {
|
||||
"url": "redis://cvtt-prod-03.cvtt.vpn"
|
||||
, "type": "redis"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-eqty-01": {
|
||||
"url": "redis://cvtt-prod-eqty-01.cvtt.vpn"
|
||||
, "type": "redis"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,32 +0,0 @@
|
||||
{
|
||||
"localhost": {
|
||||
"url": "redis://localhost"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvttdata": {
|
||||
"url": "redis://cvttdata.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-testserver": {
|
||||
"url": "redis://cvtt-testserver.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-eqty-01": {
|
||||
"url": "redis://cvtt-prod-eqty-01.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-03": {
|
||||
"url": "redis://cvtt-prod-03.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
, "cvtt-prod-eqty-01": {
|
||||
"url": "redis://cvtt-prod-eqty-01.cvtt.vpn"
|
||||
, "read_timeout" : 0.01
|
||||
, "ping_timeout_secs": 2.0
|
||||
}
|
||||
}
|
||||
@ -3,12 +3,13 @@
|
||||
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
# , "redis_settings": "localhost"
|
||||
, "redis_settings": "cloud17"
|
||||
}
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "comm_settings": "/comm/pubsub/redis/cloud17"
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# # , "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
# , "comm_settings": "/comm/pubsub/redis/cloud17"
|
||||
# }
|
||||
, "session_type": "PERMANENT"
|
||||
, "books": {
|
||||
"CVTT_BK01": {}
|
||||
|
||||
@ -3,12 +3,11 @@
|
||||
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
# , "redis_settings": "localhost"
|
||||
, "redis_settings": "cloud17"
|
||||
}
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "comm_settings": "/comm/pubsub/redis/cloud17"
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# }
|
||||
, "session_type": "PERMANENT"
|
||||
, "books": {
|
||||
"CVTT_BK01": {}
|
||||
|
||||
@ -3,12 +3,9 @@
|
||||
|
||||
{ "___dummy___": null
|
||||
, "refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "active_instruments": @inc=http://${CONFIG_SERVICE}/apps/active_instruments
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
, "redis_settings": "cvtt-prod-eqty-01"
|
||||
}
|
||||
, "comm_settings": "/comm/pubsub/redis/cvtt-prod-eqty-01"
|
||||
, "session_type": "CALENDAR"
|
||||
, "calendar_session": {
|
||||
"trading_hours_url": [
|
||||
|
||||
@ -3,5 +3,5 @@
|
||||
{
|
||||
# ----------------------------------
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
}
|
||||
|
||||
@ -2,15 +2,16 @@
|
||||
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// This is used only for dynamically loaded instrument lists (as for Alpaca)
|
||||
, "active_instruments": @inc=http://${CONFIG_SERVICE}/apps/active_instruments
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
, "redis_settings": "cvtt-prod-eqty-01"
|
||||
}
|
||||
, "comm_settings": "/comm/pubsub/redis/cvtt-prod-eqty-01"
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# , "comm_settings": "/comm/pubsub/redis/cvtt-prod-eqty-01"
|
||||
# }
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
, "md_recorder": {
|
||||
|
||||
@ -9,9 +9,10 @@
|
||||
},
|
||||
}
|
||||
}
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
, "redis_settings": "localhost"
|
||||
}
|
||||
, "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# , "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
@ -15,9 +15,10 @@
|
||||
},
|
||||
}
|
||||
}
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
, "redis_settings": "localhost"
|
||||
}
|
||||
, "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# , "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
@ -7,9 +7,9 @@
|
||||
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "redis_settings": "localhost"
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
, "simulation": {
|
||||
# "speed_factor": 1.0,
|
||||
"speed_factor": 0.0,
|
||||
|
||||
@ -32,6 +32,6 @@
|
||||
}
|
||||
}
|
||||
, "refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,6 @@
|
||||
}
|
||||
}
|
||||
, "refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
}
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
@var CONFIG_SERVICE=cloud23.cvtt.vpn:6789
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "active_instruments": @inc=http://${CONFIG_SERVICE}/apps/active_instruments
|
||||
"exchanges_settings": {
|
||||
"*": {
|
||||
@ -19,7 +19,7 @@
|
||||
}
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# , "redis_settings": "localhost"
|
||||
# , "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
@var CONFIG_SERVICE=cloud23.cvtt.vpn:6789
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
, "active_instruments": @inc=http://${CONFIG_SERVICE}/apps/active_instruments
|
||||
, "exchanges_settings": {
|
||||
"*": {
|
||||
@ -11,10 +11,11 @@
|
||||
},
|
||||
}
|
||||
}
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
, "redis_settings": "cvtt-prod-eqty-01"
|
||||
}
|
||||
, "comm_settings": "/comm/pubsub/redis/cvtt-prod-eqty-01"
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# , "comm_settings": "/comm/pubsub/redis/cvtt-prod-eqty-01"
|
||||
# }
|
||||
, "md_portal": {
|
||||
"app_channel": "MD_PORTAL"
|
||||
}
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
@var CONFIG_SERVICE=cloud23.cvtt.vpn:6789
|
||||
{
|
||||
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
|
||||
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
|
||||
, "comm": @inc=http://${CONFIG_SERVICE}/apps/common/comm
|
||||
|
||||
, "cvttcomm": {
|
||||
"type": "redis"
|
||||
# , "redis_settings": "localhost"
|
||||
, "redis_settings": "cvtt-prod"
|
||||
}
|
||||
, "comm_settings": "/comm/pubsub/redis/cvtt-prod"
|
||||
# , "cvttcomm": {
|
||||
# "type": "redis"
|
||||
# # , "comm_settings": "/comm/pubsub/redis/localhost"
|
||||
# , "comm_settings": "/comm/pubsub/redis/cvtt-prod"
|
||||
# }
|
||||
, "executor": {
|
||||
"app_channel": "EXEC"
|
||||
}
|
||||
|
||||
@ -435,7 +435,7 @@
|
||||
|
||||
, "mktdata" : {
|
||||
"class": "cvttpy.exchanges.proxies.md_portal_clnt.mkt_data.MktDataPortalFeed"
|
||||
, "redis_settings": "cvtt-prod-eqty-01"
|
||||
, "comm_settings": "/comm/pubsub/redis/cvtt-prod-eqty-01"
|
||||
, "channel_prefix": "MD_ALPACA_SNDBX"
|
||||
}
|
||||
}
|
||||
@ -446,7 +446,7 @@
|
||||
|
||||
, "mktdata" : {
|
||||
"class": "cvttpy.exchanges.proxies.md_portal_clnt.mkt_data.MktDataPortalFeed"
|
||||
, "redis_settings": "cvtt-prod-03"
|
||||
, "comm_settings": "/comm/pubsub/redis/cvtt-prod-03"
|
||||
, "channel_prefix": "MD_ALPACA_03"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user