def _candle_data_to_list(candle_data: list[list], symbol: str, interval: str) -> list[dict]:
    """Convert candlesticks historic table to candlestick list of dictionaries."""
    candle_list = []
    for candle in candle_data:
        candle_dict = {
            "t": candle[0],   # Kline start time
            "T": candle[6],   # Kline close time
            "s": symbol,      # Symbol
            "i": interval,    # Interval
            "f": 0,           # First trade ID
            "L": 0,           # Last trade ID
            "o": candle[1],   # Open price
            "c": candle[4],   # Close price
            "h": candle[2],   # High price
            "l": candle[3],   # Low price
            "v": candle[5],   # Base asset volume
            "n": candle[8],   # Number of trades
            "x": True,        # Is this kline closed?
            "q": candle[7],   # Quote asset volume
            "V": candle[9],   # Taker buy base asset volume
            "Q": candle[10],  # Taker buy quote asset volume
            "B": candle[11]   # Ignore
        }
        candle_list.append(candle_dict)
    return candle_list