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.10.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.10-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypricingchain-0.2.10.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.10.tar.gz
Algorithm Hash digest
SHA256 60b7abb191e23bc4eace1c01cdf7c2db300de83de94ecbd3a91c1a8ad3115a4a
MD5 e6ded7b64a4e601e49fb6423a7a42e95
BLAKE2b-256 690daa05a54ee6407cf632043375aa65ee8d4a2c32cae69ae3f5c6ea8cafd00c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypricingchain-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 46ef4b8cc8d74d5c026c6fc91494effa743b11ba301aaf7c00faa277149344de
MD5 9512fe079f1c3cf9eaec09ef8233ab0e
BLAKE2b-256 f52ac42b35df89a7a2bbd759fe5433f9589a3e07faa2080c1c0dcb542f8c7954

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