Price barrier options using binomial trees. Barrier options activate (knock-in) or terminate (knock-out) when the underlying crosses a barrier level.
Barrier Types:
Rebate: Fixed payment if knock-out occurs.
Use Cases:
Tier: Standard (2 credits/request)
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Current price of the underlying asset
100
Strike price of the option
105
Risk-free interest rate (annualized, decimal format)
0.05
Annualized volatility (decimal format)
0.25
Time to expiration in years
1
Barrier level that triggers knock-in or knock-out
95
True for knock-in barrier, false for knock-out barrier
True for down barrier, false for up barrier
Continuous dividend yield (annualized, decimal format)
0.02
Number of time steps in the binomial tree
100
Type of option
call, put "call"
Rebate paid if barrier option is knocked out
0
Binomial tree method
CRR, JR, LR, TIAN "CRR"