Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

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.