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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_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

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

See also: GIA_FXD_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

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

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
VolRequiredThe volatility of the underlying asset.
CurveDatesPRequiredThe array of dates in the forward points curve.
CurveRatesPRequiredThe array of points in the forward points curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
DecimalsRequiredThe number of digits after the decimal place in the FX spot rate (usually 4).
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
CurveDatesBRequiredThe array of dates in the base currency interest rate curve.
CurveRatesBRequiredThe array of rates in the base currency interest rate curve.
CurveDatesCRequiredThe array of dates in the counter currency interest rate curve.
CurveRatesCRequiredThe array of rates in the counter currency interest rate curve.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rates (act/360, act/365, act/act, 30E/360, 30I/360)
InterpRequiredThe interpolation method (Linear, LogLinear, CubicSpline, Exponential)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_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

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

See also: GIA_FXD_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

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

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts. Must contain 25Delta quotes.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None or numeric value)
TVFormRequiredThe form in which the option's theoretical value is expressed (Amount, Percent)
TVCurRequiredThe currency in which the option's theoretical value is expressed (Base, Counter)

See also: GIA_FXD_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

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

See also: GIA_FXD_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

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

See also: GIA_FXD_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

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

See also: GIA_FXD_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

ArgumentUseDescription
OptionTypeRequiredThe option's type (Call, Put)
PayoffRequiredThe option's payoff if it expires in the money.
PayoffCurRequiredThe currency of the option's payoff (Base, Counter)
StrikeRequiredThe option's strike price.
EDateRequiredThe expiry date.
DDateRequiredThe delivery date.
SRequiredThe FX spot rate.
SurfaceRequiredThe volatility data in terms of ATM, Risk Reversal and Butterfly quotes OR ATM and vanilla calls and puts.
InterestRateBRequiredThe interest rate of the base currency.
InterestRateCRequiredThe interest rate of the counter currency.
VDateRequiredThe value date.
SDateRequiredThe spot date.
CompRequiredThe compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous)
DaysBRequiredThe time basis of the base currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
DaysCRequiredThe time basis of the counter currency interest rate (act/360, act/365, act/act, 30E/360, 30I/360)
AdditionalAdjustmentRequiredThe additional adjustment to the Vanna-Volga method (None, SurvivalProbability or numeric value)
GreekTypeRequiredThe Greek's type returned by the function (SpotDelta, ForwardDelta, Gamma, Vega, Theta, RhoBase, RhoCounter, Vanna, Volga)
GreekFormRequiredThe form in which the option's Greek is expressed (BasePercent, BaseAmount)

See also: GIA_FXD_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

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

See also: GIA_FXD_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

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

See also: GIA_FXD_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

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

See also: GIA_FXD_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