Single Barrier Option
Last updated 9 November 2026
Function reference › FX Derivatives › Single Barrier Options
24 GIAnalyzer functions for Excel. Optional arguments are shown in [brackets].
GIA_FXD_SingleBarrier_TV
Returns the theoretical value (TV) of an FX Single barrier option, given volatility and interest rates of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TV(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, TVForm, TVCur)Returns: Theoretical value (TV) of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVFromCurves
Returns the theoretical value (TV) of an FX Single barrier option, given volatility and interest rate curves of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TVFromCurves(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve
Returns the theoretical value (TV) of an FX Single barrier option, given volatility, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve
Returns the Greeks of an FX Single barrier option, given volatility, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Greeks of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVFromSurface
Returns the theoretical value (TV) of an FX Single barrier option, given a volatility surface and interest rates of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TVFromSurface(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, TVForm, TVCur)Returns: Theoretical value (TV) of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves
Returns the theoretical value (TV) of an FX Single barrier option, given a volatility surface and interest rate curves of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve
Returns the theoretical value (TV) of an FX Single barrier option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve
Returns the Greeks of an FX Single barrier option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Greeks of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVGreeks
Returns the Greeks of an FX Single barrier option, given volatility and interest rates of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TVGreeks(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, GreekType, GreekForm)Returns: Greeks of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeksFromCurves, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVGreeksFromCurves
Returns the Greeks of an FX Single barrier option, given volatility and interest rate curves of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TVGreeksFromCurves(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve
Returns the Greeks of an FX Single barrier, given volatility, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndBaseCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX Single barrier
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndCounterCurve
Returns the Greeks of an FX Single barrier, given volatility, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_SingleBarrier_TVGreeksFromPointsCurveAndCounterCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX Single barrier
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_TVGreeksFromSurface
Returns the Greeks of an FX Single barrier option, given a volatility surface and interest rates of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TVGreeksFromSurface(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, GreekType, GreekForm)Returns: Greeks of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_TVGreeksFromSurfaceAndCurves
Returns the Greeks of an FX Single barrier option, given a volatility surface and interest rate curves of the base and of the counter currencies.
GIA_FXD_SingleBarrier_TVGreeksFromSurfaceAndCurves(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_TVGreeksFromSurfacePointsCurveAndBaseCurve
Returns the Greeks of an FX Single barrier, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_SingleBarrier_TVGreeksFromSurfacePointsCurveAndBaseCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX Single barrier
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_TVGreeksFromSurfacePointsCurveAndCounterCurve
Returns the Greeks of an FX Single barrier, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_SingleBarrier_TVGreeksFromSurfacePointsCurveAndCounterCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX Single barrier
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VV
Returns the Vanna-Volga adjusted value of an FX Single barrier option, given a volatility surface and interest rates of the base and of the counter currencies.
GIA_FXD_SingleBarrier_VV(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, TVForm, TVCur)Returns: Vanna-Volga adjusted value of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VVFromCurves
Returns the Vanna-Volga adjusted value of an FX Single barrier option, given a volatility surface and interest rate curves of the base and of the counter currencies.
GIA_FXD_SingleBarrier_VVFromCurves(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, 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 Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VVFromPointsCurveAndBaseCurve
Returns the Vanna-Volga adjusted value of an FX Single barrier option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_SingleBarrier_VVFromPointsCurveAndBaseCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, 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 Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VVFromPointsCurveAndCounterCurve
Returns the Vanna-Volga adjusted value of an FX Single barrier option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_SingleBarrier_VVFromPointsCurveAndCounterCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, 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 Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VVGreeks
Returns the Vanna-Volga adjusted Greeks of an FX Single barrier option, given a volatility surface and interest rates of the base and of the counter currencies.
GIA_FXD_SingleBarrier_VVGreeks(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, GreekType, GreekForm)Returns: Vanna-Volga adjusted Greeks of an FX Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VVGreeksFromCurves
Returns the Vanna-Volga adjusted Greeks of an FX Single barrier option, given volatility and interest rate curves of the base and of the counter currencies.
GIA_FXD_SingleBarrier_VVGreeksFromCurves(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, 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 Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VVGreeksFromPointsCurveAndBaseCurve
Returns the Vanna-Volga adjusted Greeks of an FX Single barrier option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_SingleBarrier_VVGreeksFromPointsCurveAndBaseCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, 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 Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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) |
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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
GIA_FXD_SingleBarrier_VVGreeksFromPointsCurveAndCounterCurve
Returns the Vanna-Volga adjusted Greeks of an FX Single barrier option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_SingleBarrier_VVGreeksFromPointsCurveAndCounterCurve(OptionType, BarrierDirType, BarrierMonType, Notional, Strike, Barrier, 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 Single barrier option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
BarrierDirType | Required | The option's barrier type (Up-And-In, Up-And-Out, Down-And-In, Down-And-Out in single barrier options;In, Out in double barrier options;LowerOut-UpperIn, LowerIn-UpperOut in KIKO option) |
BarrierMonType | Required | The option’s barrier type (American, European) |
Notional | Required | The option's notional amount, in terms of the base currency. The sign for long position is positive and for short position is negative. |
Strike | Required | The option's strike price. |
Barrier | Required | The option's 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) |
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_SingleBarrier_TV, GIA_FXD_SingleBarrier_TVFromCurves, GIA_FXD_SingleBarrier_TVFromPointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromPointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVFromSurface, GIA_FXD_SingleBarrier_TVFromSurfaceAndCurves, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_SingleBarrier_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_SingleBarrier_TVGreeks, GIA_FXD_SingleBarrier_TVGreeksFromCurves
