Stock event constants

Stable event names and exported values used by StockChart integrations.

Importar
import { STOCK_TIME_RANGE_CHANGE_EVENT } from "@sixtyfold/stock";

Usa el punto de entrada público indicado arriba. Las importaciones solo de tipos se eliminan del JavaScript de la aplicación.

STOCK_CROSSHAIR_MOVE_EVENT

Exported stock crosshair move event value.

Import @sixtyfold/stockconstant

STOCK_CROSSHAIR_MOVE_EVENT: "sixtyfold:crosshair-move"

STOCK_TIME_RANGE_CHANGE_EVENT

Exported stock time range change event value.

Import @sixtyfold/stockconstant

STOCK_TIME_RANGE_CHANGE_EVENT: "sixtyfold:time-range-change"

STOCK_TIME_RANGES

Exported stock time ranges value.

Import @sixtyfold/stockconstant

STOCK_TIME_RANGES: readonly ["1D", "5D", "1M", "3M", "6M", "YTD", "1Y", "5Y", "ALL"]

STOCK_VISIBLE_RANGE_CHANGE_EVENT

Exported stock visible range change event value.

Import @sixtyfold/stockconstant

STOCK_VISIBLE_RANGE_CHANGE_EVENT: "sixtyfold:visible-range-change"