Python Investing

Open-source Python projects categorized as Investing

Top 20 Python Investing Projects

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

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

  • investpy

    Financial Data Extraction from Investing.com with Python

    Project mention: investpy: NEW Data - star count:1424.0 | /r/algoprojects | 2023-08-16
  • 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
  • lumibot

    Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more

    Project mention: lumibot: NEW Derivatives and Hedging - star count:319.0 | /r/algoprojects | 2023-02-12
  • Stocker

    Financial Web Scraper & Sentiment Classifier (by dwallach1)

  • valinvest

    A value investing tool based on Warren Buffett, Joseph Piotroski and Benjamin Graham thoughts

  • Onboard AI

    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 www.getonboard.dev.

  • lakshmi

    Investing library and command-line interface inspired by the Bogleheads philosophy

  • td-ameritrade-api

    The unofficial Python API client library for TD Ameritrade. This library allows for easy access of the Standard REST API and Streaming API. (by areed1192)

    Project mention: Unveiling pm-td-ameritrade-api: A Comprehensive TD Ameritrade API Wrapper with Pydantic Models and More | /r/Python | 2023-06-07

    This project takes inspiration from two other API wrappers for the TDA API Spec: * The original version I edited, which was the main inspiration for the code structure: https://github.com/areed1192/td-ameritrade-api * Another version I used at least for base orders classes: https://github.com/alexgolec/tda-api

  • volatile

    Volatile: your day-to-day trading companion.

  • senate-stock-watcher-data

    Data repository of JSON files that are filed by US Senators on efdsearch.senate.gov where they must report their stock trades. This is the same data as on senatestockwatcher.com

    Project mention: Revealed: shares held ‘in secret’ by scores of MPs raise questions about vested interests | Politics | /r/unitedkingdom | 2023-07-10

    https://senatestockwatcher.com https://housestockwatcher.com

  • etf4u

    📊 Python tool to scrape real-time information about ETFs from the web and mixing them together by proportionally distributing their assets allocation

  • ark_invest

    daily report of @arkinvest ETF activity + data collection

  • dMLTresearch

    Beginner friendly guide into the world of investing, quant data analysis and algorithmic trading.

    Project mention: I’ve been trading for 3yr on and off I need a good mentor to learn under or a strategy you guys have any suggestions or tips | /r/Forex | 2022-11-17
  • pybudget

    This is a python script that will determine a budget for your current pay period.

  • taxonomy4good

    Taxonomy4Good: a sustainability lexicon that provides the freedom to create custom taxonomies in addition to listed taxonomies.

  • kraken_api_dca

    If you're looking for a way to automate your regular crypto purchases via Kraken, you have come to the right place. The kraken_api_dca.py script allows you to specify orders in all trading pairs on Kraken. Just let your computer run the script at regular intervals and you have your automated Dollar-cost averaging bot.

  • compound_interest_calculator

    Generate specific compound interest possibilities

  • mtgbot

    A Magic: The Gathering Finance Bot that generates excel spreadsheets of analyzed card values over a period of days given single MTGGoldfish.com cards or set/format lists for M:TG.

  • hampp

    Robotic hamster to give you financial advice

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

Python Investing related posts

Index

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

Project Stars
1 backtesting.py 4,089
2 mlfinlab 3,559
3 investpy 1,449
4 AutoTrader 693
5 lumibot 448
6 Stocker 141
7 valinvest 135
8 lakshmi 118
9 td-ameritrade-api 115
10 volatile 60
11 senate-stock-watcher-data 33
12 etf4u 31
13 ark_invest 27
14 dMLTresearch 24
15 pybudget 17
16 taxonomy4good 17
17 kraken_api_dca 16
18 compound_interest_calculator 9
19 mtgbot 4
20 hampp 3
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