feat: add supports_demo_trading ft_has key
This commit is contained in:
@@ -35,6 +35,9 @@ class Bybit(Exchange):
|
|||||||
# TODO: Can be removed once bybit fully forces all accounts to unified mode.
|
# TODO: Can be removed once bybit fully forces all accounts to unified mode.
|
||||||
"fetchOrder": False,
|
"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 = {
|
_ft_has_futures: FtHas = {
|
||||||
"ohlcv_has_history": True,
|
"ohlcv_has_history": True,
|
||||||
|
|||||||
@@ -67,6 +67,8 @@ class FtHas(TypedDict, total=False):
|
|||||||
|
|
||||||
# Delisting check
|
# Delisting check
|
||||||
has_delisting: bool
|
has_delisting: bool
|
||||||
|
# Demo mode - this is not sandbox but an exchange-provided demo mode.
|
||||||
|
supports_demo_trading: bool
|
||||||
|
|
||||||
|
|
||||||
class Ticker(TypedDict):
|
class Ticker(TypedDict):
|
||||||
|
|||||||
Reference in New Issue
Block a user