项目作者: Cuadernin

项目描述 :
Calculate the value of a European or American put/call in n periods in R.
高级语言: R
项目地址: git://github.com/Cuadernin/ModBinomialR.git
创建时间: 2021-05-21T23:15:25Z
项目社区:https://github.com/Cuadernin/ModBinomialR

开源协议:

下载


ModBinomialR

Calculate the value of an American or European put/call with Volatility at N periods in R. \
See the Python code

You can graph the binomial tree with the library(fOptions)

  1. valor=BinomialTreeOption(TypeFlag="ce",S=S,X=K,Time=time,r=0.05,b=0,sigma=o,n=N,title="binomial model")
  2. BinomialTreePlot(valor)