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
|
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]
|
||||||
|
Loading…
Reference in New Issue
Block a user