Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python AutoML for Trading Systems and Sports Betting

License

NotificationsYou must be signed in to change notification settings

ScottfreeLLC/AlphaPy

Repository files navigation

badge_pypibadge_downloadsbadge_docs

AlphaPy is a machine learning framework for both speculators anddata scientists. It is written in Python mainly with thescikit-learnandpandas libraries, as well as many other helpfulpackages for feature engineering and visualization. Here are justsome of the things you can do with AlphaPy:

  • Run machine learning models usingscikit-learn,Keras,xgboost,LightGBM, andCatBoost.
  • Generate blended or stacked ensembles.
  • Create models for analyzing the markets withMarketFlow.
  • Predict sporting events withSportFlow.
  • Develop trading systems and analyze portfolios usingMarketFlowand Quantopian'spyfolio.

AlphaPy Model Pipeline

AlphaPy 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, andCatBoost installed on your system (see below). Run the following command to installAlphaPy:

pip install -U alphapy

Pyfolio

Pyfolio is automatically installed by AlphaPy, but if you encounterthe 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 willnot install automaticallywithpip. For instructions to install XGBoost on your specificplatform, go tohttp://xgboost.readthedocs.io/en/latest/build.html.

LightGBM

For instructions to install LightGBM on your specificplatform, go tohttps://lightgbm.readthedocs.io/en/latest/Installation-Guide.html.

CatBoost

For instructions to install CatBoost on your specificplatform, go tohttps://catboost.ai/docs/concepts/python-installation.html.

MarketFlow

MarketFlow Model

MarketFlow System

SportFlow

SportFlow

GamePT

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


[8]ページ先頭

©2009-2025 Movatter.jp