Longbridge OpenAPI SDK
    Preparing search index...

    Interface AlertItem

    One price alert

    interface AlertItem {
        id: string;
        indicatorId: string;
        enabled: boolean;
        frequency: number;
        scope: number;
        text: string;
        state: number[];
        valueMap: any;
    }
    Index

    Properties

    id: string

    Alert ID

    indicatorId: string

    Condition: "1"=price_rise, "2"=price_fall, "3"=pct_rise, "4"=pct_fall

    enabled: boolean

    Whether the alert is active

    frequency: number

    Frequency: 1=daily, 2=every_time, 3=once

    scope: number

    Scope

    text: string

    Display text, e.g. "价格涨到 600"

    state: number[]

    Trigger state flags

    valueMap: any

    Trigger value: {"price":"500"} or {"chg":"5"}