From 7c10921564bd71e19b44da099f246eef0d7bd34e Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 15 Feb 2023 07:15:54 +0100 Subject: [PATCH] Improve Orderbook typing to align for diff. exchanges --- freqtrade/exchange/types.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/exchange/types.py b/freqtrade/exchange/types.py index 1b71c9708..5568e4336 100644 --- a/freqtrade/exchange/types.py +++ b/freqtrade/exchange/types.py @@ -19,9 +19,9 @@ class OrderBook(TypedDict): symbol: str bids: List[Tuple[float, float]] asks: List[Tuple[float, float]] - timestamp: int - datetime: str - nonce: int + timestamp: Optional[int] + datetime: Optional[str] + nonce: Optional[int] Tickers = Dict[str, Ticker]