FX Forward Rates
Calculates FX forward rates by covered interest parity: the exchange rate, agreed today, at which currencies are exchanged at a future date.
Exchanging today and depositing abroad, or depositing at home and exchanging forward, must give the same, so the forward rate is the spot rate carried at the difference between the two currencies’ interest rates: the currency with the higher rate trades at a forward discount (Hull, 2022, Options, Futures and Other Derivatives, ch. 5.10).
The formula is as follows:
\[\text{Forward Rate} = \text{Spot Rate} \cdot \left(\frac{1 + r_{\text{country}}(T)}{1 + r_{\text{base}}(T)}\right)^{T}\] \[\text{Forward Points} = (\text{Forward Rate} - \text{Spot Rate}) \cdot \text{10,000}\]where the Spot Rate is in units of the country’s currency per unit of the base country’s currency, from the daily exchange rates against the US dollar the Bank for International Settlements compiles (the last day with a rate on or before the date), and r_country(T) and \(r_{\text{base}} (T)\) are the annually compounded zero rates of the two currencies at the tenor T in years (a month is a twelfth of a year). The value of a forward you hold follows from forward_model.get_fx_forward_rate.
The default curves are EIOPA’s risk-free rate term structures, which EIOPA derives from the swap rates of each currency and publishes at each month end for the euro and about 20 other currencies; they start at 1 year, so a shorter tenor uses the 1-year zero rate. The government curves are the zero-coupon curves of the government bond yield curves of the date, whose bills price the first months, for the countries that have one (see get_zero_coupon_curve).
Also known as: FX forward, currency forward, forward exchange rate, forward points, swap points, covered interest parity, outright forward.
Example · 2026
Install the Finance Toolkit with pip install financetoolkit -U, then call get_fx_forward_rates:
from financetoolkit import FixedIncome
fixedincome = FixedIncome(start_date='2026-11-01', end_date='2026-11-20')
fixedincome.get_fx_forward_rates()
Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:
What were the forward exchange rates of the dollar against the euro, pound, yen, Swiss franc, Canadian and Australian dollar from 1 month to 10 years on 20 November 2026?
Which returns:
| Country | Spot Rate | 1M | 3M | 6M | 1Y | 2Y | 5Y | 10Y |
|---|---|---|---|---|---|---|---|---|
| Euro Area | 0.9099 | 0.9090 | 0.9072 | 0.9045 | 0.8992 | 0.8895 | 0.8608 | 0.8100 |
| United Kingdom | 0.7619 | 0.7620 | 0.7622 | 0.7625 | 0.7631 | 0.7660 | 0.7733 | 0.7866 |
| Japan | 158.6440 | 158.2950 | 157.6000 | 156.5620 | 154.5070 | 150.9280 | 142.5480 | 132.8750 |
| Switzerland | 0.8392 | 0.8363 | 0.8305 | 0.8220 | 0.8051 | 0.7743 | 0.6936 | 0.5756 |
| Canada | 1.4307 | 1.4291 | 1.4259 | 1.4212 | 1.4119 | 1.3972 | 1.3604 | 1.3113 |
| Australia | 1.5002 | 1.5011 | 1.5030 | 1.5057 | 1.5113 | 1.5167 | 1.5414 | 1.5993 |
6 rows
Parameters
get_fx_forward_rates accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
countries | list[str] | str | None | The countries or currency areas whose currency is quoted, as EIOPA and the BIS name them (e.g. “Euro Area”, “Japan”). Defaults to None, the Euro Area, the United Kingdom, Japan, Switzerland, Canada and Australia. | ["United States", "Germany"] |
base_country | str | The country of the base currency, one unit of which the rates are quoted against. Defaults to “United States”. | "United States" |
tenors | float | str | list | None | The tenors, in years or as labels such as ‘3M’ or ‘5Y’. Defaults to None, 1, 3 and 6 months and 1, 2, 5 and 10 years. | None, 1, 3 and 6 months and 1, 2, 5 and 10 years |
curve | str | The discount curves. Options are: “eiopa” (EIOPA’s risk-free rate term structures of the last month end on or before the date), “government” (the zero-coupon curves of the government bond yield curves of the date). Defaults to “eiopa”. | "eiopa" |
points | bool | Whether to return the forward points, (Forward Rate - Spot Rate) * 10,000, instead of the forward rates. Defaults to False. | False |
date | str | None | The day (YYYY-MM-DD). Defaults to None, the end date. | "2025-03-31" |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the class. | 2 |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
References
- Library Referenced against rateslib’s forward_fx
- Library Shares similar logic as QuantLib’s FxForward
- Library Shares similar logic as FinancePy’s FXForward