Introduction - If you have any usage issues, please Google them yourself
The binarytree is used to calculate the gap between the European option and American option, the price of the output option and the BS formula, and the relationship between the number of the segmentation period and its error is drawn and its sensitivity is calculated.