# QuantLib: How to compute the forward rate using historical fixing rate and discount factor data

Let's say the valuation date is 08/24/2023. The effective date and maturity date of the swap are 03/12/2022 and 01/10/2024. I want to apply the given historical fixing rates till the valuation date and thereafter apply the forwards from the valuation date till maturity using discount factor data. I want to compute the forward rate as of the valuation date. How can I achieve this without altering the given discount factor data?

Given discount factor data is

CurveDate   Curve   MaturityDate    Df
08/24/2023  DKK 08/24/2023  1
08/24/2023  DKK 08/25/2023  0.9994925
08/24/2023  DKK 08/26/2023  0.998985
08/24/2023  DKK 08/27/2023  0.998478

Given Fixing data as

Fixingdate  Fixingdate
3/11/2022   11.65
3/12/2022   13.65
------- so on
08/23/2023  17.45
08/24/2023  16.35

• Commented Jan 4 at 20:49
• @DimitriVulis Yes I saw the post but how to get the forward rate using a hybrid approach using a fixing rate and the forward rate using discount factors? Commented Jan 5 at 3:22
• Hi, did I interpreted your question correctly? Are you looking to use historical fixings and the corresponding discounting curve to value an interest rate swap? Commented Jan 5 at 11:52
• @Xiarpedia No. As you see in the post, Fixing rates are available before the valuation date, and the discount factor is available after the valuation date. So to get the forward rate, we can use the Fixing rate as is values, and after the valuation date, we can construct a forward curve. By combining, we can generate the Forward rate as of the valuation date. Commented Jan 5 at 16:26