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

    Interface AlertInit

    Input accepted by AlertManager.add / OHLCVChart.addAlert. Only price is required; condition defaults to 'crossing', the alert starts active, and an id is generated when one is not supplied.

    interface AlertInit {
        condition?: AlertCondition;
        id?: string;
        message?: string;
        price: number;
    }
    Index

    Properties

    condition?: AlertCondition

    Trigger semantics. Default: 'crossing'.

    id?: string

    Supply a stable id (e.g. when restoring persisted state); else generated.

    message?: string

    Optional human-readable note.

    price: number

    Price level the alert watches.