Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scottfreellc/alphapy
Python AutoML for Trading Systems and Sports Betting
https://github.com/scottfreellc/alphapy
backtesting classification cryptocurrency data-science deep-learning iex keras machine-learning pandas portfolio predictive-analytics python regression scikit-learn sports stocks time-series-analysis trading trading-platform trading-strategies
Last synced: 5 days ago
JSON representation
Python AutoML for Trading Systems and Sports Betting
- Host: GitHub
- URL: https://github.com/scottfreellc/alphapy
- Owner: ScottfreeLLC
- License: apache-2.0
- Created: 2016-02-14T00:47:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-15T17:30:26.000Z (about 1 month ago)
- Last Synced: 2024-12-27T13:02:40.379Z (26 days ago)
- Topics: backtesting, classification, cryptocurrency, data-science, deep-learning, iex, keras, machine-learning, pandas, portfolio, predictive-analytics, python, regression, scikit-learn, sports, stocks, time-series-analysis, trading, trading-platform, trading-strategies
- Language: Python
- Homepage:
- Size: 33.2 MB
- Stars: 1,176
- Watchers: 63
- Forks: 210
- Open Issues: 13
-
Metadata Files:
- Readme: README.rst
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
AlphaPy
=======|badge_pypi| |badge_downloads| |badge_docs|
**AlphaPy** is a machine learning framework for both speculators and
data scientists. It is written in Python mainly with the ``scikit-learn``
and ``pandas`` libraries, as well as many other helpful
packages for feature engineering and visualization. Here are just
some of the things you can do with AlphaPy:* Run machine learning models using ``scikit-learn``, ``Keras``, ``xgboost``, ``LightGBM``, and ``CatBoost``.
* Generate blended or stacked ensembles.
* Create models for analyzing the markets with *MarketFlow*.
* Predict sporting events with *SportFlow*.
* Develop trading systems and analyze portfolios using *MarketFlow*
and Quantopian's ``pyfolio``... image:: https://github.com/Alpha314/AlphaPy/blob/master/images/model_pipeline.png
:width: 100%
:alt: AlphaPy Model Pipeline
:align: centerAlphaPy Pro: Coming Soon
------------------------https://www.scottfreellc.com/alphapy-pro
Documentation
-------------http://alphapy.readthedocs.io/en/latest/
Installation
------------You should already have pip, Python, and optionally XGBoost, LightGBM, and
CatBoost installed on your system (see below). Run the following command to install
AlphaPy::pip install -U alphapy
Pyfolio
~~~~~~~Pyfolio is automatically installed by AlphaPy, but if you encounter
the following error when trying to create a tear sheet:*AttributeError: 'numpy.int64' object has no attribute 'to_pydatetime'*
Install pyfolio with this command:
pip install git+https://github.com/quantopian/pyfolio
XGBoost
~~~~~~~For Mac and Windows users, XGBoost will *not* install automatically
with ``pip``. For instructions to install XGBoost on your specific
platform, go to http://xgboost.readthedocs.io/en/latest/build.html.LightGBM
~~~~~~~~For instructions to install LightGBM on your specific
platform, go to https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html.CatBoost
~~~~~~~~For instructions to install CatBoost on your specific
platform, go to https://catboost.ai/docs/concepts/python-installation.html.MarketFlow
----------.. image:: https://github.com/Alpha314/AlphaPy/blob/master/images/market_pipeline.png
:width: 100%
:alt: MarketFlow Model
:align: center.. image:: https://github.com/Alpha314/AlphaPy/blob/master/images/system_pipeline.png
:width: 100%
:alt: MarketFlow System
:align: centerSportFlow
---------.. image:: https://github.com/Alpha314/AlphaPy/blob/master/images/sports_pipeline.png
:width: 100%
:alt: SportFlow
:align: centerGamePT
------You can find an implementation of MarketFlow here:
https://www.scottfreellc.com/gamept
Support
-------The official channel for support is to open an issue on Github.
http://github.com/ScottfreeLLC/AlphaPy/issues
Follow us on Twitter:
https://twitter.com/_AlphaPy_?lang=en
Donations
---------If you like the software, please donate:
http://alphapy.readthedocs.io/en/latest/introduction/support.html#donations
.. |badge_pypi| image:: https://badge.fury.io/py/alphapy.svg
.. |badge_docs| image:: https://readthedocs.org/projects/alphapy/badge/?version=latest
.. |badge_downloads| image:: https://static.pepy.tech/badge/alphapy