Generic Functions (RRS and zero coupon inflation swaps)

Last updated 9 November 2026

Function reference › Inflation Derivatives › Additional Functions

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

GIA_IND_Generic_KRArray

Returns the value of an RRS or ZCSwap.

GIA_IND_Generic_KRArray(Type, EDt, FPPD, PFr, PPP, DR, TLag, NE0, NE1, CTerm, PLeg, PN, PFx, PBCPI, PFl, PSp, PEfD, PCFr, PDays, RLeg, RN, RFx, PBCPI, RFl, RSp, REfD, RCfr, RDays, PCComp, PCDays, RCComp, RCDays, PDDates, PDRates, PFDates, PFRates, RDDates, RDRates, RFDates, RFRates, Seas, VDt, SDt, Int, VLag, S, CurP, RM, OT, OC)

Returns: Value of an RRS or ZCSwap

ArgumentUseDescription
TypeRequiredThe type of IND (ZC, RRSFix, RRSFloat).
EDtRequiredThe expiry date of the IND.
FPPDRequiredThe first date of the principal payment.
PFrRequiredThe frequency of principal payments (Annual, SemiAnnual, Quarterly, Monthly)
PPPRequiredThe percent of the principal in each payment.
DRRequiredThe date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment)
TLagRequiredThe difference in months between the month of the target date and the last month included in the latest CPI.
NE0RequiredWhether the notional amount is being exchanged at the start. (Yes, No)
NE1RequiredWhether the notional amount is being exchanged at expiry. (Yes, No)
CTermRequiredThe coupon rate periodicity (Annual, Total)
PLegRequiredThe type of the pay leg (Float, Fixed, Inflation).
PNRequiredThe notional amount in the pay leg.
PFxRequiredThe fixed rate in the pay leg.
PBCPIRequiredThe base CPI in the pay leg.
PFlRequiredThe type of floating interest rate in the pay leg (RFR, IBOR).
PSpRequiredThe spread (in basis points) in the pay leg.
PEfDRequiredThe effective date of the pay leg.
PCFrRequiredThe coupon frequency in the pay leg.
PDaysRequiredThe time basis method in the pay leg (act/360, act/365, act/act, 30E/360, 30I/360)
RLegRequiredThe type of the receive leg (Float, Fixed, Inflation).
RNRequiredThe notional amount in the receive leg.
RFxRequiredThe fixed rate in the receive leg.
PBCPIRequiredThe base CPI in the pay leg.
RFlRequiredThe type of floating interest rate in the receive leg (RFR, IBOR).
RSpRequiredThe spread (in basis points) in the receive leg.
REfDRequiredThe effective date of the receive leg.
RCfrRequiredThe coupon frequency in the receive leg.
RDaysRequiredThe time basis method in the receive leg (act/360, act/365, act/act, 30E/360, 30I/360)
PCCompRequiredThe compounding in the pay leg's interest rate curves (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
PCDaysRequiredThe time basis method in the pay leg's interest rate curve (act/360, act/365, act/act, 30E/360, 30I/360)
RCCompRequiredThe compounding in the receive leg's interest rate curves (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
RCDaysRequiredThe time basis method in the receive leg's interest rate curve (act/360, act/365, act/act, 30E/360, 30I/360)
PDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the pay leg.
PDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the pay leg.
PFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the pay leg.
PFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the pay leg.
RDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the receive leg.
RDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the receive leg.
RFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the receive leg.
RFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the receive leg.
SeasRequiredAn array of 12 numbers, each of which represents the difference between the average monthly inflation rate and the inflation rate in the specific month.
VDtRequiredThe value date.
SDtRequiredThe spot date.
IntRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
VLagRequiredThe difference in months between the month of the value date and the last month included in the latest CPI.
SRequiredThe FX spot rate.
CurPRequiredWhether the currency of the pay leg is base or counter (Base, Counter)
RMRequiredWhich curve's KR to calculate (IR, CPI)
OTRequiredThe output type of the value/risk. (PayLeg, ReceiveLeg, Total)
OCRequiredThe currency in which the value is expressed (Base, Counter, Own)

See also: GIA_IND_Generic_Risk, GIA_IND_Generic_RiskFromRow, GIA_IND_Generic_Value, GIA_IND_Generic_ValueFromRow

GIA_IND_Generic_Risk

Returns the risk of an RRS or ZCSwap

GIA_IND_Generic_Risk(Type, EDt, FPPD, PFr, PPP, DR, TLag, NE0, NE1, CTerm, PLeg, PN, PFx, PBCPI, PFl, PSp, PEfD, PCFr, PDays, RLeg, RN, RFx, PBCPI, RFl, RSp, REfD, RCfr, RDays, PCComp, PCDays, RCComp, RCDays, PDDs, PDRs, PFDs, PFRs, RDDs, RDRs, RFDs, RFRs, Seas, VDt, SDt, Int, VLag, S, CurP, RM, OT, OC, Start, End, Appr)

Returns: Risk of an RRS or ZCSwap

ArgumentUseDescription
TypeRequiredThe type of IND (ZC, RRSFix, RRSFloat).
EDtRequiredThe expiry date of the IND.
FPPDRequiredThe first date of the principal payment.
PFrRequiredThe frequency of principal payments (Annual, SemiAnnual, Quarterly, Monthly)
PPPRequiredThe percent of the principal in each payment.
DRRequiredThe date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment)
TLagRequiredThe difference in months between the month of the target date and the last month included in the latest CPI.
NE0RequiredWhether the notional amount is being exchanged at the start. (Yes, No)
NE1RequiredWhether the notional amount is being exchanged at expiry. (Yes, No)
CTermRequiredThe coupon rate periodicity (Annual, Total)
PLegRequiredThe type of the pay leg (Float, Fixed, Inflation).
PNRequiredThe notional amount in the pay leg.
PFxRequiredThe fixed rate in the pay leg.
PBCPIRequiredThe base CPI in the pay leg.
PFlRequiredThe type of floating interest rate in the pay leg (RFR, IBOR).
PSpRequiredThe spread (in basis points) in the pay leg.
PEfDRequiredThe effective date of the pay leg.
PCFrRequiredThe coupon frequency in the pay leg.
PDaysRequiredThe time basis method in the pay leg (act/360, act/365, act/act, 30E/360, 30I/360)
RLegRequiredThe type of the receive leg (Float, Fixed, Inflation).
RNRequiredThe notional amount in the receive leg.
RFxRequiredThe fixed rate in the receive leg.
PBCPIRequiredThe base CPI in the pay leg.
RFlRequiredThe type of floating interest rate in the receive leg (RFR, IBOR).
RSpRequiredThe spread (in basis points) in the receive leg.
REfDRequiredThe effective date of the receive leg.
RCfrRequiredThe coupon frequency in the receive leg.
RDaysRequiredThe time basis method in the receive leg (act/360, act/365, act/act, 30E/360, 30I/360)
PCCompRequiredThe compounding in the pay leg's interest rate curves (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
PCDaysRequiredThe time basis method in the pay leg's interest rate curve (act/360, act/365, act/act, 30E/360, 30I/360)
RCCompRequiredThe compounding in the receive leg's interest rate curves (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
RCDaysRequiredThe time basis method in the receive leg's interest rate curve (act/360, act/365, act/act, 30E/360, 30I/360)
PDDsRequiredThe array of dates in the interest rate curve used for discounting cash flows in the pay leg.
PDRsRequiredThe array of rates in the interest rate curve used for discounting cash flows in the pay leg.
PFDsRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the pay leg.
PFRsRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the pay leg.
RDDsRequiredThe array of dates in the interest rate curve used for discounting cash flows in the receive leg.
RDRsRequiredThe array of rates in the interest rate curve used for discounting cash flows in the receive leg.
RFDsRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the receive leg.
RFRsRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the receive leg.
SeasRequiredAn array of 12 numbers, each of which represents the difference between the average monthly inflation rate and the inflation rate in the specific month.
VDtRequiredThe value date.
SDtRequiredThe spot date.
IntRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
VLagRequiredThe difference in months between the month of the value date and the last month included in the latest CPI.
SRequiredThe FX spot rate.
CurPRequiredWhether the currency of the pay leg is base or counter (Base, Counter)
RMRequiredThe risk measure type (DV01, CPI01, MacaulayDuration, ModifiedDuration, KR01, BucketDV01, KRDuration, BucketDuration, KCPI01, KCPIDuration, BucketCPI01, BucketCPIDuration)
OTRequiredThe output type of the value/risk. (PayLeg, ReceiveLeg, Total)
OCRequiredThe currency in which the value is expressed (Base, Counter, Own)
StartRequiredThe starting term for Bucket and Key Rate measures.
EndRequiredThe ending term for Bucket and Key Rate measures.
ApprRequiredThe OIS float leg approximation type (None, DFRatio)

See also: GIA_IND_Generic_KRArray, GIA_IND_Generic_RiskFromRow, GIA_IND_Generic_Value, GIA_IND_Generic_ValueFromRow

GIA_IND_Generic_RiskFromRow

Returns the risk of an RRS or ZCSwap

GIA_IND_Generic_RiskFromRow(PortfolioEntry, PDDates, PDRates, PFDates, PFRates, RDDates, RDRates, RFDates, RFRates, Seas, VDt, SDt, Int, VLag, S, CurP, RM, OT, OC, Start, End, Appr)

Returns: Risk of an RRS or ZCSwap

ArgumentUseDescription
PortfolioEntryRequiredThe array of IND parameters.
PDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the pay leg.
PDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the pay leg.
PFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the pay leg.
PFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the pay leg.
RDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the receive leg.
RDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the receive leg.
RFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the receive leg.
RFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the receive leg.
SeasRequiredAn array of 12 numbers, each of which represents the difference between the average monthly inflation rate and the inflation rate in the specific month.
VDtRequiredThe value date.
SDtRequiredThe spot date.
IntRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
VLagRequiredThe difference in months between the month of the value date and the last month included in the latest CPI.
SRequiredThe FX spot rate.
CurPRequiredWhether the currency of the pay leg is base or counter (Base, Counter)
RMRequiredThe risk measure type (DV01, CPI01, MacaulayDuration, ModifiedDuration, KR01, BucketDV01, KRDuration, BucketDuration, KCPI01, KCPIDuration, BucketCPI01, BucketCPIDuration)
OTRequiredThe output type of the value/risk. (PayLeg, ReceiveLeg, Total)
OCRequiredThe currency in which the value is expressed (Base, Counter, Own)
StartRequiredThe starting term for Bucket and Key Rate measures.
EndRequiredThe ending term for Bucket and Key Rate measures.
ApprRequiredThe OIS float leg approximation type (None, DFRatio)

See also: GIA_IND_Generic_KRArray, GIA_IND_Generic_Risk, GIA_IND_Generic_Value, GIA_IND_Generic_ValueFromRow

GIA_IND_Generic_Value

Returns the value of an RRS or ZCSwap.

GIA_IND_Generic_Value(Type, EDt, FPPD, PFr, PPP, DR, TLag, NE0, NE1, CTerm, PLeg, PN, PFx, PBCPI, PFl, PSp, PEfD, PCFr, PDays, RLeg, RN, RFx, PBCPI, RFl, RSp, REfD, RCfr, RDays, PCComp, PCDays, RCComp, RCDays, PDDates, PDRates, PFDates, PFRates, RDDates, RDRates, RFDates, RFRates, Seas, VDt, SDt, Int, VLag, S, CurP, OT, OC)

Returns: Value of an RRS or ZCSwap

ArgumentUseDescription
TypeRequiredThe type of IND (ZC, RRSFix, RRSFloat).
EDtRequiredThe expiry date of the IND.
FPPDRequiredThe first date of the principal payment.
PFrRequiredThe frequency of principal payments (Annual, SemiAnnual, Quarterly, Monthly)
PPPRequiredThe percent of the principal in each payment.
DRRequiredThe date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment)
TLagRequiredThe difference in months between the month of the target date and the last month included in the latest CPI.
NE0RequiredWhether the notional amount is being exchanged at the start. (Yes, No)
NE1RequiredWhether the notional amount is being exchanged at expiry. (Yes, No)
CTermRequiredThe coupon rate periodicity (Annual, Total)
PLegRequiredThe type of the pay leg (Float, Fixed, Inflation).
PNRequiredThe notional amount in the pay leg.
PFxRequiredThe fixed rate in the pay leg.
PBCPIRequiredThe base CPI in the pay leg.
PFlRequiredThe type of floating interest rate in the pay leg (RFR, IBOR).
PSpRequiredThe spread (in basis points) in the pay leg.
PEfDRequiredThe effective date of the pay leg.
PCFrRequiredThe coupon frequency in the pay leg.
PDaysRequiredThe time basis method in the pay leg (act/360, act/365, act/act, 30E/360, 30I/360)
RLegRequiredThe type of the receive leg (Float, Fixed, Inflation).
RNRequiredThe notional amount in the receive leg.
RFxRequiredThe fixed rate in the receive leg.
PBCPIRequiredThe base CPI in the pay leg.
RFlRequiredThe type of floating interest rate in the receive leg (RFR, IBOR).
RSpRequiredThe spread (in basis points) in the receive leg.
REfDRequiredThe effective date of the receive leg.
RCfrRequiredThe coupon frequency in the receive leg.
RDaysRequiredThe time basis method in the receive leg (act/360, act/365, act/act, 30E/360, 30I/360)
PCCompRequiredThe compounding in the pay leg's interest rate curves (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
PCDaysRequiredThe time basis method in the pay leg's interest rate curve (act/360, act/365, act/act, 30E/360, 30I/360)
RCCompRequiredThe compounding in the receive leg's interest rate curves (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
RCDaysRequiredThe time basis method in the receive leg's interest rate curve (act/360, act/365, act/act, 30E/360, 30I/360)
PDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the pay leg.
PDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the pay leg.
PFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the pay leg.
PFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the pay leg.
RDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the receive leg.
RDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the receive leg.
RFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the receive leg.
RFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the receive leg.
SeasRequiredAn array of 12 numbers, each of which represents the difference between the average monthly inflation rate and the inflation rate in the specific month.
VDtRequiredThe value date.
SDtRequiredThe spot date.
IntRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
VLagRequiredThe difference in months between the month of the value date and the last month included in the latest CPI.
SRequiredThe FX spot rate.
CurPRequiredWhether the currency of the pay leg is base or counter (Base, Counter)
OTRequiredThe output type of the value/risk. (PayLeg, ReceiveLeg, Total)
OCRequiredThe currency in which the value is expressed (Base, Counter, Own

See also: GIA_IND_Generic_KRArray, GIA_IND_Generic_Risk, GIA_IND_Generic_RiskFromRow, GIA_IND_Generic_ValueFromRow

GIA_IND_Generic_ValueFromRow

Returns the value of an RRS or ZCSwap.

GIA_IND_Generic_ValueFromRow(PortfolioEntry, PDDates, PDRates, PFDates, PFRates, RDDates, RDRates, RFDates, RFRates, Season, VDate, SDate, Int, VLag, S, CurP, OT, OC)

Returns: Value of an RRS or ZCSwap

ArgumentUseDescription
PortfolioEntryRequiredThe array of IND parameters.
PDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the pay leg.
PDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the pay leg.
PFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the pay leg.
PFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the pay leg.
RDDatesRequiredThe array of dates in the interest rate curve used for discounting cash flows in the receive leg.
RDRatesRequiredThe array of rates in the interest rate curve used for discounting cash flows in the receive leg.
RFDatesRequiredThe array of dates in the interest rate curve used for calculating forward interest rates in the receive leg.
RFRatesRequiredThe array of rates in the interest rate curve used for calculating forward interest rates in the receive leg.
SeasonRequiredAn array of 12 numbers, each of which represents the difference between the average monthly inflation rate and the inflation rate in the specific month.
VDateRequiredThe value date.
SDateRequiredThe spot date.
IntRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
VLagRequiredThe difference in months between the month of the value date and the last month included in the latest CPI.
SRequiredThe FX spot rate.
CurPRequiredWhether the currency of the pay leg is base or counter (Base, Counter)
OTRequiredThe output type of the value/risk. (PayLeg, ReceiveLeg, Total)
OCRequiredThe currency in which the value is expressed (Base, Counter, Own

See also: GIA_IND_Generic_KRArray, GIA_IND_Generic_Risk, GIA_IND_Generic_RiskFromRow, GIA_IND_Generic_Value