interface EvaluateOptions {
    ohlc?: "close" | "interval";
    primary?: string;
}

Properties

Properties

ohlc?: "close" | "interval"

'close' (default) evaluates only the closes, giving a flat bar whose four values are equal: exact, and honest about what two OHLC bars can support. 'interval' additionally bounds the high and low as described above.

primary?: string

The leg whose bars define the time grid. Defaults to the first symbol. Every other leg is matched to it by timestamp; a bar with no match on some leg produces a gap rather than a guess.