mirror of
https://github.com/bspeice/Quant.jl
synced 2026-06-19 03:31:42 -04:00
Add initial Quant.jl code for Black-Scholes
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
using Quant
|
||||
|
||||
@test_approx blackscholes_call(.25, 2, 1, 100, 95, .05) 15.047
|
||||
|
||||
@test_approx blackscholes_call(.25, 1, 100, 95, .05) blackscholes_call(.25, 2, 1, 100, 95, .05)
|
||||
@@ -0,0 +1 @@
|
||||
include("blackscholes.jl")
|
||||
Reference in New Issue
Block a user