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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
InterestRateB | Required | The interest rate of the base currency. |
InterestRateC | Required | The interest rate of the counter currency. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
InterestRateB | Required | The interest rate of the base currency. |
InterestRateC | Required | The interest rate of the counter currency. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
InterestRateB | Required | The interest rate of the base currency. |
InterestRateC | Required | The interest rate of the counter currency. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Vol | Required | The volatility of the underlying asset. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
InterestRateB | Required | The interest rate of the base currency. |
InterestRateC | Required | The interest rate of the counter currency. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes. |
InterestRateB | Required | The interest rate of the base currency. |
InterestRateC | Required | The interest rate of the counter currency. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of rates in the forward points curve. |
CurveDatesB | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesB | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of rates in the forward points curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
TVForm | Required | The form in which the option's theoretical value is expressed (Amount, Percent) |
TVCur | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
InterestRateB | Required | The interest rate of the base currency. |
InterestRateC | Required | The interest rate of the counter currency. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesB | Required | The array of dates in the base currency interest rate curve. |
CurveRatesB | Required | The array of rates in the base currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierType | Required | The option's barrier type (In, Out) |
Notional | Required | The 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. |
Strike | Required | The option's strike price. |
BarrierL | Required | The option's lower barrier. |
BarrierU | Required | The option's upper barrier. |
EDate | Required | The expiry date. |
DDate | Required | The delivery date. |
S | Required | The FX spot rate. |
Surface | Required | The volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. |
CurveDatesP | Required | The array of dates in the forward points curve. |
CurveRatesP | Required | The array of points in the forward points curve. |
CurveDatesC | Required | The array of dates in the counter currency interest rate curve. |
CurveRatesC | Required | The array of rates in the counter currency interest rate curve. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Decimals | Required | The number of digits after the decimal place in the FX spot rate (usually 4). |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
DaysB | Required | The time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
DaysC | Required | The time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
AdditionalAdjustment | Required | The additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
GreekType | Required | The Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga) |
GreekForm | Required | The 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
