{"id":14958242,"url":"https://github.com/scottfreellc/alphapy","last_synced_at":"2026-10-19T11:46:12.135Z","repository":{"id":20378474,"uuid":"51673050","full_name":"ScottfreeLLC/AlphaPy","owner":"ScottfreeLLC","description":"Python AutoML for Trading Systems and Sports Betting","archived":false,"fork":false,"pushed_at":"2025-08-24T13:55:25.000Z","size":34804,"stargazers_count":1745,"open_issues_count":19,"forks_count":274,"subscribers_count":68,"default_branch":"master","last_synced_at":"2026-08-29T00:18:50.810Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScottfreeLLC.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ScottfreeLLC"]}},"created_at":"2016-02-14T00:47:32.000Z","updated_at":"2026-08-23T20:49:23.000Z","dependencies_parsed_at":"2022-07-22T04:48:10.208Z","dependency_job_id":"b0bc27f9-f34d-4650-a100-592dae1ff3ca","html_url":"https://github.com/ScottfreeLLC/AlphaPy","commit_stats":{"total_commits":427,"total_committers":5,"mean_commits":85.4,"dds":"0.014051522248243575","last_synced_commit":"25086cf676eb5168979b7701e25c5c80ddab8e71"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ScottfreeLLC/AlphaPy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottfreeLLC%2FAlphaPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottfreeLLC%2FAlphaPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottfreeLLC%2FAlphaPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottfreeLLC%2FAlphaPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScottfreeLLC","download_url":"https://codeload.github.com/ScottfreeLLC/AlphaPy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottfreeLLC%2FAlphaPy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38356426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-09-24T13:16:35.281Z","updated_at":"2026-10-19T11:46:12.102Z","avatar_url":"https://github.com/ScottfreeLLC.png","language":"Python","funding_links":["https://github.com/sponsors/ScottfreeLLC"],"categories":[],"sub_categories":[],"readme":"AlphaPy\n=======\n\n|badge_pypi| |badge_downloads| |badge_docs|\n\n**AlphaPy** is a machine learning framework for both speculators and\ndata scientists. It is written in Python mainly with the ``scikit-learn``\nand ``pandas`` libraries, as well as many other helpful\npackages for feature engineering and visualization.\n\n🚀 **AlphaPy Pro is Now Available!**\n\n**AlphaPy Pro** - the professional edition of AlphaPy - is now publicly available!\nFeaturing modern Python 3.12+ support, enhanced performance, and enterprise-grade capabilities.\n\n* **Repository**: https://github.com/ScottfreeLLC/alphapy-pro\n* **Documentation**: https://scottfreellc.github.io/alphapy-pro/\n* **Installation**: ``pip install alphapy-pro``\n\nHere are just some of the things you can do with **AlphaPy (legacy)**:\n\n* Run machine learning models using ``scikit-learn``, ``Keras``, ``xgboost``, ``LightGBM``, and ``CatBoost``.\n* Generate blended or stacked ensembles.\n* Create models for analyzing the markets with *MarketFlow*.\n* Predict sporting events with *SportFlow*.\n* Develop trading systems and analyze portfolios using *MarketFlow*\n  and Quantopian's ``pyfolio``.\n\n.. image:: https://github.com/Alpha314/AlphaPy/blob/master/images/model_pipeline.png\n    :width: 100%\n    :alt: AlphaPy Model Pipeline\n    :align: center\n\nAlphaPy Pro: Now Available!\n---------------------------\n\n**AlphaPy Pro** is the next generation of AlphaPy with enhanced features and modern capabilities:\n\n* **Modern Python 3.12+** support with UV package management\n* **Enhanced MarketFlow** with advanced financial ML features\n* **MetaLabeling Support** for sophisticated financial modeling\n* **NLP Features** for sentiment analysis and text processing\n* **Automated CI/CD** with GitHub Actions and PyPI publishing\n* **Comprehensive Documentation** with tutorials and examples\n\n**Quick Start with AlphaPy Pro**::\n\n    pip install alphapy-pro\n    \n**Links**:\n\n* **GitHub Repository**: https://github.com/ScottfreeLLC/alphapy-pro\n* **Documentation**: https://scottfreellc.github.io/alphapy-pro/\n* **PyPI Package**: https://pypi.org/project/alphapy-pro/\n\n**Note**: Active development has moved to AlphaPy Pro. This repository (AlphaPy) remains available for users who rely on the original version.\n\nDocumentation\n-------------\n\nhttp://alphapy.readthedocs.io/en/latest/\n\nInstallation\n------------\n\nYou should already have pip, Python, and optionally XGBoost, LightGBM, and\nCatBoost installed on your system (see below). Run the following command to install\nAlphaPy::\n\n    pip install -U alphapy\n\nPyfolio\n~~~~~~~\n\nPyfolio is automatically installed by AlphaPy, but if you encounter\nthe following error when trying to create a tear sheet:\n\n    *AttributeError: 'numpy.int64' object has no attribute 'to_pydatetime'*\n\nInstall pyfolio with this command:\n\n    pip install git+https://github.com/quantopian/pyfolio\n\nXGBoost\n~~~~~~~\n\nFor Mac and Windows users, XGBoost will *not* install automatically\nwith ``pip``. For instructions to install XGBoost on your specific\nplatform, go to http://xgboost.readthedocs.io/en/latest/build.html.\n\nLightGBM\n~~~~~~~~\n\nFor instructions to install LightGBM on your specific\nplatform, go to https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html.\n\nCatBoost\n~~~~~~~~\n\nFor instructions to install CatBoost on your specific\nplatform, go to https://catboost.ai/docs/concepts/python-installation.html.\n\nMarketFlow\n----------\n\n.. image:: https://github.com/Alpha314/AlphaPy/blob/master/images/market_pipeline.png\n    :width: 100%\n    :alt: MarketFlow Model\n    :align: center\n\n.. image:: https://github.com/Alpha314/AlphaPy/blob/master/images/system_pipeline.png\n    :width: 100%\n    :alt: MarketFlow System\n    :align: center\n\nSportFlow\n---------\n\n.. image:: https://github.com/Alpha314/AlphaPy/blob/master/images/sports_pipeline.png\n    :width: 100%\n    :alt: SportFlow\n    :align: center\n\nGamePT\n------\n\nYou can find an implementation of MarketFlow here:\n\nhttps://www.scottfreellc.com/gamept\n\nSupport\n-------\n\nThe official channel for support is to open an issue on Github.\n\nhttp://github.com/ScottfreeLLC/AlphaPy/issues\n\nFollow us on Twitter:\n\nhttps://twitter.com/_AlphaPy_?lang=en\n\nDonations\n---------\n\nIf you like the software, please donate:\n\nhttp://alphapy.readthedocs.io/en/latest/introduction/support.html#donations\n\n\n.. |badge_pypi| image:: https://badge.fury.io/py/alphapy.svg\n.. |badge_docs| image:: https://readthedocs.org/projects/alphapy/badge/?version=latest\n.. |badge_downloads| image:: https://static.pepy.tech/badge/alphapy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottfreellc%2Falphapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottfreellc%2Falphapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottfreellc%2Falphapy/lists"}