Skip to content

JuliaQuant/FinancialDerivatives.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinancialDerivatives.jl

Documentation Status License
docs-dev CI codecov license

FinancialDerivatives.jl is a registered Julia package and as such you can install it by activating the pkg mode (type ], and to leave it, type <backspace>), followed by

pkg> add FinancialDerivatives

📓 Usage

To price an European option, simply create a new EuropeanOption and pass it to evaluate with the desired valuation model:

julia> using FinancialDerivatives

julia> euro_put = EuropeanOption(s=100.0, k=90.0, r=0.05, q=0.0, σ=0.3, t=180 / 365, call=false)

julia> evaluate(euro_put, BlackScholes())
3.2281936525908073