add example, make sure to raise error on unsupported exchanges and/or trading mode

This commit is contained in:
Stefano
2025-09-22 15:55:36 +09:00
parent 07d5636d1e
commit 9c0d612729
6 changed files with 32 additions and 11 deletions

View File

@@ -166,6 +166,7 @@ class Exchange:
"proxy_coin_mapping": {}, # Mapping for proxy coins
# Expected to be in the format {"fetchOHLCV": True} or {"fetchOHLCV": False}
"ws_enabled": False, # Set to true for exchanges with tested websocket support
"has_delisting": False, # Set to true for exchanges that have delisting pair checks
}
_ft_has: FtHas = {}
_ft_has_futures: FtHas = {}