Skip to main content

Black-Scholes option calculator written in C (fast Python extension)

Project description

OptCalc

OptCalc is a fast C-based Black–Scholes option calculator with Python bindings.

Example

import optcalc

optcalc.set_params(100, 105, 30, 0.3, 0.01)
optcalc.genOptionSer()
print(optcalc.getCallArr())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

optcalc-1.0.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optcalc-1.0.0-cp313-cp313-win_amd64.whl (11.1 kB view details)

Uploaded CPython 3.13Windows x86-64

File details

Details for the file optcalc-1.0.0.tar.gz.

File metadata

  • Download URL: optcalc-1.0.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for optcalc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0588c60f2a0752223e38593be2152749974acbef69906ef39b2744807a9b13eb
MD5 1b834d30fb2f2c275679175d5a483b02
BLAKE2b-256 784d230f0db9329f35a10982bd47e37ff5e275e39e7dd06afbc1a6615835340c

See more details on using hashes here.

File details

Details for the file optcalc-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: optcalc-1.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for optcalc-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 97c9183069bcfc8d87863e86bd37f9746d2032e24694474a9e9d6ce40879a038
MD5 5ddaf71560259859174e00bad2704b7c
BLAKE2b-256 0be967b3ff3aed17b47b3a98bc222ca89f8ccf7322966dbdc2c48e06847d2abc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page