Double Barrier Option

Last updated 9 November 2026

Function reference › FX Derivatives › Double Barrier Options

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

GIA_FXD_DoubleBarrier_TV

Returns the theoretical value (TV) of an FX double barrier option, given volatility and interest rates of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TV(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVFromCurves

Returns the theoretical value (TV) of an FX double barrier option, given volatility and interest rate curves of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TVFromCurves(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve

Returns the theoretical value (TV) of an FX double barrier option, given volatility, the forward points curve and the interest rate curve of the base currency.

GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve

Returns the theoretical value (TV) of an FX double barrier option, given volatility, the forward points curve and the interest rate curve of the counter currency.

GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVFromSurface

Returns the theoretical value (TV) of an FX double barrier option, given a volatility surface and interest rates of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TVFromSurface(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves

Returns the theoretical value (TV) of an FX double barrier option, given a volatility surface and interest rate curves of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve

Returns the theoretical value (TV) of an FX double barrier option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.

GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve

Returns the theoretical value (TV) of an FX double barrier option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.

GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)

Returns: Theoretical value (TV) of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVGreeks

Returns the Greeks of an FX double barrier option, given volatility and interest rates of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TVGreeks(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeksFromCurves, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVGreeksFromCurves

Returns the Greeks of an FX double barrier option, given volatility and interest rate curves of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TVGreeksFromCurves(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve

Returns the Greeks of an FX double barrier option, given volatility, the forward points curve and the interest rate curve of the base currency.

GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndBaseCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndCounterCurve

Returns the Greeks of an FX double barrier option, given volatility, the forward points curve and the interest rate curve of the counter currency.

GIA_FXD_DoubleBarrier_TVGreeksFromPointsCurveAndCounterCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_TVGreeksFromSurface

Returns the Greeks of an FX double barrier option, given a volatility surface and interest rates of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TVGreeksFromSurface(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_TVGreeksFromSurfaceAndCurves

Returns the Greeks of an FX double barrier option, given a volatility surface and interest rate curves of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_TVGreeksFromSurfaceAndCurves(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_TVGreeksFromSurfacePointsCurveAndBaseCurve

Returns the Greeks of an FX double barrier option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.

GIA_FXD_DoubleBarrier_TVGreeksFromSurfacePointsCurveAndBaseCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_TVGreeksFromSurfacePointsCurveAndCounterCurve

Returns the Greeks of an FX double barrier option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.

GIA_FXD_DoubleBarrier_TVGreeksFromSurfacePointsCurveAndCounterCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)

Returns: Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VV

Returns the Vanna-Volga adjusted value of an FX double barrier option, given a volatility surface and interest rates of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_VV(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, TVForm, TVCur)

Returns: Vanna-Volga adjusted value of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VVFromCurves

Returns the Vanna-Volga adjusted value of an FX double barrier option, given a volatility surface and interest rate curves of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_VVFromCurves(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, Interp, TVForm, TVCur)

Returns: Vanna-Volga adjusted value of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VVFromPointsCurveAndBaseCurve

Returns the Vanna-Volga adjusted value of an FX double barrier option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.

GIA_FXD_DoubleBarrier_VVFromPointsCurveAndBaseCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, AdditionalAdjustment, Interp, TVForm, TVCur)

Returns: Vanna-Volga adjusted value of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of rates in the forward points curve.
CurveDatesBRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesBRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VVFromPointsCurveAndCounterCurve

Returns the Vanna-Volga adjusted value of an FX double barrier option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.

GIA_FXD_DoubleBarrier_VVFromPointsCurveAndCounterCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, AdditionalAdjustment, Interp, TVForm, TVCur)

Returns: Vanna-Volga adjusted value of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of rates in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VVGreeks

Returns the Vanna-Volga adjusted Greeks of an FX double barrier option, given volatility and interest rates of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_VVGreeks(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, GreekType, GreekForm)

Returns: Vanna-Volga adjusted Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VVGreeksFromCurves

Returns the Vanna-Volga adjusted Greeks of an FX double barrier option, given volatility and interest rate curves of the base and of the counter currencies.

GIA_FXD_DoubleBarrier_VVGreeksFromCurves(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, Interp, GreekType, GreekForm)

Returns: Vanna-Volga adjusted Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VVGreeksFromPointsCurveAndBaseCurve

Returns the Vanna-Volga adjusted Greeks of an FX double barrier option, given volatility, the forward points curve and the interest rate curve of the base currency.

GIA_FXD_DoubleBarrier_VVGreeksFromPointsCurveAndBaseCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, AdditionalAdjustment, Interp, GreekType, GreekForm)

Returns: Vanna-Volga adjusted Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves

GIA_FXD_DoubleBarrier_VVGreeksFromPointsCurveAndCounterCurve

Returns the Vanna-Volga adjusted Greeks of an FX double barrier option, given volatility, the forward points curve and the interest rate curve of the counter currency.

GIA_FXD_DoubleBarrier_VVGreeksFromPointsCurveAndCounterCurve(OptionType, BarrierType, Notional, Strike, BarrierL, BarrierU, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, AdditionalAdjustment, Interp, GreekType, GreekForm)

Returns: Vanna-Volga adjusted Greeks of an FX double barrier option

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
BarrierTypeRequiredThe option's barrier type (In, Out)
NotionalRequiredThe option's notional amount, in terms of the base currency. For a long position, the sign is positive, and for a short position, it is negative.
StrikeRequiredThe option's strike price.
BarrierLRequiredThe option's lower barrier.
BarrierURequiredThe option's upper barrier.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_DoubleBarrier_TV, GIA_FXD_DoubleBarrier_TVFromCurves, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVFromSurface, GIA_FXD_DoubleBarrier_TVFromSurfaceAndCurves, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_DoubleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_DoubleBarrier_TVGreeks, GIA_FXD_DoubleBarrier_TVGreeksFromCurves