Total Return Swap – TRS (RFR)

Last updated 9 November 2026

Function reference › Interest Rate Derivatives › Total Return Swap

1 GIAnalyzer function for Excel. Optional arguments are shown in [brackets].

GIA_IRD_TRSwithRFR_Value

Returns the value of a total return swap in which the underlying index in the funding leg is RFR (Risk Free Rates such as SOFR).

GIA_IRD_TRSwithRFR_Value(Position, Units, EDate, LRA, Dividend, AccrMethod, AccrStartDateF, ObservationShift, Sp, DaysF, AssetPrice, HDates, HRates, VDate, OT)

Returns: Value of a total return swap in which the underlying index in the funding leg is RFR (Risk Free Rates such as SOFR)

ArgumentUseDescription
PositionRequiredThe position in the TRS (PayAsset, ReceiveAsset)
UnitsRequiredThe number of units in the TRS.
EDateRequiredThe expiry date.
LRARequiredThe last reset asset price in the asset leg of the swap.
DividendRequiredNext dividend payment per one share.
AccrMethodRequiredThe accrual method used in the funding leg (Simple, Comp1 or Comp2).
AccrStartDateFRequiredThe start date of the current accrual period in the funding leg.
ObservationShiftRequiredThe floating rate observation shift in days.
SpRequiredThe spread (in basis points) in the funding leg of the swap.
DaysFRequiredThe time basis in the funding leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360)
AssetPriceRequiredThe current asset price.
HDatesRequiredThe array of dates of historical rates of the floating interest rate.
HRatesRequiredThe array of historical rates of the floating interest rate.
VDateRequiredThe value date.
OTRequiredThe output type of the value. (AssetLeg, FundingLeg, AssetLegDividendComponent, AssetLegPriceChangeComponent, Total)