Python market-data

Open-source Python projects categorized as market-data

Top 14 Python market-data Projects

  • ccxt

    A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges

    Project mention: Algo Trading | /r/learnpython | 2023-06-21

    CCXT has good documentation on what exchanges and API's are supported which is very helpful.

  • yfinance

    Download market data from Yahoo! Finance's API

    Project mention: How to catch exceptions in library? | /r/learnpython | 2023-07-06

    If you check the file here - - you can see this is communicated via the "raise Exception('%s: %s' % (self.ticker, err_msg))" line. I'm trying to use the following to catch the exception but no luck.

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

  • mplfinance

    Financial Markets Data Visualization using Matplotlib

    Project mention: mplfinance: NEW Data - star count:2908.0 | /r/algoprojects | 2023-08-15
  • cryptofeed

    Cryptocurrency Exchange Websocket Data Feed Handler

    Project mention: cryptofeed: NEW Data - star count:1821.0 | /r/algoprojects | 2023-08-06
  • alpaca-trade-api-python

    Python client for Alpaca's trade API

    Project mention: Simple Martingale Bot (willing to pay) | /r/algotrading | 2023-03-05
  • BitcoinExchangeFH

    Cryptocurrency exchange market data feed handler

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

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

  • example-scalping

    A working example algorithm for scalping strategy trading multiple stocks concurrently using python asyncio

  • alpaca-py

    The Official Python SDK for Alpaca API

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

    Alpaca, as mentioned before, is pretty easy. They have a python client ( that's pretty good. Free trades on equities is nice. The problem with alpaca is that their free equity data is 15min delayed. I've also found their margin accounts to be hard to use programmatically so I only trade long with them. They have crypto but their commissions are high.

  • candlestick_retriever

    Retrieve all historical candlestick data from crypto exchange Binance and upload it to Kaggle.

  • mftool

    ⚡ Python library for getting real-time Mutual Funds data in India

  • databento-python

    The official Python client library for Databento.

    Project mention: Raw market data | /r/quant | 2023-07-11

    A bit of self-promotion but you can try us:

  • yflive

    Live Data Streamer for Yahoo! Finance

  • marketdata

    Extract, transform, and load market data from various API's into a MySQL database.

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

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-08-15.

Python market-data related posts


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

Project Stars
1 ccxt 29,153
2 yfinance 10,261
3 mplfinance 2,970
4 cryptofeed 1,874
5 alpaca-trade-api-python 1,619
6 BitcoinExchangeFH 916
7 Yahooquery 656
8 example-scalping 652
9 alpaca-py 292
10 candlestick_retriever 140
11 mftool 100
12 databento-python 67
13 yflive 15
14 marketdata 8
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.