Skip to content

High performance Black & Scholes computation for python

License

Notifications You must be signed in to change notification settings

reder2000/pyblsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Efficient Black Scholes module for python : millions of prices/greeks per sec, hundred of ks of immplied vols per sec.

    There are so many libraries that just implement BS for python, but none takes it to the needed level

    • setup
      • you'll need boost.math, intel tbb, fmt and catch2
      • one may need to set something like CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg-pybind11/scripts/buildsystems/vcpkg.cmake if you're using vcpkg
      • just run pip install ./pyblsc
  • prices/delta/gamma/vega and implied vol are parallelized above a certain threshold

  • TODO:

    • add simd (when EVE is ported to windows maybe)
    • port to pypi
    • contributions welcome

About

High performance Black & Scholes computation for python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published