Python Stocks

Open-source Python projects categorized as Stocks

Top 23 Python Stock Projects

  • OpenBBTerminal

    Investment Research for Everyone, Everywhere.

    Project mention: Want to get started using the OpenBB SDK? Explore an example notebooks! | /r/openBB | 2023-06-06

    Load Historical Prices

  • backtesting.py

    :mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.

    Project mention: Python developers -- what broker and api do you use? | /r/algotrading | 2023-06-08

    We chose backtesting.py for a backtesting framework. There are several to choose from but that one seems like the most well-supported and actively worked on at the moment.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • gym-anytrading

    The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)

  • blankly

    🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.

  • pybroker

    Algorithmic Trading in Python with Machine Learning

    Project mention: pybroker: NEW Other Models - star count:1153.0 | /r/algoprojects | 2023-07-23
  • AlphaPy

    Automated Machine Learning [AutoML] with Python, scikit-learn, Keras, XGBoost, LightGBM, and CatBoost

    Project mention: AlphaPy: machine learning framework built on sklearn and pandas. Support pyfolio/xgboost/lightgmb/catboost(gradient boosting on decision tress) etc. Examples include financial market prediction/sports prediction/kaggle. Configurations are set though | /r/algoprojects | 2023-04-29
  • AutoTrader

    A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.

    Project mention: Looking for open source Python code for deep learning model to optimize portfolio | /r/algotrading | 2022-12-22
  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • tstock

    📈A command line tool to view stock charts in the terminal.

  • stock

    stock股票.获取股票数据,计算股票指标,识别股票形态,内置选股策略,股票验证回测,股票自动交易,支持PC及移动设备。

    Project mention: InStock: NEW Data - star count:119.0 | /r/algoprojects | 2023-05-27
  • pyEX

    Python interface to IEX and IEX cloud APIs

  • Auto-GPT-MetaTrader-Plugin

    The AutoGPT MetaTrader Plugin is a software tool that enables traders to connect their MetaTrader 4 or 5 trading account to Auto-GPT.

    Project mention: Weekly Megathread | /r/AITechTips | 2023-05-05

    https://github.com/isaiahbjork/Auto-GPT-MetaTrader-Plugin - a software tool that enables traders to connect their MetaTrader 4 or 5 trading account to Auto-GPT.

  • sec-edgar-downloader

    📈 Download filings from the SEC EDGAR database using Python

    Project mention: sec-edgar-downloader: NEW Data - star count:322.0 | /r/algoprojects | 2023-05-06
  • gym-mtsim

    A general-purpose, flexible, and easy-to-use simulator alongside an OpenAI Gym trading environment for MetaTrader 5 trading platform (Approved by OpenAI Gym)

    Project mention: Incorporating Leverage in a Vectorbt Backtest (Crypto/Binance Futures) | /r/algotrading | 2022-09-27

    https://github.com/AminHP/gym-mtsim might be an option.

  • optlib

    A library for financial options pricing written in Python.

    Project mention: optlib: NEW Derivatives and Hedging - star count:250.0 | /r/algoprojects | 2023-04-15
  • zero-btc-screen

    Crypto stock price for RPi Zero

  • tuneta

    Intelligently optimizes technical indicators and optionally selects the least intercorrelated for use in machine learning models

    Project mention: tuneta: NEW Other Models - star count:203.0 | /r/algoprojects | 2022-10-22
  • tiingo-python

    Python client for interacting with the Tiingo Financial Data API (stock ticker and news data)

  • revolut-stocks

    A tax calculator for stocks and dividends activities.

  • Stocks-Pattern-Analyzer

    This tool should help discover different patterns based on similarity measures in historical (financial) data

    Project mention: Stocks-Pattern-Analyzer: NEW Data - star count:170.0 | /r/algoprojects | 2023-01-28
  • TradeRepublicApi

    Unofficial trade republic API

  • TradeAlgo

    Stock trading algorithm written in Python for TD Ameritrade.

  • sec-edgar-financials

    Extract financial data from the SEC's EDGAR database

  • stockbot

    Alpaca algo stock trading bot

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-07-23.

Python Stocks related posts

Index

What are some of the best open-source Stock projects in Python? This list will help you:

Project Stars
1 OpenBBTerminal 24,346
2 backtesting.py 4,068
3 gym-anytrading 1,780
4 blankly 1,762
5 pybroker 1,260
6 AlphaPy 960
7 AutoTrader 686
8 tstock 533
9 stock 522
10 pyEX 405
11 Auto-GPT-MetaTrader-Plugin 362
12 sec-edgar-downloader 361
13 gym-mtsim 328
14 optlib 319
15 zero-btc-screen 297
16 tuneta 292
17 tiingo-python 218
18 revolut-stocks 200
19 Stocks-Pattern-Analyzer 195
20 TradeRepublicApi 193
21 TradeAlgo 151
22 sec-edgar-financials 126
23 stockbot 122
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com