mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
28 lines
489 B
Python
28 lines
489 B
Python
from typing import TypedDict, Optional
|
|
|
|
class Ticker(TypedDict):
|
|
chanId: int; symbol: str
|
|
pair: Optional[str]
|
|
currency: Optional[str]
|
|
|
|
class Trades(TypedDict):
|
|
chanId: int; symbol: str
|
|
pair: Optional[str]
|
|
currency: Optional[str]
|
|
|
|
class Book(TypedDict):
|
|
chanId: int
|
|
symbol: str
|
|
prec: str
|
|
freq: str
|
|
len: str
|
|
subId: int
|
|
pair: str
|
|
|
|
class Candles(TypedDict):
|
|
chanId: int
|
|
key: str
|
|
|
|
class Status(TypedDict):
|
|
chanId: int
|
|
key: str |