Documentation menu

Interface

Anchor

Properties

NameTypeDescription
timenumber | bigint | Date

UTC ms (a Date is accepted too; anchors read back are numbers).

pricenumber

Declaration

export interface Anchor {
    time: number | bigint | Date;
    price: number;
}

Used by

DrawingData, Drawings