[go: up one dir, main page]

Browse free open source Python Financial Software and projects below. Use the toggles on the left to filter open source Python Financial Software by OS, license, language, programming language, and project status.

  • Gen AI apps are built with MongoDB Atlas Icon
    Gen AI apps are built with MongoDB Atlas

    The database for AI-powered applications.

    MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
    Start Free
  • Unimus makes Network Automation and Configuration Management easy. Icon
    Unimus makes Network Automation and Configuration Management easy.

    Deploying Unimus to manage your entire network requires only minutes, allowing for rapid deployment without headaches.

    We aim to make automation, disaster recovery, change management and configuration auditing painless and affordable for a network of any size.
    Learn More
  • 1
    FinGPT

    FinGPT

    Open-Source Financial Large Language Models

    FinGPT is an open-source, finance-specialized large language model framework that blends the capabilities of general LLMs with real-time financial data feeds, domain-specific knowledge bases, and task-oriented agents to support market analysis, research automation, and decision support. It extends traditional GPT-style models by connecting them to live or historical financial datasets, news APIs, and economic indicators so that outputs are grounded in relevant and recent market conditions rather than generic knowledge alone. The platform typically includes tools for fine-tuning, context engineering, and prompt templating, enabling users to build specialized assistants for tasks like sentiment analysis, earnings summary generation, risk profiling, trading signal interpretation, and document extraction from financial reports.
    Downloads: 17 This Week
    Last Update:
    See Project
  • 2
    Qbot

    Qbot

    AI-powered Quantitative Investment Research Platform

    Qbot is an open source quantitative research and trading platform that provides a full pipeline from data ingestion and strategy development to backtesting, simulation, and (optionally) live trading. It bundles a lightweight GUI client (built with wxPython) and a modular backend so researchers can iterate on strategies, run batch backtests, and validate ideas in a near-real simulated environment that models latency and slippage. The project places special emphasis on AI-driven strategies — including supervised learning, reinforcement learning and multi-factor models — and offers a “model zoo” and example strategies to help users get started. For evaluation and analysis, Qbot integrates reporting and visualization (tearsheets, metrics) so you can compare performance across runs and inspect trade-level behavior. It supports multiple strategy runtimes and backtesting engines, is organized for extensibility (strategies live in a dedicated folder).
    Downloads: 11 This Week
    Last Update:
    See Project
  • 3
    AnyTrading

    AnyTrading

    The most simple, flexible, and comprehensive OpenAI Gym trading

    gym-anytrading is an OpenAI Gym-compatible environment designed for developing and testing reinforcement learning algorithms on trading strategies. It simulates trading environments for financial markets, including stocks and forex.
    Downloads: 8 This Week
    Last Update:
    See Project
  • 4
    Google Spreadsheets Python

    Google Spreadsheets Python

    Google Sheets Python API

    gspread is a Python API for Google Sheets. A service account is a special type of Google account intended to represent a non-human user that needs to authenticate and be authorized to access data in Google APIs [sic]. Since it’s a separate account, by default it does not have access to any spreadsheet until you share it with this account. Just like any other Google account. To access spreadsheets via Google Sheets API you need to authenticate and authorize your application. Older versions of gspread have used oauth2client. Google has deprecated it in favor of google-auth. If you’re still using oauth2client credentials, the library will convert these to google-auth for you, but you can change your code to use the new credentials to make sure nothing breaks in the future. If you familiar with the Jupyter Notebook, Google Colaboratory is probably the easiest way to get started using gspread.
    Downloads: 8 This Week
    Last Update:
    See Project
  • No-Nonsense Code-to-Cloud Security for Devs | Aikido Icon
    No-Nonsense Code-to-Cloud Security for Devs | Aikido

    Connect your GitHub, GitLab, Bitbucket or Azure DevOps account to start scanning your repos for free.

    Aikido provides a unified security platform for developers, combining 12 powerful scans like SAST, DAST, and CSPM. AI-driven AutoFix and AutoTriage streamline vulnerability management, while runtime protection blocks attacks.
    Learn More
  • 5
    Qlib

    Qlib

    Qlib is an AI-oriented quantitative investment platform

    Qlib is an AI-oriented quantitative investment platform, which aims to realize the potential, empower the research, and create the value of AI technologies in quantitative investment. With Qlib, you can easily try your ideas to create better Quant investment strategies. An increasing number of SOTA Quant research works/papers are released in Qlib. With Qlib, users can easily try their ideas to create better Quant investment strategies. At the module level, Qlib is a platform that consists of above components. The components are designed as loose-coupled modules and each component could be used stand-alone.
    Downloads: 8 This Week
    Last Update:
    See Project
  • 6
    OpenBB Terminal

    OpenBB Terminal

    Investment research for everyone, anywhere

    Fully written in python which is one of the most used programming languages due to its simplified syntax and shallow learning curve. It is the first time in history that users, regardless of their background, can so easily add features to an investment research platform. The MIT Open Source license allows any user to fork the project to either add features to the broader community or create their own customized terminal version. The terminal allows for users to import their own proprietary datasets to use on our econometric menu. In addition, users are allowed to export any type of data to any type of format whether that is raw data in Excel or an image in PNG. This is ideal for finance content creation. Create notebook templates (through papermill) which can be run on different tickers. This level of automation allows to speed up the development of your investment thesis and reduce human error.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 7
    VisiData

    VisiData

    A terminal spreadsheet multitool for discovering and arranging data

    VisiData is an interactive multitool for tabular data. It combines the clarity of a spreadsheet, the efficiency of the terminal, and the power of Python, into a lightweight utility that can handle millions of rows with ease. A terminal interface for exploring and arranging tabular data. VisiData supports tsv, CSV, SQLite, JSON, xlsx (Excel), hdf5, and many other formats. Requires Linux, OS/X, or Windows (with WSL). Hundreds of other commands and options are also available; see the documentation. Code in the stable branch of this repository, including the main vd application, loaders, and plugins, is available for use and redistribution under GPLv3. VisiData is a free, open-source tool that lets you quickly open, explore, summarize, and analyze datasets in your computer’s terminal. VisiData works with CSV files, Excel spreadsheets, SQL databases, and many other data sources.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 8
    QuantDinger

    QuantDinger

    AI-driven, local-first quantitative trading platform for research

    QuantDinger is a local-first, open-source quantitative trading platform designed to bring AI-assisted analysis, strategy development, backtesting, and live execution into a self-hosted workspace where data and API credentials remain under your control. Unlike cloud-locked quant services, it lets users run the entire trading workflow on their own infrastructure using Docker, with a PostgreSQL database backend, a Python backend API, and a web frontend UI that supports visualization and strategy management. Traders and researchers can develop custom strategies in Python, run historical backtests, analyze performance, and connect to supported exchanges for live trading, making it suitable for equities, crypto, forex, and futures markets in a local environment. QuantDinger also incorporates optional AI features via external APIs, assisting in tasks like strategy ideation or interpreting market indicators, but strategy logic remains inspectable and transparent in code.
    Downloads: 6 This Week
    Last Update:
    See Project
  • 9
    alpha_vantage

    alpha_vantage

    A python wrapper for Alpha Vantage API for financial data.

    Alpha Vantage delivers a free API for real time financial data and most used finance indicators in a simple json or pandas format. This module implements a python interface to the free API provided by Alpha Vantage. You can have a look at all the API calls available in their API documentation. For code-less access to the APIs, you may also consider the official Google Sheet Add-on or the Microsoft Excel Add-on by Alpha Vantage. To get data from the API, simply import the library and call the object with your API key. Next, get ready for some awesome, free, realtime finance data. Your API key may also be stored in the environment variable ALPHAVANTAGE_API_KEY. The library supports giving its results as json dictionaries (default), pandas dataframe (if installed) or csv, simply pass the parameter output_format='pandas' to change the format of the output for all the API calls in the given class.
    Downloads: 6 This Week
    Last Update:
    See Project
  • The fastest way to host, scale and get paid on WordPress Icon
    The fastest way to host, scale and get paid on WordPress

    For developers searching for a web hosting solution

    Lightning-fast hosting, AI-assisted site management, and enterprise payments all in one platform designed for agencies and growth-focused businesses.
    Learn More
  • 10
    AutoTrader

    AutoTrader

    A Python-based development platform for automated trading systems

    AutoTrader is a Python-based platform—now archived—designed to facilitate the full lifecycle of automated trading systems. It provides tools for backtesting, strategy optimization, visualization, and live trading integration. A feature-rich trading simulator, supporting backtesting and paper trading. The 'virtual broker' allows you to test your strategies in a risk-free, simulated environment before going live. Capable of simulating multiple order types, stop-losse,s and take-profits, cross-exchange arbitrage and portfolio strategies, AutoTrader has more than enough to build a profitable trading system.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 11
    NautilusTrader

    NautilusTrader

    A high-performance algorithmic trading platform

    NautilusTrader is an open-source, high-performance, production-grade algorithmic trading platform, provides quantitative traders with the ability to backtest portfolios of automated trading strategies on historical data with an event-driven engine, and also deploy those same strategies live, with no code changes. The platform is 'AI-first', designed to develop and deploy algorithmic trading strategies within a highly performant and robust Python native environment. This helps to address the parity challenge of keeping the Python research/backtest environment, consistent with the production live trading environment. NautilusTraders design, architecture and implementation philosophy holds software correctness and safety at the highest level, with the aim of supporting Python native, mission-critical, trading system backtesting and live deployment workloads.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 12
    PyBroker

    PyBroker

    Algorithmic Trading in Python with Machine Learning

    Are you looking to enhance your trading strategies with the power of Python and machine learning? Then you need to check out PyBroker! This Python framework is designed for developing algorithmic trading strategies, with a focus on strategies that use machine learning. With PyBroker, you can easily create and fine-tune trading rules, build powerful models, and gain valuable insights into your strategy’s performance.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 13
    QuickFIX
    QuickFIX is the worlds first Open Source C++ FIX (Financial Information eXchange) engine, helping financial institutions easily integrate with each other. The SVN repository is now locked. Latest code is hosted at github. https://github.com/quickfix/quickfix
    Downloads: 28 This Week
    Last Update:
    See Project
  • 14
    AI Hedge Fund

    AI Hedge Fund

    An AI Hedge Fund Team

    This repository demonstrates how to build a simplified, automated hedge fund strategy powered by AI/ML. It integrates financial data collection, preprocessing, feature engineering, and predictive modeling to simulate decision-making in trading. The code shows workflows for pulling stock or market data, applying machine learning algorithms to forecast trends, and generating buy/sell/hold signals based on the predictions. Its structure is educational: intended more as a proof-of-concept than a ready-to-use financial product, giving learners insight into the mechanics of quantitative finance automation. The project underlines AI’s potential in investment strategies but also carries disclaimers that it is for research and not financial advice. The implementation is designed so developers can study the pipeline end-to-end: from data ingestion through modeling to simulated portfolio management.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 15
    AIQuant

    AIQuant

    AI-powered platform for quantitative trading

    ai_quant_trade is an AI-powered, one-stop open-source platform for quantitative trading—ranging from learning and simulation to actual trading. It consolidates stock trading knowledge, strategy examples, factor discovery, traditional rules-based strategies, various machine learning and deep learning methods, reinforcement learning, graph neural networks, high-frequency trading, C++ deployment, and Jupyter Notebook examples for practical hands-on use. Stock trading strategies: large models, factor mining, traditional strategies, machine learning, deep learning, reinforcement learning, graph networks, high-frequency trading, etc. Resource summary: network-wide resource summary, practical cases, paper interpretation, and code implementation.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 16
    FinRobot

    FinRobot

    An Open-Source AI Agent Platform for Financial Analysis using LLMs

    FinRobot is an open-source AI framework focused on automating financial data workflows by combining data ingestion, feature engineering, model training, and automated decision-making pipelines tailored for quantitative finance applications. It provides developers and quants with structured modules to fetch market data, process time series, generate technical indicators, and construct features appropriate for machine learning models, while also supporting backtesting and evaluation metrics to measure strategy performance. Built with modularity in mind, FinRobot allows users to plug in custom models — from classical algorithms to deep learning architectures — and orchestrate components in pipelines that can run reproducibly across experiments. The framework also tends to include automation layers for deployment, enabling trained models to operate in live or simulated environments with scheduled re-training and risk controls in place.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 17
    Optopsy

    Optopsy

    A nimble options backtesting library for Python

    Optopsy is a Python-based, nimble backtesting and statistics library focused on evaluating options trading strategies like calls, puts, straddles, spreads, and more, using pandas-driven analysis. The csv_data() function is a convenience function. Under the hood it uses Panda's read_csv() function to do the import. There are other parameters that can help with loading the csv data, consult the code/future documentation to see how to use them. Optopsy is a small simple library that offloads the heavy work of backtesting option strategies, the API is designed to be simple and easy to implement into your regular Panda's data analysis workflow. As such, we just need to call the long_calls() function to have Optopsy generate all combinations of a simple long call strategy for the specified time period and return a DataFrame. Here we also use Panda's round() function afterwards to return statistics within two decimal places.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 18
    ThetaGang

    ThetaGang

    ThetaGang is an IBKR bot for collecting money

    ThetaGang is an IBKR trading bot for collecting premiums by selling options using "The Wheel" strategy. The Wheel is a strategy that surfaced on Reddit but has been used by many in the past. This bot implements a slightly modified version of The Wheel, with my own personal tweaks. The strategy, as implemented here, does a few things differently from the one described in the post above. For one, it's intended to be used to augment a typical index-fund-based portfolio with specific asset allocations. For example, you might want to use a 60/40 portfolio with SPY (S&P500 fund) and TLT (20-year treasury fund). This strategy reduces risk, but may also limit gains from big market swings. By reducing risk, one can increase leverage. ThetaGang will try to acquire your desired allocation of each stock or ETF according to the weights you specify in the config. To acquire the positions, the script will write puts when conditions are met.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 19
    Yahoo! Finance market data downloader

    Yahoo! Finance market data downloader

    Yahoo! Finance market data downloader

    Ever since Yahoo! finance decommissioned their historical data API, many programs that relied on it to stop working. yfinance aims to solve this problem by offering a reliable, threaded, and Pythonic way to download historical market data from Yahoo! finance. yfinance aimed to offer a temporary fix to the problem by scraping the data from Yahoo! Finance and returning a the data in the same format as pandas_datareader's get_data_yahoo(), thus keeping the code changes in existing software to a minimum. The latest version of yfinance is a complete re-write of the libray, offering a reliable method of downloading historical market data from Yahoo! Finance, up to 1 minute granularity, with a more Pythonic way. The Ticker() module allows you get market and metadata for security, using a Pythonic way.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 20
    Awesome-Quant

    Awesome-Quant

    A curated list of insanely awesome libraries, packages and resources

    awesome-quant is a curated list (“awesome list”) of libraries, packages, articles, and resources for quantitative finance (“quants”). It includes tools, frameworks, research papers, blogs, datasets, etc. It aims to help people working in algorithmic trading, quant investing, financial engineering, etc., find useful open source or educational resources. Licensed under typical “awesome” list standards.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 21
    Intelligent stock analysis system

    Intelligent stock analysis system

    LLM-driven A/H/US stock intelligent analyzer

    Intelligent stock analysis system is a Python-based smart stock analysis system that leverages large language models to automatically analyze selected equities across A-shares, Hong Kong stocks, and U.S. markets. It’s designed to produce a daily “decision dashboard” summarizing key insights such as core conclusions, precise entry/exit points, and checklists for potential trades, combining multi-dimensional technical analysis, market sentiment, chip distribution, and real-time price data. The system supports scheduled execution using GitHub Actions, enabling fully automated daily analysis and multi-channel notifications via platforms like Telegram, Enterprise WeChat, Feishu, email, and push services. Under the hood, it integrates multiple AI models (like Gemini and OpenAI-compatible models) and diverse market data sources (including AkShare, Tushare, and YFinance) to synthesize comprehensive reports.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 22
    PyTorch Forecasting

    PyTorch Forecasting

    Time series forecasting with PyTorch

    PyTorch Forecasting aims to ease state-of-the-art time series forecasting with neural networks for both real-world cases and research alike. The goal is to provide a high-level API with maximum flexibility for professionals and reasonable defaults for beginners. A time series dataset class that abstracts handling variable transformations, missing values, randomized subsampling, multiple history lengths, etc. A base model class that provides basic training of time series models along with logging in tensorboard and generic visualizations such actual vs predictions and dependency plots. Multiple neural network architectures for timeseries forecasting that have been enhanced for real-world deployment and come with in-built interpretation capabilities. The package is built on PyTorch Lightning to allow training on CPUs, single and multiple GPUs out-of-the-box.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 23
    Tally

    Tally

    Let agents classify your bank transactions

    Tally is an open-source, AI-assisted tool designed to automate the classification of personal financial transactions, helping users turn raw bank data into meaningful categories without manual tagging. At its core, Tally pairs a local rule engine with large language models so that an AI assistant (like Claude Code, Copilot, or any CLI agent) interprets, suggests, and categorizes expenses, savings, subscriptions, and income events based on your own rules and behavior. It generates human-readable reports and can produce HTML, JSON, or Markdown outputs to suit dashboards or personal finance workflows. The project emphasizes transparency, allowing users to see why a particular transaction was classified a certain way and to refine rules over time. While it’s tailored toward developers and advanced users, it also includes an interactive command-line experience for initializing budgets, generating charts, and diving deep into spending patterns.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 24
    ValueCell

    ValueCell

    Community-driven, multi-agent platform for financial applications

    ValueCell is a community-driven multi-agent AI platform focused on financial research, analysis, and decision-making that lets users leverage multiple specialized AI agents for tasks like data retrieval, investment research, strategy execution, and market tracking. The system brings together a suite of collaborative agents—such as research agents that gather and interpret fundamentals, strategy agents that implement trading logic, and news agents that deliver personalized updates—to help users make more informed financial decisions across stocks, crypto, and other markets. ValueCell supports integrations with multiple language model providers and market data sources, giving developers flexibility in customizing agents and incorporating external APIs to enhance insights. Sensitive user data is stored locally, a design choice that prioritizes privacy and security while still enabling rich analytic workflows.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 25
    WYGIWYH

    WYGIWYH

    A simple but powerful self-hosted finance tracker

    WYGIWYH (What You Get Is What You Have) is a self-hosted, principles-first personal finance tracker built for people who prefer a simple, intuitive approach to tracking money without complicated budgets or categories. Based on a philosophy that you should use what you earn each month for that month, it helps you understand where your funds go while keeping savings clearly separated so they aren’t accidentally dipped into for everyday expenses. The app supports multiple currencies, customizable transaction types, and built-in tools like dollar-cost averaging tracking to help you see investment activity alongside regular expenses, making it flexible for real world financial situations and global use. Its interface is designed to prioritize clarity and ease of entry, so you can quickly record and review spending without being overwhelmed by features you don’t need.
    Downloads: 2 This Week
    Last Update:
    See Project