Documentation
¶
Overview ¶
Package fx (piece ⑤) downloads the European Central Bank's daily reference rates: free, no API key, about 30 currencies (ADR 0008). Rates are stored with their date so past charges can be valued at their own day's rate.
Index ¶
Constants ¶
View Source
const ( DailyURL = "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml" Hist90 = "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml" )
Sources: the latest day, and the last 90 days for backfill.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Updater ¶
Updater keeps the rates table fresh. It is a supervised service.
Click to show internal directories.
Click to hide internal directories.