2016-03-05 18:40:26 -05:00
|
|
|
__precompile__(true)
|
2016-03-05 17:49:30 -05:00
|
|
|
|
|
|
|
"""
|
|
|
|
Quantitative Finance methods for Julia
|
|
|
|
|
|
|
|
Designed to implement many helpful methods that are often repeated; we don't
|
|
|
|
want seventeen different versions of the Black-Scholes equation floating
|
|
|
|
around, and re-writing a Geometric Brownian Motion simulation for every
|
|
|
|
new project is just tedious.
|
|
|
|
"""
|
2016-03-05 18:40:26 -05:00
|
|
|
module Quant
|
2016-03-05 17:49:30 -05:00
|
|
|
|
|
|
|
|
2016-03-05 18:40:26 -05:00
|
|
|
export
|
2016-03-05 17:49:30 -05:00
|
|
|
# Black-Scholes functionality
|
|
|
|
d1,
|
|
|
|
d2,
|
|
|
|
blackscholes_call,
|
|
|
|
blackscholes_put,
|
2016-03-05 18:40:26 -05:00
|
|
|
end
|
2016-03-05 17:49:30 -05:00
|
|
|
|
|
|
|
include("blackscholes.jl")
|
|
|
|
end
|