When looking up a forex rate, and no rates exist for the requested date, it will go back up to 4 days as the requested date may fall on a weekend or a holiday.
The effective timestamp for which forex rates are reported are added to the QueriedExchangeRate struct and consequently later to the ExchangeRateMetadata struct, so the user can see what date the forex rates that were used are from.
This PR adds the following:
QueriedExchangeRate
struct and consequently later to theExchangeRateMetadata
struct, so the user can see what date the forex rates that were used are from.