Component 
Resolution  Exotic Options 




Function Definition 
oX_TimeSwitch_Imp(OptionValue, CallPut, ValueDate, IssueDate, ExpiryDate, Spot, Strike, RiskFree, Carry, Volatility, Payoff, Periods, CurrentPayoffs, OutputFlag) Given the option value, calculates an implied value for a timeswitch option using Pechtl's (1995) method 




Function Parameters 



Parameters 
Description 

Parameter Type 

Restrictions 

. 

OptionValue 

Observed value of the option. 

Double 


CallPut 

Option type. 

Enumerated Constant 

1  Call 

ValueDate 

Valuation date. 

Date 


IssueDate 

Date at which the option was written. 

Date 


ExpiryDate 

Expiry date of the option. 

Date 


Spot 

Current market price of the underlying asset. 

Double 


Strike 

Strike price of the option. 

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 


Payoff 

Amount paid out if the option expires in the money. 

Double 


Periods 

Total number of periods. 

Enumerated Constant 


CurrentPayoffs 

Number of periods that have already recorded a payoff. 

Enumerated Constant 


OutputFlag 

Indicates which implied value to return. Note: when entering the function, the parameter for which an implied value is calculated may be left blank. 

Enumerated Constant 

1  Spot 
Copyright 2013 Hedgebook Ltd.