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

    Interface DisparityIndexOptions<S, Output>

    interface DisparityIndexOptions<S extends SeriesSchema, Output extends string> {
        column?: NumericColumnNameForSchema<S>;
        maType?: MaType;
        output?: Output;
        period?: number;
    }

    Type Parameters

    • S extends SeriesSchema
    • Output extends string
    Index

    Properties

    column?: NumericColumnNameForSchema<S>

    Source column, read both as the price and as the average's input. Default 'close'.

    maType?: MaType

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

    output?: Output

    Appended column name. Default 'disparity'.

    period?: number

    Moving-average length in bars. Default 14.