Skip to main content

Pybacktestchain was cool, but it was missing a pricing feature ...

Project description

pypricingchain

pybacktestchain was cool, but it was missing a pricing feature ...

Installation

$ pip install pypricingchain

Usage

pypricing is a package built on top of pybacktestchain, meaning that all the functionalities are still available for use here. pypricingchain leverages several functionalities previously developed, and adds the possibility to price autocallable equity products, using a user-friendly interface developed with Streamlit. The package offers an interesting opportunity to price simultaneously 2 products with different features. Alongside the difference in prices, a visual understanding of these differences is made available by displaying the simulated trajectories used for the pricings, making it visually easy to explain pricing differences depending on pricing inputs.

To use my package, create a python file (i.e. name.py) containing the following lines

from pypricingchain.launch_app import launch_app

if __name__ == "__main__":
    launch_app()

then type the following command in a terminal (make sure the terminal is in the same file directory as name.py)

Important: Make sure you verify the YahooFinance tickers to make sure the pricing runs smoothly.

$ streamlit run name.py

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

pypricingchain was created by Louis Schiele. It is licensed under the terms of the MIT license.

Credits

pypricingchain was created with cookiecutter and the py-pkgs-cookiecutter template.

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

pypricingchain-0.2.8.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

pypricingchain-0.2.8-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file pypricingchain-0.2.8.tar.gz.

File metadata

  • Download URL: pypricingchain-0.2.8.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for pypricingchain-0.2.8.tar.gz
Algorithm Hash digest
SHA256 1b8f5fe7ed4173263edbf0a4b7089862a74ee210a85033a86985fe5c09d75cef
MD5 eba63a5ee27da6456c94f5d47944bcca
BLAKE2b-256 8a08356636f339423486ed9363536475f0788b54ab79f585c5fe7122aa4be852

See more details on using hashes here.

File details

Details for the file pypricingchain-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: pypricingchain-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for pypricingchain-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d988daf42b16114b6a315004f6834a65f5c2690d726b087754d6c1251227abe0
MD5 726174f2634111e0b392ee7636127552
BLAKE2b-256 ce7dfd74a523217dee26b1c697b50cc19cf3f53fd6629f273b94f6b19337bcfe

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