chore: improved type ordering

This commit is contained in:
Matthias 2024-08-15 07:30:21 +02:00
parent 646ed50f37
commit 04cdd807ba

View File

@ -16,6 +16,9 @@ class Ticker(TypedDict):
# Several more - only listing required.
Tickers = Dict[str, Ticker]
class OrderBook(TypedDict):
symbol: str
bids: List[Tuple[float, float]]
@ -33,7 +36,6 @@ class CcxtBalance(TypedDict):
CcxtBalances = Dict[str, CcxtBalance]
Tickers = Dict[str, Ticker]
# pair, timeframe, candleType, OHLCV, drop last?,
OHLCVResponse = Tuple[str, str, CandleType, List, bool]