/** * OHLCV WebSocket Event Types * * Types for OHLCV (Open, High, Low, Close, Volume) candlestick data events. */ import type { Candlestick, Interval } from "../../market"; import type { TradingMode } from "../../trading"; /** * OHLCV update event */ export interface OHLCVEvent { /** Trading pair ID (UUID) */ tradingPairId: string; /** Candlestick interval */ interval: Interval; /** Trading mode */ tradingMode: TradingMode; /** OHLCV candlestick data */ candlestick: Candlestick; } /** * OHLCV subscription configuration */ export interface OHLCVSubscriptionConfig { /** Trading pair ID (UUID) */ tradingPairId: string; /** Trading mode */ tradingMode: TradingMode; /** Candlestick interval */ interval: Interval; }