Black-Scholes Option Pricing Model in Scheme
blog.ecounysis.com
blog.ecounysis.com
Also, wouldn't it be better to write things like
(+ (- (* (exp (* (- r) t)) strike) s) call)))
in a more schemer-friendly way as (+ call (- s) (* strike (exp (- (* r t)))))
to avoid parenthesis syndrome?(I was probably wrong to expect self-explanatory code, e.g. with docstrings, but IMO the readability could be improved)
http://blog.ecounysis.com/black-scholes-option-pricing-model...