@rekurt/openkline - v0.2.0
    Preparing search index...

    Interface Alert

    A configured price alert. active is the one-shot gate: a fired alert is flipped to false so it never re-triggers on subsequent ticks until the host explicitly re-arms it (AlertManager.setActive(id, true)).

    interface Alert {
        active: boolean;
        condition: AlertCondition;
        id: string;
        message?: string;
        price: number;
    }
    Index

    Properties

    active: boolean

    False once the alert has fired (one-shot) or was disabled by the host.

    condition: AlertCondition

    Trigger semantics — see AlertCondition.

    id: string

    Stable id assigned on creation (a_<n>), or the host-supplied one.

    message?: string

    Optional human-readable note delivered to the onAlert callback.

    price: number

    Price level the alert watches.