Python Finance

Open-source Python projects categorized as Finance

Top 23 Python Finance 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

  • vnpy


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

  • dash

    Data Apps & Dashboards for Python. No JavaScript Required.

    Project mention: [Python] NiceGUI: Lassen Sie jeden Browser das Frontend für Ihren Python-Code sein | /r/aufdeutsch | 2023-04-25

    Of course there are valid use cases for splitting frontend and backend technologies. NiceGUI is for those who don’t want to leave the Python ecosystem and like to reap the benefits of having all code in one place. There are other options like Streamlit, Dash, Anvil, JustPy, and Pynecone. But we initially created NiceGUI to easily handle the state of external hardware like LEDs, motors, and cameras. Additionally, we wanted to offer a gentle learning curve while still providing the ability to go all the way down to HTML, CSS, and JavaScript if needed.

  • zipline

    Zipline, a Pythonic Algorithmic Trading Library

    Project mention: 10 FinTech APIs every Indian developer should bookmark | | 2022-12-23

    Zipline by Quantopian: An Open-Source tool for algorithmic trading. It is a platform for developing and testing quantitative trading strategies using Python.

  • awesome-quant

    A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)

    Project mention: Open Source Projects | /r/quant | 2023-05-15

    This is a good list

  • qlib

    Qlib is an AI-oriented quantitative investment platform that aims to realize the potential, empower research, and create value using AI technologies in quantitative investment, from exploring ideas to implementing productions. Qlib supports diverse machine learning modeling paradigms. including supervised learning, market dynamics modeling, and RL.

    Project mention: qlib: NEW Other Models - star count:12313.0 | /r/algoprojects | 2023-09-19
  • akshare

    AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库 (by akfamily)

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

  • financial-machine-learning

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

    Project mention: financial-machine-learning: NEW Other Models - star count:3893.0 | /r/algoprojects | 2023-09-01

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

  • alpha_vantage

    A python wrapper for Alpha Vantage API for financial data.

    Project mention: alpha_vantage: NEW Data - star count:3917.0 | /r/algoprojects | 2023-05-15
  • tf-quant-finance

    High-performance TensorFlow library for quantitative finance.

    Project mention: tf-quant-finance: NEW Derivatives and Hedging - star count:3911.0 | /r/algoprojects | 2023-06-10
  • 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.

  • mlfinlab

    MlFinLab helps portfolio managers and traders who want to leverage the power of machine learning by providing reproducible, interpretable, and easy to use tools.

    Project mention: mlfinlab: open source library maintained by hudson and thames though much of the content has moved to a subscription model. Idea is to implement academic research in python code and aggregate it as a package. Sources from [Journal of financial data s | /r/algoprojects | 2022-11-13
  • quantstats

    Portfolio analytics for quants, written in Python

    Project mention: Quantstats issue with Google Colab | /r/quant | 2023-03-22
  • PyThalesians

    Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)

  • vectorbt

    Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.

  • mplfinance

    Financial Markets Data Visualization using Matplotlib

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

    Extract data from a wide range of Internet sources into a pandas DataFrame.

    Project mention: Seeking recommendations for forex economic data API | /r/algotrading | 2023-05-03

    I've looked at and it looks good, does anyone have experience?

  • 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
  • awesome-systematic-trading

    A curated list of awesome libraries, packages, strategies, books, blogs, tutorials for systematic trading.

    Project mention: awesome-systematic-trading: NEW Alternative Finance - star count:1249.0 | /r/algoprojects | 2023-09-19
  • pybroker

    Algorithmic Trading in Python with Machine Learning

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

    Python module to get stock data from Yahoo! Finance

  • tda-api

    A TD Ameritrade API client for Python. Includes historical data for equities and ETFs, options chains, streaming order book data, complex order construction, and more.

    Project mention: tda-api: NEW Derivatives and Hedging - star count:1179.0 | /r/algoprojects | 2023-07-11
  • 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.

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-09-19.

Python Finance related posts


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

Project Stars
1 OpenBBTerminal 24,346
2 vnpy 21,772
3 dash 19,352
4 zipline 16,504
5 awesome-quant 13,720
6 qlib 12,452
7 akshare 7,285
8 financial-machine-learning 4,646
9 4,068
10 alpha_vantage 4,018
11 tf-quant-finance 4,018
12 pandas-ta 4,000
13 mlfinlab 3,551
14 quantstats 3,475
15 PyThalesians 3,193
16 vectorbt 3,143
17 mplfinance 2,970
18 pandas-datareader 2,717
19 bulbea 1,849
20 awesome-systematic-trading 1,304
21 pybroker 1,260
22 yahoo-finance 1,237
23 tda-api 1,206
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.