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

    Interface EnvelopeOptions<S, Prefix>

    interface EnvelopeOptions<S extends SeriesSchema, Prefix extends string> {
        column?: NumericColumnNameForSchema<S>;
        maType?: "ema" | "sma";
        percent?: number;
        period: number;
        prefix?: Prefix;
    }

    Type Parameters

    • S extends SeriesSchema
    • Prefix extends string
    Index

    Properties

    column?: NumericColumnNameForSchema<S>

    Source column. Default 'close'.

    maType?: "ema" | "sma"

    Centre-line moving average. Default 'sma'.

    percent?: number

    Band half-width as a percent of the centre line. Default 2.5.

    period: number

    Window length in bars.

    prefix?: Prefix

    Column-family prefix — ${prefix}Middle / Upper / Lower. Default 'env'.