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.9.tar.gz (9.9 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.9-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypricingchain-0.2.9.tar.gz
  • Upload date:
  • Size: 9.9 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.9.tar.gz
Algorithm Hash digest
SHA256 54ae9aae92615d92bf1549c6f7f87e48948f7a0bc969d8fca7e8dbbef2db39b7
MD5 99f0f58d2e59431402bfd5f2af1af415
BLAKE2b-256 14d38e6ea0b2ee0482455ffa86d8f3b6fdb15978da7ee77611104b7447671e87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypricingchain-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 11.0 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6611175cddf182658b8070ef4339a17566628747d075646cbaf3a60d564d8280
MD5 7b92f4d3522ad903bac2a78e24fee7f3
BLAKE2b-256 fc3a3137bd6ba4c8b69b99bdf007484604ef8a80e653534bee43e5f41328dd0c

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