Python stock-market

Open-source Python projects categorized as stock-market

Top 23 Python stock-market Projects

  • financial-machine-learning

    A curated list of practical financial machine learning tools and applications.

    Project mention: financial-machine-learning: NEW Other Models - star count:4654.0 | /r/algoprojects | 2023-10-02
  • pandas-ta

    Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators

    Project mention: Help recreating ta-lib python MACDFIX in pure python | /r/algotrading | 2023-05-03

    I do not know what is the difference between MACD and MACDFIX but maybe you can take a look how MACD is implemented in pandas_ta library and modify it a bit to achive a behavior you want.

  • 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.

  • zvt

    modular quant framework.

  • Clairvoyant

    Software designed to identify and monitor social/historical cues for short term stock movement

    Project mention: Short-Term Movement Cues: Identify social/historical cues for short term stock movement. Sklearn SVM model is used and good visualization coded in matplotlib Other Models - star count:2370.0 | /r/algoprojects | 2023-08-15
  • bulbea

    :boar: :bear: Deep Learning based Python Library for Stock Market Prediction and Modelling

    Project mention: Deep Learning IV: Bulbea: Deep Learning based Python Library. Deep Learning And Reinforcement Learning - star count:1798.0 | /r/algoprojects | 2023-04-01
  • stocksight

    Stock market analyzer and predictor using Elasticsearch, Twitter, News headlines and Python natural language processing and sentiment analysis

  • alpaca-trade-api-python

    Python client for Alpaca's trade API

    Project mention: Simple Martingale Bot (willing to pay) | /r/algotrading | 2023-03-05
  • 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.

  • robin_stocks

    This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at

    Project mention: Robin_Stocks sudden access failure | /r/learnpython | 2023-02-23
  • fooltrader

    quant framework for stock

  • Empyrial

    AI and data-driven quantitative portfolio management library for portfolio risk and performance analysis 投资组合管理

  • Yahooquery

    Python wrapper for an unofficial Yahoo Finance API

    Project mention: This strategy seems to work really well with fake money... Why wouldn't it work with real money? | /r/algotrading | 2023-06-21

    For that calculator, we acquired the data using the Twelve Data API (i don't have link; my friend got the data), which only allowed 800 requests per day on the free version, meaning we weren't able to get very much out of it (~14000 datapoints). We recently switched over to a new, 120,000 datapoint dataset we generated using a python library called yahooquery, which gives us unlimited requests. DM me for more info, if you want.

  • tstock

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

  • pyEX

    Python interface to IEX and IEX cloud APIs

  • 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
  • deep-RL-trading

    playing idealized trading games with deep reinforcement learning

  • twelvedata-python

    Twelve Data Python Client - Financial data API & WebSocket

    Project mention: twelvedata-python: NEW Data - star count:312.0 | /r/algoprojects | 2023-10-02
  • 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
  • stock-bot

    An application that allows you to design and test your own stock trading algorithms in an attempt to beat the market.

  • tiingo-python

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

  • 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
  • TradeAlgo

    Stock trading algorithm written in Python for TD Ameritrade.

  • Stock-Prediction-Neural-Network-and-Machine-Learning-Examples

    Examples of python neural net and ML stock prediction methods with sample stock data.

    Project mention: stock prediction NN and ML examples | /r/quant | 2023-09-15
  • FAIG

    Fully Automated IG Trading

    Project mention: Ask HN: How did you get started with trading | | 2023-05-31

    In the past, I was heavily involved in retail trading, navigating the financial waves manually. The realization that I could automate my trading strategies was a game-changer. Eager to optimize my workflow, I dove headfirst into learning Python in a more detailed way and began crafting my trading tools.

    This led me to create FAIG, which you can explore here:

    To my surprise, it gathered momentum on Reddit. But take it from me, a lot of the chatter on algotrading is mere noise rather than insightful wisdom.

    But FAIG is not my only creation. I have a treasure trove of other coding repositories where I occasionally unveil some of my custom trading scripts. You can check out one of these at

    Remember, the key is to strategize and then automate. Bring precision and efficiency to your trading.

  • Revelo Payroll

    Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.

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-10-02.

Python stock-market related posts


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

Project Stars
1 financial-machine-learning 4,685
2 pandas-ta 4,037
3 zvt 2,677
4 Clairvoyant 2,376
5 bulbea 1,849
6 stocksight 1,811
7 alpaca-trade-api-python 1,620
8 robin_stocks 1,522
9 fooltrader 1,106
10 Empyrial 782
11 Yahooquery 657
12 tstock 536
13 pyEX 405
14 sec-edgar-downloader 364
15 deep-RL-trading 335
16 twelvedata-python 312
17 tuneta 292
18 stock-bot 278
19 tiingo-python 218
20 Stocks-Pattern-Analyzer 195
21 TradeAlgo 151
22 Stock-Prediction-Neural-Network-and-Machine-Learning-Examples 146
23 FAIG 139
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at