This commit is contained in:
Cryptoval Trading Technologies
2024-12-03 18:58:02 +00:00
parent cf62777b62
commit 8b109e933c
4 changed files with 211 additions and 148 deletions
+32
View File
@@ -3,6 +3,38 @@
{
"__DUMMY__": {}
# ----------------------------- A
, "ALPACA_SIM": {
# https://docs.alpaca.markets/reference/
"exchange_id": "ALPACA"
, "name": "Alpaca Trading"
, "type": "EQUITY"
, "mktdata" : {
"class": "cvttpy.exchanges.mkt_simulator.md_client.MktSimMdClientFeed"
"ws_url": ["WS", "ws://localhost:10180/ws"]
}
, "order_entry": {
"class": "cvttpy.exchanges.mkt_simulator.oe_client.MarketSimulatorOEClient"
, "REST": {
"new_order_url": ["POST", "http://localhost:10182/order"]
, "cancel_order_url": ["POST", "http://localhost:10182/cancel"]
, "cancel_all_url": ["POST", "http://localhost:10182/cancel_all"]
, "open_orders_url": ["GET", "http://localhost:10182/open_orders"]
, "order_status_url": ["GET", "http://localhost:10182/order_status"]
},
"ws_url": ["WSS", "ws://localhost:10181/ws"]
}
, "accounting": {
"class": "cvttpy.exchanges.mkt_simulator.acct_client.MktSimAccounting"
, "REST": {
"positions_url": ["GET", "http://localhost:10083/positions"]
, "trades_url": ["GET", "http://localhost:10083/trades"]
}
}
}
, "ALPACA_SNDBX": {
# https://docs.alpaca.markets/reference/
"exchange_id": "ALPACA"