build 055: remove legacy Kline models
This commit is contained in:
@@ -88,32 +88,6 @@ class ExchangeMarketStatus:
|
||||
message: str
|
||||
|
||||
|
||||
# Одна свеча OHLCV.
|
||||
@dataclass(slots=True)
|
||||
class Kline:
|
||||
symbol: str
|
||||
interval: str
|
||||
|
||||
open_time: int
|
||||
|
||||
open_price: float
|
||||
high_price: float
|
||||
low_price: float
|
||||
close_price: float
|
||||
volume: float
|
||||
|
||||
source: str
|
||||
|
||||
|
||||
# Пакет свечей.
|
||||
@dataclass(slots=True)
|
||||
class KlineBatch:
|
||||
symbol: str
|
||||
interval: str
|
||||
candles: list[Kline]
|
||||
source: str
|
||||
|
||||
|
||||
# Информация о торговой комиссии для инструмента.
|
||||
@dataclass(slots=True)
|
||||
class TradingFee:
|
||||
|
||||
Reference in New Issue
Block a user