πŸ”¬ A curated list of awesome machine learning strategies & tools in financial market.

Overview

Awesome AI in Finance Awesome Community

There are millions of trades made in the global financial market every day. Data grows very quickly and people are hard to understand. With the power of the latest artificial intelligence research, people analyze & trade automatically and intelligently. This list contains the research, tools and code that people use to beat the market.

[中文衄源]

Contents

Papers

Courses & Books

Strategies & Research

Time Series Data

Price and Volume process with Technology Analysis Indices

  • 🌟 🌟 stockpredictionai - A complete process for predicting stock price movements.
  • 🌟 Personae - Implements and environment of Deep Reinforcement Learning & Supervised Learning for Quantitative Trading.
  • 🌟 Ensemble-Strategy - Deep Reinforcement Learning for Automated Stock Trading.
  • FinRL - A Deep Reinforcement Learning Library for Automated Stock Trading in Quantitative Finance.
  • AutomatedStockTrading-DeepQ-Learning - Build a Deep Q-learning reinforcement agent model as automated trading robot.
  • tf_deep_rl_trader - Trading environment(OpenAI Gym) + PPO(TensorForce).
  • trading-gym - Trading agent to train with episode of short term trading itself.
  • trading-rl - Deep Reinforcement Learning for Financial Trading using Price Trailing.
  • deep_rl_trader - Trading environment(OpenAI Gym) + DDQN (Keras-RL).
  • Quantitative-Trading - Papers and code implementing Quantitative-Trading.
  • gym-trading - Environment for reinforcement-learning algorithmic trading models.
  • zenbrain - A framework for machine-learning bots.
  • DeepLearningNotes - Machine learning in quant analysis.
  • stock_market_reinforcement_learning - Stock market trading OpenAI Gym environment with Deep Reinforcement Learning using Keras.

Portfolio Management

  • Deep-Reinforcement-Stock-Trading - A light-weight deep reinforcement learning framework for portfolio management.
  • qtrader - Reinforcement Learning for portfolio management.
  • PGPortfolio - A Deep Reinforcement Learning framework for the financial portfolio management problem.
  • DeepDow - Portfolio optimization with deep learning.

High Frequency Trading

Event Drive

  • 🌟 🌟 stockpredictionai - Complete process for predicting stock price movements.
  • 🌟 trump2cash - A stock trading bot powered by Trump tweets.

Crypto Currencies Strategies

Technical Analysis

Lottery & Gamble

Arbitrage

  • ArbitrageBot - Arbitrage bot that currently works on bittrex & poloniex.
  • r2 - Automatic arbitrage trading system powered by Node.js + TypeScript.
  • cryptocurrency-arbitrage - A crypto currency arbitrage opportunity calculator. Over 800 currencies and 50 markets.
  • bitcoin-arbitrage - Bitcoin arbitrage opportunity detector.
  • blackbird - Long / short market-neutral strategy.

Data Sources

Traditional Markets

  • 🌟 Quandl - Get millions of financial and economic dataset from hundreds of publishers via a single free API.
  • yahoo-finance - Python module to get stock data from Yahoo! Finance.
  • Tushare - Crawling historical data of Chinese stocks.

Crypto Currencies

  • CryptoInscriber - A live crypto currency historical trade data blotter. Download live historical trade data from any crypto exchange.
  • Gekko-Datasets - Gekko trading bot dataset dumps. Download and use history files in SQLite format.

Research Tools

  • 🌟 🌟 TensorTrade - Trade efficiently with reinforcement learning.
  • JAQS - An open source quant strategies research platform.
  • pyfolio - Portfolio and risk analytics in Python.
  • alphalens - Performance analysis of predictive (alpha) stock factors.
  • empyrical - Common financial risk and performance metrics. Used by Zipline and pyfolio.
  • zvt - Zero vector trader.

Trading System

For Back Test & Live trading

Traditional Market

System

  • 🌟 🌟 zipline - A python algorithmic trading library.
  • 🌟 TradingView - Get real-time information and market insights.
  • rqalpha - A extendable, replaceable Python algorithmic backtest & trading framework.
  • backtrader - Python backtesting library for trading strategies.
  • kungfu - Kungfu Master trading system.
  • lean - Algorithmic trading engine built for easy strategy research, backtesting and live trading.

Combine & Rebuild

Crypto Currencies

  • zenbot - Command-line crypto currency trading bot using Node.js and MongoDB.
  • bot18 - High-frequency crypto currency trading bot developed by Zenbot.
  • magic8bot - Crypto currency trading bot using Node.js and MongoDB.
  • catalyst - An algorithmic trading library for Crypto-Assets in python.
  • QuantResearchDev - Quant Research dev & Traders open source project.
  • MACD - Zenbot MACD Auto-Trader.
  • abu - A quant trading system base on python.

Plugins

  • CoinMarketCapBacktesting - Tests bt and Quantopian Zipline as backtesting frameworks for coin trading strategy.
  • Gekko-BacktestTool - Batch backtest, import and strategy params optimalization for Gekko Trading Bot.

TA Lib

  • pandas_talib - A Python Pandas implementation of technical analysis indicators.
  • finta - Common financial technical indicators implemented in Python-Pandas (70+ indicators).
  • tulipnode - Official Node.js wrapper for Tulip Indicators. Provides over 100 technical analysis overlay and indicator functions.
  • techan.js - A visual, technical analysis and charting (Candlestick, OHLC, indicators) library built on D3.

Exchange API

Do it in real world!

  • IbPy - Python API for the Interactive Brokers on-line trading system.
  • HuobiFeeder - Connect HUOBIPRO exchange, get market/historical data for ABAT trading platform backtest analysis and live trading.
  • ctpwrapper - Shanghai future exchange CTP api.

Framework

  • tf-quant-finance - High-performance TensorFlow library for quantitative finance.

Visualizing

  • playground - Play with neural networks.
  • netron - Visualizer for deep learning and machine learning models.

GYM Environment

  • 🌟 TradingGym - Trading and Backtesting environment for training reinforcement learning agent.
  • TradzQAI - Trading environment for RL agents, backtesting and training.
  • btgym - Scalable, event-driven, deep-learning-friendly backtesting library.

Articles

Others

Other Resource

  • 🌟 🌟 🌟 Stock-Prediction-Models - Stock-Prediction-Models, Gathers machine learning and deep learning models for Stock forecasting, included trading bots and simulations.
  • 🌟 🌟 Financial Machine Learning - A curated list of practical financial machine learning (FinML) tools and applications. This collection is primarily in Python.
  • 🌟 Awesome-Quant-Machine-Learning-Trading - Quant / Algorithm trading resources with an emphasis on Machine Learning.
  • awesome-quant - A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance).
Scikit learn library models to account for data and concept drift.

liquid_scikit_learn Scikit learn library models to account for data and concept drift. This python library focuses on solving data drift and concept d

7 Nov 18, 2021
PySpark + Scikit-learn = Sparkit-learn

Sparkit-learn PySpark + Scikit-learn = Sparkit-learn GitHub: https://github.com/lensacom/sparkit-learn About Sparkit-learn aims to provide scikit-lear

Lensa 1.1k Jan 04, 2023
A library to generate synthetic time series data by easy-to-use factors and generator

timeseries-generator This repository consists of a python packages that generates synthetic time series dataset in a generic way (under /timeseries_ge

Nike Inc. 87 Dec 20, 2022
🌲 Implementation of the Robust Random Cut Forest algorithm for anomaly detection on streams

🌲 Implementation of the Robust Random Cut Forest algorithm for anomaly detection on streams

Real-time water systems lab 416 Jan 06, 2023
Decision Tree Regression algorithm implemented on Python from scratch.

Decision_Tree_Regression I implemented the decision tree regression algorithm on Python. Unlike regular linear regression, this algorithm is used when

1 Dec 22, 2021
This is a curated list of medical data for machine learning

Medical Data for Machine Learning This is a curated list of medical data for machine learning. This list is provided for informational purposes only,

Andrew L. Beam 5.4k Dec 26, 2022
PyCaret is an open-source, low-code machine learning library in Python that automates machine learning workflows.

An open-source, low-code machine learning library in Python πŸš€ Version 2.3.5 out now! Check out the release notes here. Official β€’ Docs β€’ Install β€’ Tu

PyCaret 6.7k Jan 08, 2023
A model to predict steering torque fully end-to-end

torque_model The torque model is a spiritual successor to op-smart-torque, which was a project to train a neural network to control a car's steering f

Shane Smiskol 4 Jun 03, 2022
MaD GUI is a basis for graphical annotation and computational analysis of time series data.

MaD GUI Machine Learning and Data Analytics Graphical User Interface MaD GUI is a basis for graphical annotation and computational analysis of time se

Machine Learning and Data Analytics Lab FAU 10 Dec 19, 2022
A Python toolkit for rule-based/unsupervised anomaly detection in time series

Anomaly Detection Toolkit (ADTK) Anomaly Detection Toolkit (ADTK) is a Python package for unsupervised / rule-based time series anomaly detection. As

Arundo Analytics 888 Dec 30, 2022
Provide an input CSV and a target field to predict, generate a model + code to run it.

automl-gs Give an input CSV file and a target field you want to predict to automl-gs, and get a trained high-performing machine learning or deep learn

Max Woolf 1.8k Jan 04, 2023
A high performance and generic framework for distributed DNN training

BytePS BytePS is a high performance and general distributed training framework. It supports TensorFlow, Keras, PyTorch, and MXNet, and can run on eith

Bytedance Inc. 3.3k Dec 28, 2022
ArviZ is a Python package for exploratory analysis of Bayesian models

ArviZ (pronounced "AR-vees") is a Python package for exploratory analysis of Bayesian models. Includes functions for posterior analysis, data storage, model checking, comparison and diagnostics

ArviZ 1.3k Jan 05, 2023
Databricks Certified Associate Spark Developer preparation toolkit to setup single node Standalone Spark Cluster along with material in the form of Jupyter Notebooks.

Databricks Certification Spark Databricks Certified Associate Spark Developer preparation toolkit to setup single node Standalone Spark Cluster along

19 Dec 13, 2022
A library of sklearn compatible categorical variable encoders

Categorical Encoding Methods A set of scikit-learn-style transformers for encoding categorical variables into numeric by means of different techniques

2.1k Jan 07, 2023
Crypto-trading - ML techiques are used to forecast short term returns in 14 popular cryptocurrencies

Crypto-trading - ML techiques are used to forecast short term returns in 14 popular cryptocurrencies. We have amassed a dataset of millions of rows of high-frequency market data dating back to 2018 w

Panagiotis (Panos) Mavritsakis 4 Sep 22, 2022
A data preprocessing package for time series data. Design for machine learning and deep learning.

A data preprocessing package for time series data. Design for machine learning and deep learning.

Allen Chiang 152 Jan 07, 2023
Contains an implementation (sklearn API) of the algorithm proposed in "GENDIS: GEnetic DIscovery of Shapelets" and code to reproduce all experiments.

GENDIS GENetic DIscovery of Shapelets In the time series classification domain, shapelets are small subseries that are discriminative for a certain cl

IDLab Services 90 Oct 28, 2022
Adaptive: parallel active learning of mathematical functions

adaptive Adaptive: parallel active learning of mathematical functions. adaptive is an open-source Python library designed to make adaptive parallel fu

741 Dec 27, 2022
A complete guide to start and improve in machine learning (ML)

A complete guide to start and improve in machine learning (ML), artificial intelligence (AI) in 2021 without ANY background in the field and stay up-to-date with the latest news and state-of-the-art

Louis-François Bouchard 3.3k Jan 04, 2023