Longbridge OpenAPI SDK
    Preparing search index...

    Class AlertContext

    Price alert management context.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Add a price alert for a security.

      triggerValue is a price or percentage string depending on condition.

      Parameters

      Returns Promise<void>

    • Update a price alert.

      Pass the [AlertItem] obtained from list. Set item.enabled to true to re-enable or false to disable before calling this method.

      Parameters

      Returns Promise<void>

    • Delete one or more price alerts by ID.

      Parameters

      • alertIds: string[]

      Returns Promise<void>