Skip to main content

A nice GUI addition to the pybacktestchain module, project for M2 203 python course

Project description

pybacktestchain_gui

A nice GUI addition to the pybacktestchain module, project for M2 203 python course

Installation

$ pip install pybacktestchain_gui

Usage

  • TODO

Plan

  • Change the universe using Backtest.universe (Backtest is a dataclass): we want to retrieve a list of tickers from an API (or manually import tickers) and then put them in a list: the user can either :
    • select an index or multiple indices as a universe
    • select the universe manually This can be done in the GUI thanks to the list object
  • Add the option to change the strategy: add a min sharpe strategy, add the strategy from econometrics project ?, look for potentially other strategies to add. We can do this by creating new classes which inherit from the FirstTwoMoments class. The user can then manually select which strategy to choose.
  • The user should also be allowed to change the parameters (allow short selling or not, change the risk aversion parameter) etc
  • allow the option to change the date range
  • Add the option to change the risk model: right now we use stop loss, we can also
  • Then, we graph the PNL of the portfolio created by the user from the strategy and the universe.
  • We add the list of stocks and their weights
  • Potentially, we can also add what indices they belong to (?) or what sector (how to retrieve ? yahoo finance maybe) if that's possible given the data we have
  • allow the option to download the performance as a csv (csv generated by pybacktestchain)
  • All of this should be done in a dashboard, then the user can simply launch the dashboard and it should be available -> either locally or find a way to share it with others.

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

pybacktestchain_gui was created by Faune Blanchard. It is licensed under the terms of the MIT license.

Credits

pybacktestchain_gui 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

pybacktestchain_gui-0.0.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

pybacktestchain_gui-0.0.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pybacktestchain_gui-0.0.0.tar.gz.

File metadata

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

File hashes

Hashes for pybacktestchain_gui-0.0.0.tar.gz
Algorithm Hash digest
SHA256 42dc3df18156ab70707ff934fcce0c12231bac6615ad2cd6e6b2a0fd1dc4cfc5
MD5 1819bcd65ec599b48a41dca83e74764b
BLAKE2b-256 943a1b2633e360767889ac62e33f81cb216d1e08144c25b559d9533bfba87ade

See more details on using hashes here.

File details

Details for the file pybacktestchain_gui-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pybacktestchain_gui-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d89dcc9ff69140192f20c40d803999529fb266a03b5f8f3ef9e61a1e6f850a4
MD5 274bcad872e51fee7456a3f9f61483db
BLAKE2b-256 49e21c2cf8bc6c3ed2f3a76f59c55869683acdde34449e8fd5cf6b1042fd8abf

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