Fix bug in bfxapi.websocket.subscriptions.

This commit is contained in:
Davide Casale
2023-04-20 01:41:08 +02:00
parent d80b8b8721
commit 1f9d1b719e
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ __all__ = [
_Header = TypedDict("_Header", { "event": Literal["subscribed"], "channel": str, "chanId": int })
Subscription = Union["Ticker", "Trades", "Book", "Candles", "Status"]
Subscription = Union[_Header, "Ticker", "Trades", "Book", "Candles", "Status"]
class Ticker(TypedDict):
subId: str