Improve Orderbook typing to align for diff. exchanges
This commit is contained in:
parent
a11f081d2d
commit
7c10921564
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user