From 04cdd807bab15701f565516ac9d955ec79e808ac Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 15 Aug 2024 07:30:21 +0200 Subject: [PATCH] chore: improved type ordering --- freqtrade/exchange/types.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/exchange/types.py b/freqtrade/exchange/types.py index 564505289..357b3a40f 100644 --- a/freqtrade/exchange/types.py +++ b/freqtrade/exchange/types.py @@ -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]