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:

Parameters

get_fx_forward_rates accepts the following parameters.

ParameterTypeDescriptionExample
countrieslist[str] | str | NoneThe 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_countrystrThe country of the base currency, one unit of which the rates are quoted against. Defaults to “United States”."United States"
tenorsfloat | str | list | NoneThe 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
curvestrThe 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"
pointsboolWhether to return the forward points, (Forward Rate - Spot Rate) * 10,000, instead of the forward rates. Defaults to False.False
datestr | NoneThe day (YYYY-MM-DD). Defaults to None, the end date."2025-03-31"
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the class.2
show_columnsstr | list[str] | NoneThe 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
Share