progress
This commit is contained in:
+116
-49
@@ -2,7 +2,7 @@
|
||||
# @var DatabaseHost=cryptoval1.sheynin.home
|
||||
{
|
||||
"__DUMMY__": {}
|
||||
# ---------------------- A
|
||||
# ----------------------------- A
|
||||
, "ALPACA_SNDBX": {
|
||||
# https://docs.alpaca.markets/reference/
|
||||
"exchange_id": "ALPACA"
|
||||
@@ -31,9 +31,12 @@
|
||||
, "ws_url": ["WSS", "wss://stream.data.alpaca.markets/v2/iex"]
|
||||
, "REST": {
|
||||
"hist_md_bars": ["GET", "https://data.alpaca.markets/v2/stocks/bars"]
|
||||
, "hist_md_quotes": ["GET", "https://data.alpaca.markets/v2/stocks/quotes"]
|
||||
, "hist_md_trades": ["GET", "https://data.alpaca.markets/v2/stocks/trades"]
|
||||
, "latest_trade": ["GET", "https://data.alpaca.markets/v2/stocks/{symbol}/trades/latest"]
|
||||
, "assets": ["GET", "https://paper-api.alpaca.markets/v2/assets"]
|
||||
# , "assets": ["GET", "https://data.alpaca.markets/v2/assets"]
|
||||
}
|
||||
|
||||
}
|
||||
, "accounting": {
|
||||
"class": "cvttpy.exchanges.alpaca.account.AlpacaAccounting"
|
||||
@@ -73,6 +76,8 @@
|
||||
, "REST": {
|
||||
"hist_md_bars": ["GET", "https://data.alpaca.markets/v2/stocks/bars"]
|
||||
, "latest_trade": ["GET", "https://data.alpaca.markets/v2/stocks/{symbol}/trades/latest"]
|
||||
, "hist_md_quotes": ["GET", "https://data.alpaca.markets/v2/stocks/quotes"]
|
||||
, "hist_md_trades": ["GET", "https://data.alpaca.markets/v2/stocks/trades"]
|
||||
}
|
||||
}
|
||||
, "accounting": {
|
||||
@@ -101,12 +106,55 @@
|
||||
, "REST": {
|
||||
"hist_md_bars": ["GET", "https://data.alpaca.markets/v2/stocks/bars"]
|
||||
, "latest_trade": ["GET", "https://data.alpaca.markets/v2/stocks/{symbol}/trades/latest"]
|
||||
, "hist_md_quotes": ["GET", "https://data.alpaca.markets/v2/stocks/quotes"]
|
||||
, "hist_md_trades": ["GET", "https://data.alpaca.markets/v2/stocks/trades"]
|
||||
}
|
||||
}
|
||||
, "accounting": {
|
||||
}
|
||||
}
|
||||
# ---------------------- B
|
||||
, "ALPACA_SNDBX-MDP-03": {
|
||||
# https://docs.alpaca.markets/reference/
|
||||
"exchange_id": "ALPACA"
|
||||
, "name": "Alpaca Trading"
|
||||
, "type": "EQUITY"
|
||||
|
||||
, "cred_key": "ALPACA_SANDBOX"
|
||||
|
||||
, "order_entry": {
|
||||
"class": "cvttpy.exchanges.alpaca.connector.AlpacaOrderEntryClient"
|
||||
|
||||
, "REST": {
|
||||
"submit_order_url": ["POST", "https://paper-api.alpaca.markets/v2/orders"]
|
||||
, "orders_url": ["GET", "https://paper-api.alpaca.markets/v2/orders"]
|
||||
, "order_status": ["GET", "https://paper-api.alpaca.markets/v2/orders/{order_id}"]
|
||||
, "cancel_order_url": ["DELETE", "https://paper-api.alpaca.markets/v2/orders/{order_id}"]
|
||||
, "cancel_all_url": ["DELETE", "https://paper-api.alpaca.markets/v2/orders"]
|
||||
}
|
||||
, "ws_url": ["WSS", "wss://paper-api.alpaca.markets/stream"]
|
||||
}
|
||||
, "mktdata" : {
|
||||
"class": "cvttpy.exchanges.proxies.md_portal_clnt.mkt_data.MktDataPortalFeed"
|
||||
, "portal_name": "MD_PORTAL_ALPACA_03"
|
||||
|
||||
, "REST": {
|
||||
"hist_md_bars": ["GET", "https://data.alpaca.markets/v2/stocks/bars"]
|
||||
, "latest_trade": ["GET", "https://data.alpaca.markets/v2/stocks/{symbol}/trades/latest"]
|
||||
, "hist_md_quotes": ["GET", "https://data.alpaca.markets/v2/stocks/quotes"]
|
||||
, "hist_md_trades": ["GET", "https://data.alpaca.markets/v2/stocks/trades"]
|
||||
}
|
||||
}
|
||||
, "accounting": {
|
||||
"class": "cvttpy.exchanges.alpaca.account.AlpacaAccounting"
|
||||
|
||||
, "REST": {
|
||||
"balances_url": ["GET", "https://paper-api.alpaca.markets/v2/positions"]
|
||||
, "account_info_url": ["GET", "https://paper-api.alpaca.markets/v2/account"]
|
||||
, "trades_url": ["GET", "https://paper-api.alpaca.markets/v2/account/activities/FILL"]
|
||||
}
|
||||
}
|
||||
}
|
||||
# ---------------------------- B
|
||||
, "BITSTAMP": {
|
||||
"exchange_id": "BITSTAMP"
|
||||
, "name": "Bitstamp"
|
||||
@@ -122,7 +170,6 @@
|
||||
, "ws_url": ["WSS", "wss://ws.bitstamp.net"]
|
||||
}
|
||||
}
|
||||
|
||||
, "BNBSPOT": {
|
||||
"exchange_id": "BNBSPOT"
|
||||
, "name": "Binance Spot"
|
||||
@@ -201,49 +248,49 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
# ---------------------- C
|
||||
, "CVTT": {
|
||||
"exchange_id": "CVTT"
|
||||
, "name": "CVTT Executor (proxy)"
|
||||
, "type": "PROXY"
|
||||
# ---------------------------- C
|
||||
# , "CVTT": {
|
||||
# "exchange_id": "CVTT"
|
||||
# , "name": "CVTT Executor (proxy)"
|
||||
# , "type": "PROXY"
|
||||
|
||||
, "order_entry": {
|
||||
"class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
# , "order_entry": {
|
||||
# "class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
|
||||
}
|
||||
, "accounting": {
|
||||
"class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
}
|
||||
,"listen_channel_prefix": "CVTT_CLNT"
|
||||
# , "executor_channel": "EXEC"
|
||||
}
|
||||
, "CVTT_COINBASE": {
|
||||
"exchange_id": "CVTT_COINBS"
|
||||
, "name": "CVTT Trader (proxy)"
|
||||
, "type": "PROXY"
|
||||
# }
|
||||
# , "accounting": {
|
||||
# "class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
# }
|
||||
# ,"listen_channel_prefix": "CVTT_CLNT"
|
||||
# # , "executor_channel": "EXEC"
|
||||
# }
|
||||
# , "CVTT_COINBASE": {
|
||||
# "exchange_id": "CVTT_COINBS"
|
||||
# , "name": "CVTT Trader (proxy)"
|
||||
# , "type": "PROXY"
|
||||
|
||||
, "order_entry": {
|
||||
"class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
# , "order_entry": {
|
||||
# "class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
|
||||
}
|
||||
, "accounting": {
|
||||
"class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
}
|
||||
,"listen_channel_prefix": "CVTT_CLNT"
|
||||
, "executor_channel": "EXEC"
|
||||
}
|
||||
, "CVTT_COINBASE_LOCAL": {
|
||||
"exchange_id": "CVTT_COINBS"
|
||||
, "name": "CVTT Trader (proxy)"
|
||||
, "type": "PROXY"
|
||||
# }
|
||||
# , "accounting": {
|
||||
# "class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
# }
|
||||
# ,"listen_channel_prefix": "CVTT_CLNT"
|
||||
# , "executor_channel": "EXEC"
|
||||
# }
|
||||
# , "CVTT_COINBASE_LOCAL": {
|
||||
# "exchange_id": "CVTT_COINBS"
|
||||
# , "name": "CVTT Trader (proxy)"
|
||||
# , "type": "PROXY"
|
||||
|
||||
, "order_entry": {
|
||||
"class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
# , "order_entry": {
|
||||
# "class": "cvttpy.exchanges.proxies.cvtt.connector.CvttExecutorClient"
|
||||
|
||||
}
|
||||
,"listen_channel_prefix": "CVTT_CLNT"
|
||||
, "executor_channel": "EXEC"
|
||||
}
|
||||
# }
|
||||
# ,"listen_channel_prefix": "CVTT_CLNT"
|
||||
# , "executor_channel": "EXEC"
|
||||
# }
|
||||
, "COINBASE_AT": {
|
||||
"exchange_id": "COINBASE"
|
||||
, "name": "Coinbase Advanced Trade"
|
||||
@@ -308,19 +355,28 @@
|
||||
|
||||
, "mktdata" : {
|
||||
"class": "cvttpy.exchanges.proxies.md_portal_clnt.mkt_data.MktDataPortalFeed"
|
||||
, "portal_name": "MD_PORTAL_COINBS_02"
|
||||
, "portal_name": "MD_PORTAL_COINBS_01"
|
||||
}
|
||||
|
||||
}
|
||||
, "MD_PORTAL": {
|
||||
"exchange_id": "MD_PORTAL"
|
||||
, "name": "MD Portal (proxy)"
|
||||
, "type": "PROXY"
|
||||
# ---------------------------- G
|
||||
, "GEMINI": {
|
||||
"exchange_id": "GEMINI"
|
||||
, "name": "Gemini"
|
||||
, "type": "SPOT"
|
||||
|
||||
, "module" : "cvttpy.oms.exchange"
|
||||
, "connector_class" : "MdOnlyExchangeConnector"
|
||||
|
||||
, "mktdata" : {
|
||||
"class": "cvttpy.exchanges.proxies.md_portal_clnt.mkt_data.MktDataPortalFeed"
|
||||
"class": "cvttpy.exchanges.gemini.mkt_data.GeminiMdFeed"
|
||||
, "reconnect_secs": 1
|
||||
|
||||
, "ws_url": ["WSS" , "wss://api.gemini.com/v2/marketdata"]
|
||||
}
|
||||
}
|
||||
|
||||
# ---------------------------- M
|
||||
, "MD_PORTAL_ALPACA_02": {
|
||||
"exchange_id": "MD_PORTAL"
|
||||
, "name": "MD Portal (proxy)"
|
||||
@@ -332,7 +388,18 @@
|
||||
, "channel_prefix": "MD_ALPACA_02"
|
||||
}
|
||||
}
|
||||
, "MD_PORTAL_COINBS_02": {
|
||||
, "MD_PORTAL_ALPACA_03": {
|
||||
"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-03"
|
||||
, "channel_prefix": "MD_ALPACA_03"
|
||||
}
|
||||
}
|
||||
, "MD_PORTAL_COINBS_01": {
|
||||
"exchange_id": "MD_PORTAL"
|
||||
, "name": "MD Portal (proxy)"
|
||||
, "type": "PROXY"
|
||||
@@ -340,7 +407,7 @@
|
||||
, "mktdata" : {
|
||||
"class": "cvttpy.exchanges.proxies.md_portal_clnt.mkt_data.MktDataPortalFeed"
|
||||
, "redis_settings": "cvtt-prod-02"
|
||||
, "channel_prefix": "MD_COINBS_02"
|
||||
, "channel_prefix": "MD_COINBS_01"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user