Skip to content

A curated list of insanely awesome libraries, packages and resources for systematic trading. Crypto, Stock, Futures, Options, CFDs, FX, and more | 量化交易 | 量化投资

License

Notifications You must be signed in to change notification settings

wangzhe3224/awesome-systematic-trading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Systematic Trading

or Quantitative Trading + a bit data science infra

Awesome GitHub last commit (branch)

Python Java C++ JavaScript Rust Go Jupyter Notebook

Star History

Star History Chart

希望阅读中文版?点我

Interested in systematic trading? Check QuantBox

A curated list of awesome libraries, packages and resources for Systematic Trading (Quantitative Trading)

Open access: all rights granted for use and re-use of any kind, by anyone, at no cost, under your choice of either the free MIT License or Creative Commons CC-BY International Public License.

How do we pick the projects?

  • Fit in Systematic Trading / Quantitative Trading domain
  • Good coding style and software architecture
  • (Optional) Under active development
  • (Optional) Reasonable test coverage

Overall, I tend to pick decent or promising libraries that closely related to systematic trading instead of including as many libraries as possible.

Please raise a PR if you found some good fit projects for this repo or remove some outdated projects. Thanks!

Search page by languages you are interested in to find related libraries. For example: Ctrl+F, Rust

And I count crypto as whole new category: >> Click ME to Systematic Crypto.

🔥 AI Powered Systematic Trading Systems

  • FinRL GitHub last commit (branch) GitHub Repo stars | Python | - FinRL is the first open-source framework to demonstrate the great potential of applying deep reinforcement learning in quantitative finance.
  • FinGPT GitHub last commit (branch) GitHub Repo stars - FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.
  • QLib (Microsoft) GitHub last commit (branch) GitHub Repo stars | Python, Cython | - 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.
  • Qbot GitHub last commit (branch) GitHub Repo stars | Python | - AI 自动量化交易机器人 AI-powered Quantitative Investment Research Platform.

Backtest + live trading

General purpose

Event Driven Frameworks

Note: the one marked as Live Trading has reasonable live trading support for at least 1 broker. Otherwise, backtest function only.

  • aat GitHub last commit (branch) GitHub Repo stars | Python, C++, Live Trading| - an asynchronous, event-driven framework for writing algorithmic trading strategies in python with optional acceleration in C++. It is designed to be modular and extensible, with support for a wide variety of instruments and strategies, live trading across (and between) multiple exchanges.
  • * barter-rs GitHub last commit (branch) GitHub Repo stars | Rust | - Open-source Rust framework for building event-driven live-trading & backtesting systems. Algorithmic trade with the peace of mind that comes from knowing your strategies have been backtested with a near-identical trading Engine.
  • * bt GitHub last commit (branch) GitHub Repo stars | Python | - Flexible backtesting for Python based on Algo and Strategy Tree
  • Better Quant GitHub last commit (branch) GitHub Repo stars | C++, Live Trading | - Better quant today, best quant tomorrow. 💪
  • Botvana GitHub last commit (branch) GitHub Repo stars | Rust | - high-performance and event-driven trading system built using Rust
  • backtrader GitHub last commit (branch) GitHub Repo stars | Python, Live Trading | - Event driven Python Backtesting library for trading strategies
  • backtesting.py GitHub last commit (branch) GitHub Repo stars | Python | - Backtesting.py is a Python framework for inferring viability of trading strategies on historical (past) data. Improved upon the vision of Backtrader, and by all means surpassingly comparable to other accessible alternatives, Backtesting.py is lightweight, fast, user-friendly, intuitive, interactive, intelligent and, hopefully, future-proof.
  • FlashFunk GitHub last commit (branch) GitHub Repo stars | Rust | - High Performance Runtime in Rust
  • QuantFabric GitHub last commit (branch) GitHub Repo stars | C++ | - QuantFabric是基于Linux/C++开发的中高频量化交易系统,支持中金所、郑商所、大商所、上期所、上海国际能源中心的期货业务品种交易,支持上交所、深交所的股票、债券品种交易。
  • gobacktest GitHub last commit (branch) GitHub Repo stars | Go | - A Go implementation of event-driven backtesting framework
  • Hikyuu GitHub last commit (branch) GitHub Repo stars | C++, Python| - Hikyuu Quant Framework 基于C++/Python的开源量化交易研究框架
  • Investing Algorithm Framework GitHub last commit (branch) GitHub Repo stars | Python | - Framework for developing, backtesting, and deploying automated trading algorithms and trading bots.
  • lumibot GitHub last commit (branch) GitHub Repo stars | Python | - A very simple yet useful backtesting and sample based live trading framework (a bit slow to run...)
  • * nautilus_trader GitHub last commit (branch) GitHub Repo stars | Python, Cython, Rust, Live Trading | - A high-performance algorithmic trading platform and event-driven backtester
  • PyBroker GitHub last commit (branch) GitHub Repo stars | Python | - Algorithmic Trading in Python with Machine Learning
  • QuantConnect GitHub last commit (branch) GitHub Repo stars | C#, .NET, Live Trading | - Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
  • QUANTAXIS GitHub last commit (branch) GitHub Repo stars | Python, Rust, Live Trading | - QUANTAXIS 支持任务调度 分布式部署的 股票/期货/期权/港股/虚拟货币 数据/回测/模拟/交易/可视化/多账户 纯本地量化解决方案
  • Rqalpha GitHub last commit (branch) GitHub Repo stars | Python | - A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
  • quanttrader GitHub last commit (branch) GitHub Repo stars | Python | - Backtest and live trading in Python. Event based. Similar to backtesting.py.
  • qf-lib GitHub last commit (branch) GitHub Repo stars | Python | - Modular Python library that provides an advanced event driven backtester and a set of high quality tools for quantitative finance. Integrated with various data vendors and brokers, supports Crypto, Stocks and Futures.
  • sdoosa-algo-trade-python GitHub last commit (branch) GitHub Repo stars | Python | - This project is mainly for newbies into algo trading who are interested in learning to code their own trading algo using python interpreter.
  • * vnpy GitHub last commit (branch) GitHub Repo stars | Python, Stock, Futures, Crypto, Live Trading | - Python-based open source quantitative trading system development framework, officially released in January 2015, has grown step by step into a full-featured quantitative trading platform
  • WonderTrader GitHub last commit (branch) GitHub Repo stars | C++, Python | - WonderTrader——量化研发交易一站式框架
  • zvt GitHub last commit (branch) GitHub Repo stars | Python, Stock, Backtest | - Modular quant framework
  • zipline GitHub last commit (branch) GitHub Repo stars | Python | - Zipline is a Pythonic algorithmic trading library. It is an event-driven system for backtesting.
  • PandoraTrader GitHub last commit (branch) GitHub Repo stars | C++ | - CTP 高频量化交易平台 C++ Trade Platform for quant developer
  • hftbacktest GitHub last commit (branch) GitHub Repo stars | Python, numba | - A high-frequency trading and market-making backtesting tool accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books.
  • Cipher GitHub last commit (branch) GitHub Repo stars | Python | - Backtesting library with focus on position adjustment that allows testing complicated setups. Pythonic, extensible, well-structured, documented.

Vector Based Frameworks

  • FinHack GitHub last commit (branch) GitHub Repo stars | Python | - 一个易于拓展的量化金融框架,它在当前版本中集成了数据采集、因子计算、因子挖掘、因子分析、机器学习、策略编写、量化回测、实盘接入等全流程的量化投研工作
  • pysystemtrade GitHub last commit (branch) GitHub Repo stars | Python, Live Trading | - Systematic Trading in python from book by Rob Carver
  • finmarketpy GitHub last commit (branch) GitHub Repo stars | Python | - Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)
  • vectorbt GitHub last commit (branch) GitHub Repo stars | Python, numba | - vectorbt takes a novel approach to backtesting: it operates entirely on pandas and NumPy objects, and is accelerated by Numba to analyze any data at speed and scale. This allows for testing of many thousands of strategies in seconds.
  • fund-strategy GitHub last commit (branch) GitHub Repo stars | TypeScript | - 一个简单实用的基金投资策略分析,基金回测工具
  • fastquant GitHub last commit (branch) GitHub Repo stars | Python | - Backtest and optimize your ML trading strategies with only 3 lines of code

Crypto currency focus

  • basana GitHub last commit (branch) GitHub Repo stars | Python | - A Python async and event driven framework for algorithmic trading, with a focus on crypto currencies.
  • c-binance-future-quant GitHub last commit (branch) GitHub Repo stars | Python | - 低成本,高效率,简单实现的币安合约量化系统架构
  • triangular-arbitrage2 GitHub last commit (branch) GitHub Repo stars | TypeScript | - a server side application for perform triangular arbitrage.
  • bTrader GitHub last commit (branch) GitHub Repo stars | Rust | - Triangle arbitrage trading bot for Binance
  • crypto-crawler-rs GitHub last commit (branch) GitHub Repo stars | Rust | - Crawl orderbook and trade messages from crypto exchanges
  • cryptotrader-core GitHub last commit (branch) GitHub Repo stars | Rust | - Simple to use Crypto Exchange REST API client in rust.
  • openlimits GitHub last commit (branch) GitHub Repo stars | Rust | - A Rust high performance cryptocurrency trading API with support for multiple exchanges and language wrappers.
  • Freqtrade GitHub last commit (branch) GitHub Repo stars | Python | - Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning.
  • * Hummingbot GitHub last commit (branch) GitHub Repo stars | Python, Cython, Live Trading | - A client for crypto market making
  • Jesse GitHub last commit (branch) GitHub Repo stars | Python | - Jesse is an advanced crypto trading framework which aims to simplify researching and defining trading strategies.
  • * OctoBot GitHub last commit (branch) GitHub Repo stars | Python, Cython, Live Trading| - Cryptocurrency trading bot for TA, arbitrage and social trading with an advanced web interface
  • Kelp GitHub last commit (branch) GitHub Repo stars | Go, Live Trading | - Kelp is a free and open-source trading bot for the Stellar DEX and 100+ centralized exchanges
  • exc GitHub last commit (branch) GitHub Repo stars | Rust | - The abstraction layer of exchanges.
  • MyCryptoBot GitHub last commit (branch) GitHub Repo stars | Python, Js | - Automated, open source crypto trading and backtesting platform

Machine Learning / Reinforcement Learning Focused

ML, RL

Alpha Collections

General Alpha

Expression based alpha

  • torchquantum | Cython, C, Python | - TorchQuantum is a backtesting framework that integrates the structure of PyTorch and WorldQuant's Operator for efficient quantitative financial analysis.
  • OpenAlpha | C++ | - An open source equity statistical arbitrage backtest simulator, use the same API as WorldQuant's WebSim
  • stock | Python | - 一些因子挖掘的代码 A 股
  • AlphaGen | Python | - Automatic formulaic alpha generation with reinforcement learning.
  • Genetic-Alpha - A genetic programming algorithm used for generating alpha factors in the multi-factor investment strategy
  • alpha_examples - An expression based alpha demo using Polars

Stock picking

  • InvesTool | Go | - Golang实现财报分析、个股基本面检测、基本面选股、4433法则基金筛选与检测、基金持仓相似度、股票选基、基金经理筛选
  • Sequoia选股系统 | Python | - A股自动选股程序,实现了海龟交易法则、缠中说禅牛市买点,以及其他若干种技术形态

Orderbook

  • The Microprice - An estimator of the fair price, given the state of the order book.

Arbitrage (Crypto)

Note: these bots are old and not maintained. I put them here just to show some logic of crypto arbitrage.

  • Blackbird | C++ | - Blackbird Bitcoin Arbitrage: a long/short market-neutral strategy
  • bitcoin-arbitrage | Python | - Bitcoin arbitrage - opportunity detector
  • R2 Bitcoin Arbitrager | TypeScript | - R2 Bitcoin Arbitrager is an automatic arbitrage trading system powered by Node.js + TypeScript.

Basic Components

Fundamental libraries

  • Cvxpy GitHub last commit (branch) GitHub Repo stars | Python, C++ | - A Python-embedded modeling language for convex optimization problems.
  • jax GitHub last commit (branch) GitHub Repo stars | Python | - Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
  • Numpy GitHub last commit (branch) GitHub Repo stars | Python, C | - The fundamental package for scientific computing with Python
  • Modelling
    • Scipy GitHub last commit (branch) GitHub Repo stars | Python, C | - Fundamental algorithms for scientific computing in Python
    • statsmodels GitHub last commit (branch) GitHub Repo stars - Python module that allows users to explore data, estimate statistical models, and perform statistical tests.
    • PyMC GitHub last commit (branch) GitHub Repo stars | Python | - Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Aesara
    • DEAP GitHub last commit (branch) GitHub Repo stars |Python| - Distributed Evolutionary Algorithms in Python
  • DataFrame
    • Pandas GitHub last commit (branch) GitHub Repo stars | Python, Cython | - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
    • Polars GitHub last commit (branch) GitHub Repo stars| Rust, Python | - Polars is a blazingly fast DataFrames library implemented in Rust using Apache Arrow Columnar Format as memory model.
    • FireDucks GitHub last commit (branch) - Compiler Accelerated DataFrame Library for Python with fully-compatible pandas API
  • Machine Learning
    • Hugging Face GitHub Repo stars - The AI community building the future.
    • LangChain GitHub Repo stars - Building applications with LLMs through composability
    • Sikit-learn GitHub last commit (branch) GitHub Repo stars | Python, Cython | - Machine learning in Python
    • JAX GitHub last commit (branch) GitHub Repo stars - Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
    • Pytorch GitHub last commit (branch) GitHub Repo stars | Python | - Tensors and Dynamic neural networks in Python with strong GPU acceleration
    • Keras GitHub last commit (branch) GitHub Repo stars | Python | - The most user friendly Deep Learning for humans in Python
    • TensorFlow GitHub last commit (branch) GitHub Repo stars | Python, C++ | - More low level Deep Learning framework
  • DAG
    • Rustworkx GitHub last commit (branch) GitHub Repo stars | Rust, Python | - A high performance Python graph library implemented in Rust.
    • Networkx GitHub last commit (branch) GitHub Repo stars | Python | - Network Analysis in Python

Computation

  • Ray GitHub last commit (branch) GitHub Repo stars | Python, C++ | - An open source framework that provides a simple, universal API for building distributed applications.
  • csp (Point72) GitHub last commit (branch) GitHub Repo stars | Python, C++ | - csp is a high performance reactive stream processing library, written in C++ and Python
  • Dask GitHub last commit (branch) GitHub Repo stars | Python | - Parallel computing with task scheduling in Python with a Pandas like API
  • Spark GitHub last commit (branch) GitHub Repo stars | Scala | - Apache Spark - A unified analytics engine for large-scale data processing
  • Hamilton GitHub last commit (branch) GitHub Repo stars| Python | - A scalable general purpose micro-framework for defining dataflows. You can use it to build dataframes, numpy matrices, python objects, ML models, etc. Embed Hamilton anywhere python runs, e.g. spark, airflow, jupyter, fastapi, python scripts, etc.
  • Incremental (JaneStreet) GitHub last commit (branch) GitHub Repo stars | Ocaml | - Incremental is a library that gives you a way of building complex computations that can update efficiently in response to their inputs changing, inspired by the work of Umut Acar et. al. on self-adjusting computations. Incremental can be useful in a number of applications
  • Joblib GitHub last commit (branch) GitHub Repo stars | Python | - running Python functions as pipeline jobs
  • Tributary GitHub Repo stars | Python | - Streaming reactive and dataflow graphs in Python
  • GraphKit(No activity) GitHub Repo stars | Python | - A lightweight Python module for creating and running ordered graphs of computations.
  • Man MDF (No activity) GitHub Repo stars | Python | - Data-flow programming toolkit for Python
  • Anchors - C++(No activity) GitHub Repo stars | C++ | - C++ library for incremental computing
  • Anchors - Rust(No activity) GitHub Repo stars | Rust | - self adjusting computations in rust
  • Loman (No activity) GitHub Repo stars | Python | - Loman is a Python library designed to allow quantitative researchers to control complex live updating calculation processes

Python Performance Booster

  • cython GitHub last commit (branch) GitHub Repo stars - Cython is a Python compiler that makes writing C extensions for Python as easy as Python itself. Cython is based on Pyrex, but supports more cutting edge functionality and optimizations.
  • numba GitHub last commit (branch) GitHub Repo stars - NumPy aware dynamic Python compiler using LLVM
  • pybind11 GitHub last commit (branch) GitHub Repo stars - Seamless operability between C++11 and Python
  • pyo3 GitHub last commit (branch) GitHub Repo stars - Rust bindings for the Python interpreter
  • CuPy GitHub last commit (branch) GitHub Repo stars | Python, C++, Cython, Cuda | - CuPy is an open-source array library for GPU-accelerated computing with Python. 100x Boost for some operations
  • CuDF GitHub last commit (branch) GitHub Repo stars | Python | - cuDF - GPU DataFrame Library. No-code-change accelerator for pandas.
  • codon GitHub last commit (branch) GitHub Repo stars | C++ | - A high-performance, zero-overhead, extensible Python compiler using LLVM
  • Bottleneck GitHub last commit (branch) GitHub Repo stars | Python, C | - Fast NumPy array functions written in C
  • NumExpr GitHub last commit (branch) GitHub Repo stars | Python, C++ | - Fast numerical array expression evaluator for Python, NumPy, PyTables, pandas, bcolz and more
  • pandarallel GitHub last commit (branch) GitHub Repo stars | Python | - A simple and efficient tool to parallelize Pandas operations on all available CPUs

Python Profilers

  • py-spy GitHub last commit (branch) GitHub Repo stars - Sampling profiler for Python programs
  • pyinstrument GitHub last commit (branch) GitHub Repo stars - Call stack profiler for Python. Shows you why your code is slow!
  • Memray GitHub last commit (branch) GitHub Repo stars - Memray is a memory profiler for Python

Alternative libraries

Numpy Alternatives

  • ndarray GitHub last commit (branch) GitHub Repo stars | Rust | - ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
  • faer GitHub last commit (branch) GitHub Repo stars | Rust | - Linear algebra foundation for the Rust programming language

Pandas Alternatives

  • DataFrame GitHub last commit (branch) GitHub Repo stars | C++ | - C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage
  • Vaex GitHub last commit (branch) GitHub Repo stars | Python, C++ | - Out-of-Core hybrid Apache Arrow/NumPy DataFrame for Python, ML, visualization and exploration of big tabular data at a billion rows per second
  • Modin GitHub last commit (branch) GitHub Repo stars | Python | - Modin: Speed up your Pandas workflows by changing a single line of code
  • Koalas GitHub last commit (branch) GitHub Repo stars | Python | - Koalas: pandas API on Apache Spark

Analytic tools

Metrics computation

  • alphalens (Fork) | Python | - Performance analysis of predictive (alpha) stock factors
  • ffn | Python | - A financial function library for Python
  • quantstats | Python | - Portfolio analytics for quants, written in Python

Indicators

  • TA-Lib | C | - Perform technical analysis of financial market data
  • ta-rust | Rust | - Technical analysis library for Rust language
  • finta | Python | - Common financial technical indicators implemented in Pandas
  • pandas-ta | Python | - Pandas Technical Analysis (Pandas TA) is an easy to use library that leverages the Pandas package with more than 130 Indicators and Utility functions and more than 60 TA Lib Candlestick Patterns.

Pricing

  • Quantlib
    • PyQL | Python, Cython | - Python wrapper of the famous pricing library QuantLib
    • QuantLib.jl | Julia | - Quantlib implementation in pure Julia.
  • FinancePy | Python | - A Python Finance Library that focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives.
  • tf-quant-finance - High-performance TensorFlow library for quantitative finance from Google
  • vollib | Python | - Fundamentally a swig/python wrapper around Peter Jaeckel's lets_be_rational. lets_be_rational focuses exclusively on Black76, while Vollib extends this to add support for Black-Scholes and Black-Scholes-Merton.

Risk

  • pyfolio | Python | - Portfolio and risk analytics in Python

Optimization

  • cvxportfolio GitHub last commit (branch) GitHub Repo stars | Python | - Portfolio optimization and back-testing.
  • skfolio GitHub last commit (branch) GitHub Repo stars | Python | - Python library for portfolio optimization built on top of scikit-learn
  • Riskfolio-Lib GitHub last commit (branch) GitHub Repo stars | C++, Python | - Portfolio Optimization and Quantitative Strategic Asset Allocation in Python
  • Deepdow GitHub last commit (branch) GitHub Repo stars | Python | - Python package connecting portfolio optimization and deep learning. Its goal is to facilitate research of networks that perform weight allocation in one forward pass.
  • PyPortfolioOpt GitHub last commit (branch) GitHub Repo stars | Python | - Financial portfolio optimizations in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity
  • empyrial GitHub last commit (branch) GitHub Repo stars | Python | - Empyrial is a Python-based open-source quantitative investment library dedicated to financial institutions and retail investors, officially released in March 2021.
  • spectre GitHub last commit (branch) GitHub Repo stars | Python | - spectre is a GPU-accelerated Parallel quantitative trading library, focused on performance.

TimeSeries Analysis

  • tsfresh - Automatic extraction of relevant features from time series.
  • Facebook Prophet - Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.
  • pmdarima - A statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function.

Visualization

  • Matplotlib GitHub last commit (branch) GitHub Repo stars | Python | - matplotlib: plotting with Python
  • Seaborn GitHub last commit (branch) GitHub Repo stars | Python | - Statistical data visualization in Python
  • Dash GitHub last commit (branch) GitHub Repo stars | Python | - Data Apps & Dashboards for Python. No JavaScript Required.
  • Perspective GitHub last commit (branch) GitHub Repo stars | C++, Python | - A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
  • Streamlit GitHub last commit (branch) GitHub Repo stars | Python | - Streamlit — A faster way to build and share data apps.
  • gradio GitHub last commit (branch) GitHub Repo stars | Python | - Build and share delightful machine learning apps, all in Python.
  • pylatex GitHub last commit (branch) GitHub Repo stars | Python | - A Python library for creating LaTeX files
  • D-Tale (Man Group) GitHub last commit (branch) GitHub Repo stars | JavaScript, Python | - D-Tale is the combination of a Flask back-end and a React front-end to bring you an easy way to view & analyze Pandas data structures.
  • mplfinance GitHub last commit (branch) GitHub Repo stars | Python | - Financial Markets Data Visualization using Matplotlib
  • btplotting GitHub last commit (branch) GitHub Repo stars | Python, bokeh | - btplotting provides plotting for backtests, optimization results and live data from backtrader.

Message Queues

  • Kafka GitHub last commit (branch) GitHub Repo stars | Java | - Mirror of Apache Kafka
  • RedPanda GitHub last commit (branch) GitHub Repo stars | C++ | - Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
  • BlazingMQ GitHub last commit (branch) GitHub Repo stars | C++ | - A modern high-performance open source message queuing system

Databases

  • ArcticDB (Man Group) GitHub last commit (branch)| C++, Python | - ArcticDB is a high performance, serverless DataFrame database built for the Python Data Science ecosystem.
  • DuckDB GitHub last commit (branch) | C++, Python | - ArcticDB is a high performance, serverless DataFrame database built for the Python Data Science ecosystem.
  • pylance GitHub last commit (branch) | Rust | - Modern columnar data format for ML and LLMs implemented in Rust. Convert from parquet in 2 lines of code for 100x faster random access, vector index, and data versioning. Compatible with Pandas, DuckDB, Polars, Pyarrow
  • Arctic (Man Group) GitHub last commit (branch) | Python | - High performance datastore for time series and tick data
  • PyStore | Python | - Fast data store for Pandas time-series data
  • Marketstore | Go | - DataFrame Server for Financial Timeseries Data
  • Tectonicdb | Rust | - Tectonicdb is a fast, highly compressed standalone database and streaming protocol for order book ticks.
  • Redis | C | - Redis is an in-memory database that persists on disk.
  • kdb | q | - Companion files to kdb+ and q

Data Source

Stocks and General

  • * OpenBB Terminal | Python | - Investment Research for Everyone, Anywhere.
  • FinanceDatabase GitHub last commit (branch) - This is a database of 300.000+ symbols containing Equities, ETFs, Funds, Indices, Currencies, Cryptocurrencies and Money Markets.
  • AkShare GitHub last commit (branch) |Python| - AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
  • 多因子模型数据 - 获取经典的量化多因子模型数据
  • findatapy |Python| - findatapy creates an easy to use Python API to download market data from many sources including Quandl, Bloomberg, Yahoo, Google etc. using a unified high level interface.
  • yfinance |Python| - yfinance offers a threaded and Pythonic way to download market data from Yahoo!Ⓡ finance.
  • pandas-datareader |Python| - Up to date remote data access for pandas, works for multiple versions of pandas.
  • Wallstreet |Python| - Wallstreet: Real time Stock and Option tools
  • TuShare |Python| - TuShare is a utility for crawling historical data of China stocks
  • Investpy - Financial Data Extraction from Investing.com with Python
  • awesome-data - Awesome-data shows most interesting data-source around the financial world
  • Fundamental Analysis Data | Python | - Fully-fledged Fundamental Analysis package capable of collecting 20 years of Company Profiles, Financial Statements, Ratios and Stock Data of 20.000+ companies.

Alternative

Crypto

  • Cryptofeed GitHub last commit (branch)|Python| - Cryptocurrency Exchange Websocket Data Feed Handler with Asyncio

Broker APIs

  • Ib_insync | Python | - Python sync/async framework for Interactive Brokers API
  • PENDAX | JavaScript | - A free Javascript library allowing simplified interaction with trading and data commands on a growing list of cryptocurrency exchanges like FTX, OKX, ByBit, & more.
  • ccxt | Python, JavaScript | - A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
  • Coinnect | Rust | - Coinnect is a Rust library aiming to provide a complete access to main crypto currencies exchanges via REST API.
  • More is coming... (PR welcome)

Quant Shops Code and Blog

Resources

Research

Books

Blogs

Tutorials

Courses

  • Hudson and Thames Quantitative Research - Our mission is to promote the scientific method within investment management by codifying frameworks, algorithms, and best practices.
  • More is coming... (PR welcome)

Relevant Projects