feat: add supports_demo_trading ft_has key

This commit is contained in:
Matthias
2026-04-06 20:07:59 +02:00
parent 8e62158145
commit 86b8eae344
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -35,6 +35,9 @@ class Bybit(Exchange):
# TODO: Can be removed once bybit fully forces all accounts to unified mode.
"fetchOrder": False,
},
# Demo trading
# https://learn.bybit.com/en/bybit-guide/how-to-use-bybit-demo-trading
"supports_demo_trading": True,
}
_ft_has_futures: FtHas = {
"ohlcv_has_history": True,
+2
View File
@@ -67,6 +67,8 @@ class FtHas(TypedDict, total=False):
# Delisting check
has_delisting: bool
# Demo mode - this is not sandbox but an exchange-provided demo mode.
supports_demo_trading: bool
class Ticker(TypedDict):