1
0
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:
bspeice
2016-03-05 17:49:30 -05:00
commit 531ae12f0e
5 changed files with 82 additions and 0 deletions
+5
View File
@@ -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)
+1
View File
@@ -0,0 +1 @@
include("blackscholes.jl")