Basis Swap

Last updated 9 November 2026

Function reference › Interest Rate Derivatives › Basis Swap

4 GIAnalyzer functions for Excel. Optional arguments are shown in [brackets].

GIA_IRD_BasisSwap_LastResetDateP

Returns the last reset date of the reference interest rate in the pay leg in a basis swap.

GIA_IRD_BasisSwap_LastResetDateP(EDate, EfDateP, CFrP, DR, VDate)

Returns: Last reset date of the reference interest rate in the pay leg in a basis swap

ArgumentUseDescription
EDateRequiredThe expiry date.
EfDatePRequiredThe original effective date in the pay leg of the swap.
CFrPRequiredThe frequency of coupons (Annual, SemiAnnual, Quarterly, Monthly)
DRRequiredThe date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment)
VDateRequiredThe value date.

See also: GIA_IRD_BasisSwap_LastResetDateR, GIA_IRD_BasisSwap_Risk, GIA_IRD_BasisSwap_Value

GIA_IRD_BasisSwap_LastResetDateR

Returns the last reset date of the reference interest rate in the receive leg in a basis swap.

GIA_IRD_BasisSwap_LastResetDateR(EDate, EfDateR, CFrR, DR, VDate)

Returns: Last reset date of the reference interest rate in the receive leg in a basis swap

ArgumentUseDescription
EDateRequiredThe expiry date.
EfDateRRequiredThe original effective date in the receive leg of the swap.
CFrRRequiredThe frequency of coupons in the receive leg of the swap (Annual, SemiAnnual, Quarterly, Monthly)
DRRequiredThe date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment)
VDateRequiredThe value date.

See also: GIA_IRD_BasisSwap_LastResetDateP, GIA_IRD_BasisSwap_Risk, GIA_IRD_BasisSwap_Value

GIA_IRD_BasisSwap_Risk

Returns the risk measures (DV01, Macaulay Duration, Modified Duration) of a basis swap.

GIA_IRD_BasisSwap_Risk(Notional, EDate, DR, SpP, LRP, EfDateP, CFrP, DaysP, SpR, LRR, EfDateR, CFrR, DaysR, DCurveDates, DCurveRates, FCurveDatesP, FCurveRatesP, FCurveDatesR, FCurveRatesR, VDate, SDate, NE0, NE1, Comp, Days, Interp, RM, OT)

Returns: Risk measures (DV01, Macaulay Duration, Modified Duration) of a basis swap

ArgumentUseDescription
NotionalRequiredThe notional amount.
EDateRequiredThe expiry date.
DRRequiredThe date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment)
SpPRequiredThe spread (in basis points) in the pay leg of the swap.
LRPRequiredThe last reset rate of the reference interest rate in the pay leg of the swap.
EfDatePRequiredThe original effective date in the pay leg of the swap.
CFrPRequiredThe frequency of coupons in the pay leg of the swap (Annual, SemiAnnual, Quarterly, Monthly)
DaysPRequiredThe time basis in the pay leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360)
SpRRequiredThe spread (in basis points) in the receive leg of the swap.
LRRRequiredThe last reset rate of the reference interest rate in the receive leg of the swap.
EfDateRRequiredThe original effective date in the receive leg of the swap.
CFrRRequiredThe frequency of coupons in the receive leg of the swap (Annual, SemiAnnual, Quarterly, Monthly)
DaysRRequiredThe time basis in the receive leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360)
DCurveDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows.
DCurveRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows.
FCurveDatesPRequiredThe array of dates in the interest rate curve used for calculating forward interest rates, in the pay leg of the swap.
FCurveRatesPRequiredThe array of rates in the interest rate curve used for calculating forward interest rates, in the pay leg of the swap.
FCurveDatesRRequiredThe array of dates in the interest rate curve used for calculating forward interest rates, in the receive leg of the swap.
FCurveRatesRRequiredThe array of rates in the interest rate curve used for calculating forward interest rates, in the receive leg of the swap.
VDateRequiredThe value date.
SDateRequiredThe spot date.
NE0RequiredWhether the notional amount is being exchanged at the start. (Yes, No)
NE1RequiredWhether the notional amount is being exchanged at expiry. (Yes, No)
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysRequiredThe time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
RMRequiredThe risk measure type (DV01, MacaulayDuration, ModifiedDuration)
OTRequiredThe output type of the value/risk. (PayLeg, ReceiveLeg, Total)

See also: GIA_IRD_BasisSwap_LastResetDateP, GIA_IRD_BasisSwap_LastResetDateR, GIA_IRD_BasisSwap_Value

GIA_IRD_BasisSwap_Value

Returns the value of a basis swap.

GIA_IRD_BasisSwap_Value(Notional, EDate, DR, SpP, LRP, EfDateP, CFrP, DaysP, SpR, LRR, EfDateR, CFrR, DaysR, DCurveDates, DCurveRates, FCurveDatesP, FCurveRatesP, FCurveDatesR, FCurveRatesR, VDate, SDate, NE0, NE1, Comp, Days, Interp, OT)

Returns: Value of a basis swap

ArgumentUseDescription
NotionalRequiredThe notional amount.
EDateRequiredThe expiry date.
DRRequiredThe date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment)
SpPRequiredThe spread (in basis points) in the pay leg of the swap.
LRPRequiredThe last reset rate of the reference interest rate in the pay leg of the swap.
EfDatePRequiredThe original effective date in the pay leg of the swap.
CFrPRequiredThe frequency of coupons in the pay leg of the swap (Annual, SemiAnnual, Quarterly, Monthly)
DaysPRequiredThe time basis in the pay leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360)
SpRRequiredThe spread (in basis points) in the receive leg of the swap.
LRRRequiredThe last reset rate of the reference interest rate in the receive leg of the swap.
EfDateRRequiredThe original effective date in the receive leg of the swap.
CFrRRequiredThe frequency of coupons in the receive leg of the swap (Annual, SemiAnnual, Quarterly, Monthly)
DaysRRequiredThe time basis in the receive leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360)
DCurveDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows.
DCurveRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows.
FCurveDatesPRequiredThe array of dates in the interest rate curve used for calculating forward interest rates, in the pay leg of the swap.
FCurveRatesPRequiredThe array of rates in the interest rate curve used for calculating forward interest rates, in the pay leg of the swap.
FCurveDatesRRequiredThe array of dates in the interest rate curve used for calculating forward interest rates, in the receive leg of the swap.
FCurveRatesRRequiredThe array of rates in the interest rate curve used for calculating forward interest rates, in the receive leg of the swap.
VDateRequiredThe value date.
SDateRequiredThe spot date.
NE0RequiredWhether the notional amount is being exchanged at the start. (Yes, No)
NE1RequiredWhether the notional amount is being exchanged at expiry. (Yes, No)
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysRequiredThe time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
OTRequiredThe output type of the value/risk. (PayLeg, ReceiveLeg, Total)

See also: GIA_IRD_BasisSwap_LastResetDateP, GIA_IRD_BasisSwap_LastResetDateR, GIA_IRD_BasisSwap_Risk