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

    Interface CenterOfGravityOptions<S, Output>

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

    Type Parameters

    • S extends SeriesSchema
    • Output extends string
    Index

    Properties

    column?: NumericColumnNameForSchema<S>

    Source column. Default 'close'.

    output?: Output

    Name of the appended column. Default 'cog'.

    period?: number

    Look-back in bars. Default 10 (Ehlers').