ChemPal Documentation - v1.6.0
    Preparing search index...

    Summary of the last price move for a series, from describeTrend.

    interface PriceTrend {
        direction: TrendDirection;
        deltaUsd: number;
        pctChange: number;
    }
    Index

    Properties

    direction: TrendDirection

    Whether the latest point is higher, lower, or equal to the one before it.

    deltaUsd: number

    Signed USD change between the last two points (0 when fewer than two).

    pctChange: number

    Percent change between the last two points (0 when fewer than two, or prior is 0).