Improve Orderbook typing to align for diff. exchanges

This commit is contained in:
Matthias 2023-02-15 07:15:54 +01:00
parent a11f081d2d
commit 7c10921564

View File

@ -19,9 +19,9 @@ class OrderBook(TypedDict):
symbol: str symbol: str
bids: List[Tuple[float, float]] bids: List[Tuple[float, float]]
asks: List[Tuple[float, float]] asks: List[Tuple[float, float]]
timestamp: int timestamp: Optional[int]
datetime: str datetime: Optional[str]
nonce: int nonce: Optional[int]
Tickers = Dict[str, Ticker] Tickers = Dict[str, Ticker]