forinvest-cli
    Preparing search index...

    Interface IPerformanceCompareRepo

    interface IPerformanceCompareRepo {
        getPCLast(
            codes: string[],
            period: string,
            last: string,
            cur: string,
        ): Promise<PerformanceCompareResponse>;
    }
    Index

    Methods

    Methods

    • Parameters

      • codes: string[]

        definition code multiple code can be set with comma separator ex: GARAN,AKBNK,ISCTR

      • period: string

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

      • last: string

        Max value: 1440

      • cur: string

        Currency type for stock value, comparision is made with this currency, user can set multiple currency type

      Returns Promise<PerformanceCompareResponse>