@cranberry-money/shared-constants
Version:
Shared constants for Blueberry platform
38 lines • 1.57 kB
TypeScript
export declare const INSTRUMENT_STATUS: {
readonly ACTIVE: "ACTIVE";
readonly INACTIVE: "INACTIVE";
readonly DELISTED: "DELISTED";
readonly SUSPENDED: "SUSPENDED";
};
export declare const INSTRUMENT_STATUS_VALUES: {
readonly ACTIVE: "active";
readonly INACTIVE: "inactive";
readonly DELISTED: "delisted";
readonly SUSPENDED: "suspended";
};
export type InstrumentStatus = (typeof INSTRUMENT_STATUS)[keyof typeof INSTRUMENT_STATUS];
export declare const INSTRUMENT_STATUS_LABELS: Record<InstrumentStatus, string>;
export declare const TRADING_STATUS: {
readonly TRADING: "TRADING";
readonly HALTED: "HALTED";
readonly CLOSED: "CLOSED";
readonly PRE_MARKET: "PRE_MARKET";
readonly AFTER_HOURS: "AFTER_HOURS";
};
export declare const TRADING_STATUS_VALUES: {
readonly TRADING: "trading";
readonly HALTED: "halted";
readonly CLOSED: "closed";
readonly PRE_MARKET: "pre_market";
readonly AFTER_HOURS: "after_hours";
readonly SUSPENDED: "suspended";
};
export type TradingStatus = (typeof TRADING_STATUS)[keyof typeof TRADING_STATUS];
export declare const TRADING_STATUS_LABELS: Record<TradingStatus, string>;
export declare const INSTRUMENT_STATUS_ACTIVE: "active";
export declare const INSTRUMENT_STATUS_INACTIVE: "inactive";
export declare const INSTRUMENT_STATUS_SUSPENDED: "suspended";
export declare const TRADING_STATUS_TRADING: "trading";
export declare const TRADING_STATUS_HALTED: "halted";
export declare const TRADING_STATUS_SUSPENDED: "suspended";
//# sourceMappingURL=instruments.d.ts.map