Component 
Resolution  Exotic Options 




Function Definition 
oX_Binary(CashOrNothing, CallPut, ValueDate, ExpiryDate, Spot, Strike, Payoff, RiskFree, Carry, Volatility, OutputFlag) Calculates the option value and Greeks for a cashornothing option (using Reiner and Rubinstein's [1991] method) or an assetornothing option (using Cox and Rubinstein's [1985] method) 




Function Parameters 



Parameters 
Description 

Parameter Type 

Restrictions 

. 

CashOrNothing 

Type of binary option. 

Enumerated Constant 

1  CashOrNothing 

CallPut 

Option type. 

Enumerated Constant 

1  Call 

ValueDate 

Valuation date. 

Date 


ExpiryDate 

Expiry date of the option. 

Date 


Spot 

Current market price of the underlying asset. 

Double 

Spot > 0 

Strike 

Strike price of the option. 

Double 

Strike > 0 

Payoff 

Amount paid out if the option expires in the money. Not required for AssetOrNothing options. 

Double 


RiskFree 

Risk free interest rate, expressed as an annually compounded Actual 365 rate. 

Double 


Carry 

Net cost of carry, expressed as an annually compounded Actual 365 rate. 

Double 


Volatility 

Annualized volatility of the underlying asset, expressed as a decimal. 

Double 

Volatility > 0 

OutputFlag 

Indicates which result, or set of results, will be displayed in the worksheet. When returning more than one value, the function must be entered as an array function. 

Enumerated Constant 

0  Value and Greeks 
Copyright 2013 Hedgebook Ltd.