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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60b7abb191e23bc4eace1c01cdf7c2db300de83de94ecbd3a91c1a8ad3115a4a
|
|
| MD5 |
e6ded7b64a4e601e49fb6423a7a42e95
|
|
| BLAKE2b-256 |
690daa05a54ee6407cf632043375aa65ee8d4a2c32cae69ae3f5c6ea8cafd00c
|
File details
Details for the file pypricingchain-0.2.10-py3-none-any.whl.
File metadata
- Download URL: pypricingchain-0.2.10-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46ef4b8cc8d74d5c026c6fc91494effa743b11ba301aaf7c00faa277149344de
|
|
| MD5 |
9512fe079f1c3cf9eaec09ef8233ab0e
|
|
| BLAKE2b-256 |
f52ac42b35df89a7a2bbd759fe5433f9589a3e07faa2080c1c0dcb542f8c7954
|