from __future__ import annotations
from dataclasses import dataclass
from datetime import datetime


@dataclass
class Kline:
    symbol: str
    timeframe: str
    open_time: datetime
    close_time: datetime
    open: float
    high: float
    low: float
    close: float
    volume: float = 0.0
    is_closed: bool = True
    source: str = "other"
