Binomial Tree Barrier Option
Price barrier options using binomial trees. Barrier options activate (knock-in) or terminate (knock-out) when the underlying crosses a barrier level.
Barrier Types:
- Down-and-Out: Terminates if S drops below barrier (is_down=true, is_knock_in=false)
- Down-and-In: Activates if S drops below barrier (is_down=true, is_knock_in=true)
- Up-and-Out: Terminates if S rises above barrier (is_down=false, is_knock_in=false)
- Up-and-In: Activates if S rises above barrier (is_down=false, is_knock_in=true)
Rebate: Fixed payment if knock-out occurs.
Use Cases:
- Price structured products with barriers
- Reduce option premium with knock-out features
- Create path-dependent payoffs
- Manage risk with barrier structures
Tier: Standard (2 credits/request) [Tier: PRO, Credits: 5]
Authorizations
API key for authentication. Get your key at https://api.fincept.in/auth/register
Body
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"
