Description Usage Arguments References See Also Examples
The function uses a binary tree to price European options, and finally draws a binary tree and the price of return options.
1  | dcallbt(S = 4, K = 5, r = 1/4, u = 2, d = 1/2, T = 3, l = 1)
 | 
S | 
 Current stock price, default value is 4  | 
K | 
 Current stock price, default value is 4 executive price, default value is 5.  | 
r | 
 Risk-free interest rate, default value is 0.25.  | 
u | 
 up ratio.  | 
d | 
 down ratio.  | 
T | 
 Option maturity, default value is 3.  | 
l | 
 The default length of each period in a binary tree is 1, that is, the default duration of a binary tree is 3 periods.  | 
OTS package, WangXu seniorwangxu@sina.com
1 2  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.