This commit is contained in:
Cryptoval Trading Technologies 2024-08-23 00:03:05 +00:00
parent 039c744530
commit 31a3a06f34
6 changed files with 27 additions and 28 deletions

View File

@ -114,6 +114,12 @@
"docker": true, "docker": true,
"supervisor": false, "supervisor": false,
}, },
"cvtt-prod-eqty-01": {
"type": "vm",
"users": ["oleg", "cvtt"],
"docker": true,
"supervisor": false,
},
"cvtt-research": { "cvtt-research": {
"type": "vm", "type": "vm",
"users": ["oleg"], "users": ["oleg"],

View File

@ -55,10 +55,13 @@
} }
"devel-env": { "devel-env": {
"cvtt-dev": [ "cvtt-dev": [
{"gitea": "ssh://git@homestore.cvtt.vpn:20022/oleg/develop.vscode.cvtt-dev.git"}, {"gitea": "ssh://git@homestore.cvtt.vpn:20022/develop_env/.vscode.cvtt-dev.git"},
], ]
"cvtt-research": [ , "cvtt-research": [
{"gitea": "ssh://git@homestore.cvtt.vpn:20022/oleg/develop.vscode.cvtt-research.git"}, {"gitea": "ssh://git@homestore.cvtt.vpn:20022/develop_env/.vscode.cvtt-research.git"},
]
, "oleg-macpro": [
{"gitea": "ssh://git@homestore.cvtt.vpn:20022/develop_env/.vscode.oleg-macpro.git"},
] ]
}, },
"personal": { "personal": {

View File

@ -2,6 +2,7 @@
"ALPACA_SNDBX": { "ALPACA_SNDBX": {
"dynamic_stock_list": { "dynamic_stock_list": {
"exchange_id": "ALPACA" "exchange_id": "ALPACA"
, "list_source": "redis"
, "redis_settings": "cvtt-prod-02" , "redis_settings": "cvtt-prod-02"
, "redis_key": "DAY_STOCK_LIST" , "redis_key": "DAY_STOCK_LIST"
} }

View File

@ -23,4 +23,10 @@
"liquidate_at": "15:45" # EDT Time "liquidate_at": "15:45" # EDT Time
} }
} }
, "TGTPOS-BY_REDIS": {
"class": "cvttpy.trading.strategies.TgtPosByRedisStrategy"
, "params": {
"redis_subject": "MAN_TGT_POS"
}
}
} }

View File

@ -1,8 +1,8 @@
@var CONFIG_SERVICE=cloud23.cvtt.vpn:6789 @var CONFIG_SERVICE=cloud23.cvtt.vpn:6789
@var ResultPath=/tmp @var ResultPath=/tmp
{ { "___dummy___": null
"refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata , "refdata": @inc=http://${CONFIG_SERVICE}/refdata/refdata
, "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis , "redis": @inc=http://${CONFIG_SERVICE}/apps/common/redis
, "active_instruments": @inc=http://${CONFIG_SERVICE}/apps/active_instruments , "active_instruments": @inc=http://${CONFIG_SERVICE}/apps/active_instruments
, "cvttcomm": { , "cvttcomm": {
@ -40,7 +40,7 @@
} }
} }
# -------------------------------------------------------------------- # --------------------------------------------------------------------
"executor": { , "executor": {
"app_channel": "EXEC" "app_channel": "EXEC"
, "exchanges_settings": { , "exchanges_settings": {
"COINBASE_AT": { "COINBASE_AT": {
@ -108,14 +108,8 @@
"mkt_data": { "mkt_data": {
"enabled": true "enabled": true
, "streaming": true , "streaming": true
},
} }
# , "COINBASE_AT": { }
# "mkt_data": {
# "enabled": true
# , "streaming": true
# },
# }
} }
} }
# -------------------------------------------------------------------- # --------------------------------------------------------------------

View File

@ -260,8 +260,8 @@
"open_orders_url": ["GET", "https://api.coinbase.com/api/v3/brokerage/orders/historical/batch"] "open_orders_url": ["GET", "https://api.coinbase.com/api/v3/brokerage/orders/historical/batch"]
, "submit_order_url": ["POST", "https://api.coinbase.com/api/v3/brokerage/orders"] , "submit_order_url": ["POST", "https://api.coinbase.com/api/v3/brokerage/orders"]
, "cancel_order_url": ["POST", "https://api.coinbase.com/api/v3/brokerage/orders/batch_cancel"] , "cancel_order_url": ["POST", "https://api.coinbase.com/api/v3/brokerage/orders/batch_cancel"]
}, }
"ws_url": ["WSS", "wss://advanced-trade-ws.coinbase.com"] , "ws_url": ["WSS", "wss://advanced-trade-ws.coinbase.com"]
} }
, "accounting": { , "accounting": {
@ -281,7 +281,7 @@
, "max_connections": 10 , "max_connections": 10
, "price_throttle": true , "price_throttle": true
, "ws_url": ["WSS", "wss://ws-feed.pro.coinbase.com"] , "ws_url": ["WSS", "wss://ws-feed.exchange.coinbase.com"]
} }
} }
, "COINBASE_AT-MDPORTAL": { , "COINBASE_AT-MDPORTAL": {
@ -408,17 +408,6 @@
, "channel_prefix": "MD_ALPACA_SNDBX" , "channel_prefix": "MD_ALPACA_SNDBX"
} }
} }
# , "MD_PORTAL_ALPACA_02": {
# "exchange_id": "MD_PORTAL"
# , "name": "MD Portal (proxy)"
# , "type": "PROXY"
# , "mktdata" : {
# "class": "cvttpy.exchanges.proxies.md_portal_clnt.mkt_data.MktDataPortalFeed"
# , "redis_settings": "cvtt-prod-02"
# , "channel_prefix": "MD_ALPACA_02"
# }
# }
, "MD_PORTAL_ALPACA_03": { , "MD_PORTAL_ALPACA_03": {
"exchange_id": "MD_PORTAL" "exchange_id": "MD_PORTAL"
, "name": "MD Portal (proxy)" , "name": "MD Portal (proxy)"