Skip to content

StockHistoricalQuote

Defined in: packages/engine/src/packages/stocks/types.ts:10

A historical stock quote for one calendar date, as returned by a host-supplied fetchHistoricalQuote.

close: number;

Defined in: packages/engine/src/packages/stocks/types.ts:12

Closing price on the requested date, in currency (default “USD”).


optional currency?: string;

Defined in: packages/engine/src/packages/stocks/types.ts:16

ISO 4217 currency code. Defaults to “USD” if omitted.


optional volume?: number;

Defined in: packages/engine/src/packages/stocks/types.ts:14

Trading volume (share count) on the requested date, if available.