const Date = @import("../Date.zig");

/// A single OHLCV bar, normalized from any provider.
pub const Candle = struct {
    date: Date,
    open: f64,
    high: f64,
    low: f64,
    close: f64,
    /// Close price adjusted for splits and dividends (for total return calculations).
    /// If the provider does not supply this, it equals `close`.
    adj_close: f64,
    volume: u64,
};
