@pond-ts/financial API Reference
    Preparing search index...

    Interface RainbowOptions<S, Prefix>

    interface RainbowOptions<S extends SeriesSchema, Prefix extends string> {
        column?: NumericColumnNameForSchema<S>;
        period?: number;
        prefix?: Prefix;
        type?: MaType;
    }

    Type Parameters

    • S extends SeriesSchema
    • Prefix extends string
    Index

    Properties

    column?: NumericColumnNameForSchema<S>

    Source column. Default 'close'.

    period?: number

    Length of each average in bars. Default 2, Widner's own.

    prefix?: Prefix

    Column-family prefix — appends ${prefix}1 … ${prefix}10. Default 'rainbow'.

    type?: MaType

    Which moving average — any of the shared MaType menu. Default 'sma'.