Digital Option
Last updated 9 November 2026
Function reference › FX Derivatives › Digital Options
24 GIAnalyzer functions for Excel. Optional arguments are shown in [brackets].
GIA_FXD_Digital_TV
Returns the theoretical value (TV) of an FX digital option, given volatility and interest rates of the base and of the counter currencies.
GIA_FXD_Digital_TV(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVFromCurves
Returns the theoretical value (TV) of an FX digital option, given volatility and interest rate curves of the base and of the counter currencies.
GIA_FXD_Digital_TVFromCurves(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve
Returns the theoretical value (TV) of an FX digital option, given volatility, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve
Returns the theoretical value (TV) of an FX digital option, given volatility, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVFromSurface
Returns the theoretical value (TV) of an FX digital option, given a volatility surface and interest rates of the base and of the counter currencies.
GIA_FXD_Digital_TVFromSurface(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVFromSurfaceAndCurves
Returns the theoretical value (TV) of an FX digital option, given a volatility surface and interest rate curves of the base and of the counter currencies.
GIA_FXD_Digital_TVFromSurfaceAndCurves(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve
Returns the theoretical value (TV) of an FX digital option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve
Returns the theoretical value (TV) of an FX digital option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, TVForm, TVCur)Returns: Theoretical value (TV) of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVGreeks
Returns the Greeks of an FX digital option, given volatility and interest rates of the base and of the counter currencies.
GIA_FXD_Digital_TVGreeks(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeksFromCurves, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVGreeksFromCurves
Returns the Greeks of an FX digital option, given volatility and interest rate curves of the base and of the counter currencies.
GIA_FXD_Digital_TVGreeksFromCurves(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve
Returns the Greeks of an FX digital option, given volatility, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_Digital_TVGreeksFromPointsCurveAndBaseCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_TVGreeksFromPointsCurveAndCounterCurve
Returns the Greeks of an FX digital option, given volatility, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_Digital_TVGreeksFromPointsCurveAndCounterCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Vol, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_TVGreeksFromSurface
Returns the Greeks of an FX digital option, given a volatility surface and interest rates of the base and of the counter currencies.
GIA_FXD_Digital_TVGreeksFromSurface(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_TVGreeksFromSurfaceAndCurves
Returns the Greeks of an FX digital option, given a volatility surface and interest rate curves of the base and of the counter currencies.
GIA_FXD_Digital_TVGreeksFromSurfaceAndCurves(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, CurveDatesB, CurveRatesB, CurveDatesC, CurveRatesC, VDate, SDate, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_TVGreeksFromSurfacePointsCurveAndBaseCurve
Returns the Greeks of an FX digital option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_Digital_TVGreeksFromSurfacePointsCurveAndBaseCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesB, CurveRatesB, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_TVGreeksFromSurfacePointsCurveAndCounterCurve
Returns the Greeks of an FX digital option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_Digital_TVGreeksFromSurfacePointsCurveAndCounterCurve(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, CurveDatesP, CurveRatesP, CurveDatesC, CurveRatesC, VDate, SDate, Decimals, Comp, DaysB, DaysC, Interp, GreekType, GreekForm)Returns: Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VV
Returns the Vanna-Volga adjusted value of an FX digital option, given a volatility surface and interest rates of the base and of the counter currencies.
GIA_FXD_Digital_VV(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, TVForm, TVCur)Returns: Vanna-Volga adjusted value of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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 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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VVFromCurves
Returns the Vanna-Volga adjusted value of an FX digital option, given a volatility surface and interest rate curves of the base and of the counter currencies.
GIA_FXD_Digital_VVFromCurves(OptionType, Payoff, PayoffCur, Strike, 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 digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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 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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VVFromPointsCurveAndBaseCurve
Returns the Vanna-Volga adjusted value of an FX digital option, given a volatility surface, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_Digital_VVFromPointsCurveAndBaseCurve(OptionType, Payoff, PayoffCur, Strike, 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 digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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 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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VVFromPointsCurveAndCounterCurve
Returns the Vanna-Volga adjusted value of an FX digital option, given a volatility surface, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_Digital_VVFromPointsCurveAndCounterCurve(OptionType, Payoff, PayoffCur, Strike, 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 digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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 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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VVGreeks
Returns the Vanna-Volga adjusted Greeks of an FX digital option, given volatility and interest rates of the base and of the counter currencies.
GIA_FXD_Digital_VVGreeks(OptionType, Payoff, PayoffCur, Strike, EDate, DDate, S, Surface, InterestRateB, InterestRateC, VDate, SDate, Comp, DaysB, DaysC, AdditionalAdjustment, GreekType, GreekForm)Returns: Vanna-Volga adjusted Greeks of an FX digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VVGreeksFromCurves
Returns the Vanna-Volga adjusted Greeks of an FX digital option, given volatility and interest rate curves of the base and of the counter currencies.
GIA_FXD_Digital_VVGreeksFromCurves(OptionType, Payoff, PayoffCur, Strike, 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 digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VVGreeksFromPointsCurveAndBaseCurve
Returns the Vanna-Volga adjusted Greeks of an FX digital option, given volatility, the forward points curve and the interest rate curve of the base currency.
GIA_FXD_Digital_VVGreeksFromPointsCurveAndBaseCurve(OptionType, Payoff, PayoffCur, Strike, 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 digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
GIA_FXD_Digital_VVGreeksFromPointsCurveAndCounterCurve
Returns the Vanna-Volga adjusted Greeks of an FX digital option, given volatility, the forward points curve and the interest rate curve of the counter currency.
GIA_FXD_Digital_VVGreeksFromPointsCurveAndCounterCurve(OptionType, Payoff, PayoffCur, Strike, 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 digital option
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option's type (Call, Put) |
Payoff | Required | The option's payoff if it expires in the money. |
PayoffCur | Required | The currency of the option's payoff (Base, Counter) |
Strike | Required | The option's strike price. |
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_Digital_TV, GIA_FXD_Digital_TVFromCurves, GIA_FXD_Digital_TVFromPointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromPointsCurveAndCounterCurve, GIA_FXD_Digital_TVFromSurface, GIA_FXD_Digital_TVFromSurfaceAndCurves, GIA_FXD_Digital_TVFromSurfacePointsCurveAndBaseCurve, GIA_FXD_Digital_TVFromSurfacePointsCurveAndCounterCurve, GIA_FXD_Digital_TVGreeks, GIA_FXD_Digital_TVGreeksFromCurves
