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.
HistoricalRate
Defined in: packages/engine/src/uom/HistoricalCurrency.ts:56
A historical rate together with the day it was published for, when that is
not the day asked about (a weekend or a holiday answered with the last rate
before it). The conversion’s provenance records asOf as the rate’s day.
Properties
Section titled “Properties”readonly optional asOf?: string;Defined in: packages/engine/src/uom/HistoricalCurrency.ts:60
The ISO day (YYYY-MM-DD) the rate was published for. The day asked about when omitted.
readonly rate: number;Defined in: packages/engine/src/uom/HistoricalCurrency.ts:58
The value of 1 unit of the source currency in the target currency. A finite, positive number.