forinvest-cli
    Preparing search index...

    Interface ICorrelationRepo

    interface ICorrelationRepo {
        getCorrelation(
            codes: string[],
            period: string,
            last: string,
        ): Promise<CorrelationResponse[]>;
    }
    Index

    Methods

    • Parameters

      • codes: string[]

        Can be multiple codes

      • period: string

        for weekly w, monthly m, yearly m, for daily 1440

      • last: string

        Max value: 1400

      Returns Promise<CorrelationResponse[]>