[](https://github.com/firmai/financial-machine-learning/actions/workflows/repo_status.yml)
[](https://github.com/firmai/financial-machine-learning/actions/workflows/wiki_gen.yml)
[](https://github.com/firmai/financial-machine-learning/actions/workflows/repo_search.yml)
[](https://gitter.im/financial-machine-learning/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
# Financial Machine Learning and Data Science
A curated list of practical financial machine learning (FinML) tools and applications. This collection is primarily in Python.
A listed repository should be deprecated if:
- Repository's owner explicitly say that "this library is not maintained".
- Not committed for long time (2~3 years).
**This repo is officially under revamp as of 3/29/2021!!**
- TODOs and roadmap is under the github project [here](https://github.com/firmai/financial-machine-learning/projects/1)
- If you would like to contribute to this repo, please send us a pull request or contact [@dereknow](https://twitter.com/dereknow) or [@bin-yang-algotune](https://twitter.com/b3yang)
- Join us in the gitter chat [here](https://gitter.im/financial-machine-learning/community)
___
- All repos/links status including last commit date is updated daily
- Only 15 Highest ranked repos/links for each section are displayed on main README.md and full list is available within the wiki page
- Both Wikis/README.md is updated in realtime as soon as new information are pushed to the repo
___
# Trading
## Deep Learning & Reinforcement Learning ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/deep_learning_and_reinforcement_learning))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------|:--------------------------|:------------------------|:------------------------------------|:--------------------|
| [Stock-Prediction-Models](https://github.com/huseinzol05/Stock-Prediction-Models) | very good curated list of notebooks showing deep learning + reinforcement learning models. Also contain topics on outlier detections/overbought oversold study/monte carlo simulartions/sentiment analysis from text (text storage/parsing is not detailed but it mentioned using [BERT](https://github.com/google-research/bert)) | 12/18/17 10:49 | 1/5/21 10:31 | 3655.0 | :heavy_check_mark: | :star:x5 |
| [AI Trading](https://github.com/borisbanushev/stockpredictionai/blob/master/readme2.md) | AI to predict stock market movements. | 1/9/19 8:02 | 2/11/19 16:32 | 2876.0 | :heavy_multiplication_x: | :star:x5 |
| [FinRL-Library](https://github.com/AI4Finance-LLC/FinRL-Library) | started by Columbia university engineering students and designed as an end to end deep reinforcement learning library for automated trading platform. Implementation of DQN DDQN DDPG etc using PyTorch and [gym](https://gym.openai.com/) use [pyfolio](https://github.com/quantopian/pyfolio) for showing backtesting stats. Big contributions on Proximal Policy Optimization (PPO) advantage actor critic (A2C) and Deep Deterministic Policy Gradient (DDPG) agents for trading | 7/26/20 13:18 | 4/11/21 22:02 | 1857.0 | :heavy_check_mark: | :star:x5 |
| [Deep Learning IV](https://github.com/achillesrasquinha/bulbea) | Bulbea: Deep Learning based Python Library. | 3/9/17 6:11 | 3/19/17 7:42 | 1467.0 | :heavy_multiplication_x: | :star:x5 |
| [RLTrader](https://github.com/notadamking/RLTrader) | predecessor to [tensortrade](https://github.com/tensortrade-org/tensortrade) uses open api [gym](https://gym.openai.com/) and neat way to render matplotlib plots in real time. Also explains LSTM/data stationarity/Bayesian optimization using [Optuna](https://github.com/optuna/optuna) etc. | 4/27/19 18:35 | 10/17/19 16:25 | 1312.0 | :heavy_check_mark: | :star:x5 |
| [Deep Learning III](https://github.com/Rachnog/Deep-Trading) | Algorithmic trading with deep learning experiments. | 6/18/16 18:23 | 8/7/18 15:24 | 1266.0 | :heavy_multiplication_x: | :star:x5 |
| [Personae](https://github.com/Ceruleanacg/Personae) | implementation of deep reinforcement learning and supervised learnings covering areas: deep deterministic policy gradient (DDPG) and DDQN etc. Data are being pulled from [rqalpha](https://github.com/ricequant/rqalpha) which is a python backtest engine and have a nice docker image to run training/testing | 3/10/18 11:22 | 9/2/18 17:21 | 1144.0 | :heavy_multiplication_x: | :star:x5 |
| [RL Trading](https://colab.research.google.com/drive/1FzLCI0AO3c7A4bp9Fi01UwXeoc7BN8sW) | A collection of 25+ Reinforcement Learning Trading Strategies -Google Colab. | nan | nan | nan | :heavy_check_mark: | :star:x4 |
| [Deep-Reinforcement-Learning-for-Automated-Stock-Trading-Ensemble-Strategy-ICAIF-2020](https://github.com/AI4Finance-LLC/Deep-Reinforcement-Learning-for-Automated-Stock-Trading-Ensemble-Strategy-ICAIF-2020) | Part of FinRL and provided code for paper [deep reinformacement learning for automated stock trading](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3690996) focuses on ensemble. | 7/26/20 13:12 | 1/21/21 18:11 | 560.0 | :heavy_check_mark: | :star:x4 |
| [awesome-deep-trading](https://github.com/cbailes/awesome-deep-trading) | curated list of papers/repos on topics like CNN/LSTM/GAN/Reinforcement Learning etc. Categorized as deep learning for now but there are other topics here. Manually maintained by cbailes | 11/26/18 3:23 | 1/1/21 9:41 | 551.0 | :heavy_check_mark: | :star:x4 |
| [Neural Network](https://github.com/VivekPa/IntroNeuralNetworks) | Neural networks to predict stock prices. | 9/10/18 6:34 | 11/21/18 7:39 | 489.0 | :heavy_multiplication_x: | :star:x4 |
| [Deep Learning](https://github.com/keon/deepstock) | Technical experimentations to beat the stock market using deep learning. | 12/12/16 2:15 | 3/4/17 8:37 | 427.0 | :heavy_multiplication_x: | :star:x4 |
| [LTSM Recurrent](https://github.com/VivekPa/AIAlpha) | OHLC Average Prediction of Apple Inc. Using LSTM Recurrent Neural Network. | 10/7/18 3:58 | 8/3/19 9:00 | 1207.0 | :heavy_check_mark: | :star:x4 |
| [RL III](https://github.com/samre12/deep-trading-agent) | Github -Deep Reinforcement Learning based Trading Agent for Bitcoin. | 9/21/17 17:05 | 4/13/18 16:33 | 576.0 | :heavy_multiplication_x: | :star:x3 |
| [crypto-rl](https://github.com/sadighian/crypto-rl) | Retrieve limit order book level data from coinbase pro and bitfinex -> record in [arctic](https://github.com/man-group/arctic) timeseries database then implemented trend following strategies (market orders) and market making (limit orders). Uses reinforcement learning (DQN) [keras-rl](https://github.com/keras-rl/keras-rl) to create agents and uses [openai gym](https://gym.openai.com/) to implement POMDP (partially observable markov decision process) | 6/21/18 1:06 | 11/5/20 11:08 | 347.0 | :heavy_check_mark: | :star:x3 |
## Other Models ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/other_models))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------|:--------------------------|:------------------------|:------------------------------------|:--------------------|
| [Hands-On-Machine-Learning-for-Algorithmic-Trading](https://github.com/PacktPublishing/Hands-On-Machine-Learning-for-Algorithmic-Trading) | repo for book [hands-on-machine learning for algorithmic trading](https://www.packtpub.com/product/hands-on-machine-learning-for-algorithmic-trading/9781789346411) covering topic from data/unsupervised learning/NPL/RNN & CNN/reinforcement learning etc. Leverage zipline/alphalens/sklearn/openai-gym etc as well. Good references to have | 5/7/19 11:04 | 1/19/21 7:51 | 600.0 | :heavy_check_mark: | :star:x5 |
| [Microservices-Based-Algorithmic-Trading-System](https://github.com/saeed349/Microservices-Based-Algorithmic-Trading-System) | docker based platfrom for developing algo trading strategies. Very interesting combinations of open source components were used including [backtrader](https://www.backtrader.com/) for backtest strategies / [mlflow](https://mlflow.org/) for managing the machine learning model life cycle (i.e. training and developing machine learning models) / [airflow](https://airflow.apache.org/) used as workflow management including schedule data download etc. / [superset](https://superset.apache.org/) web data visualization tool similar to tableau / [minio](https://min.io/) for fast object storage (i.e. storing saved models and model artifacts) / postgresql used to store security master and daily and minute data. Also contains some details on deployment on cloud | 1/6/20 0:21 | 3/31/20 13:02 | 104.0 | :heavy_check_mark: | :star:x5 |
| [Awesome-Quant-Machine-Learning-Trading](https://github.com/grananqvist/Awesome-Quant-Machine-Learning-Trading) | curated list of books/online courses/youtube videos/blogs/interviews/papers/code etc. Updates are pretty infrequent | 11/5/18 21:09 | 10/8/20 16:48 | 1005.0 | :heavy_check_mark: | :star:x5 |
| [AlphaPy](https://github.com/ScottfreeLLC/AlphaPy) | machine learning framework built on sklearn and pandas. Support pyfolio/xgboost/lightgmb/catboost(gradient boosting on decision tress) etc. Examples include financial market prediction/sports prediction/kaggle. Configurations are set though yaml file for all model process including feature selection/grid search on parameters and aggregate results for each model | 2/14/16 0:47 | 2/8/21 21:35 | 576.0 | :heavy_check_mark: | :star:x4 |
| [Machine-Learning-for-Algorithmic-Trading-Second-Edition_Original](https://github.com/PacktPublishing/Machine-Learning-for-Algorithmic-Trading-Second-Edition_Original) | official repo for [machine learning for algorithmic trading](https://www.amazon.com/Machine-Learning-Algorithmic-Trading-alternative/dp/1839217715?pf_rd_r=GZH2XZ35GB3BET09PCCA&pf_rd_p=c5b6893a-24f2-4a59-9d4b-aff5065c90ec&pd_rd_r=91a679c7-f069-4a6e-bdbb-a2b3f548f0c8&pd_rd_w=2B0Q0&pd_rd_wg=GMY5S&ref_=pd_gw_ci_mcx_mr_hp_d) book. Covering topics including backtesting/boosting/nlp/deep&reinforcement learning. Leverage open source libraries including [backtrader](https://www.backtrader.com/) [zipline](https://github.com/quantopian/zipline) and [talib](https://github.com/mrjbq7/ta-lib) | 11/15/19 8:51 | 1/21/21 7:56 | 279.0 | :heavy_check_mark: | :star:x4 |
| [fin-ml](https://github.com/tatsath/fin-ml) | accompanying materials for book [Machine Learning and Data Science Blueprints for Finance](https://www.amazon.com/Machine-Learning-Science-Blueprints-Finance/dp/1492073059) on top of basic machine learning models i.e. nlp/reinforcement learning/supervised & unsupervised learning it covers wider topics including robo-advisors/fraud detection/loan default/derivative pricing/yield curve construction. | 5/10/20 0:25 | 1/23/21 17:15 | 116.0 | :heavy_check_mark: | :star:x4 |
| [awesome-ai-in-finance](https://github.com/georgezouq/awesome-ai-in-finance) | curated list of books/online courses/papers on AI and finance. Topics include crypto trading strategies/ta/backter etc. | 8/29/18 2:07 | 11/27/20 9:43 | 941.0 | :heavy_check_mark: | :star:x3 |
| [Scikit-learn Stock Prediction](https://github.com/robertmartin8/MachineLearningStocks) | using fundamental and pricing data to predict future stock returns. Sklearn's randomforest classifier is trainded and author claimed positive live trading results. Not actively mainained | 2/12/17 4:50 | 2/4/21 3:48 | 931.0 | :heavy_multiplication_x: | :star:x3 |
| [MathAndScienceNotes](https://github.com/melling/MathAndScienceNotes) | Collections of news/articles on various topics including quant trading and machine learning. Some articles are from [ycombinator message board](https://news.ycombinator.com/news) and [rediit algotrading forum](https://www.reddit.com/r/algotrading/) | 3/11/16 19:13 | 12/21/20 3:54 | 460.0 | :heavy_check_mark: | :star:x3 |
| [Fundamental LT Forecasts](https://github.com/Hvass-Labs/FinanceOps) | Research in investment finance for long term forecasts and a curated list of notebooks. Each topic contains a youtube video explaining in details. Interesting topics including using price per book ratio and other multiples for future return prediction and portfolio optimization. data sourced form [simfin](https://github.com/SimFin/simfin) yahoo finance and [s&p 500 earnings and estimate report](https://www.spglobal.com/spdji/en/documents/additional-material/sp-500-eps-est.xlsx) etc. | 7/22/18 8:14 | 2/17/21 14:39 | 383.0 | :heavy_check_mark: | :star:x3 |
| [stock-trading-ml](https://github.com/yacoubb/stock-trading-ml) | lstm model using keras to predict msft prices. Data is from [alphavantage](https://www.alphavantage.co/) which provides some free data through web services. Showing how to use concatenation layer to join timeseries data with TA data. Might be abit of overfitting on the model though | 10/10/19 9:44 | 10/12/19 11:38 | 340.0 | :heavy_check_mark: | :star:x3 |
| [ML_Finance_Codes](https://github.com/mfrdixon/ML_Finance_Codes) | accompanying materials for book [Machine Learning in Finance](https://www.springer.com/gp/book/9783030410674) covering probabilistic modeling/sequence modeling/neural networks/reinforcement learning etc. | 9/27/19 16:13 | 6/13/20 21:20 | 250.0 | :heavy_check_mark: | :star:x3 |
| [mlfinlab](https://github.com/hudson-and-thames/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 science](https://jfds.pm-research.com/) / [journal of portfolio management](https://jpm.pm-research.com/) / [journal of algorithmic finance](http://www.algorithmicfinance.org/) / [cambridge university press](https://www.cambridge.org/) | 2/13/19 16:57 | 4/12/21 10:50 | 2295.0 | :heavy_check_mark: | :star:x3 |
| [mosquito](https://github.com/miro-ka/mosquito) | base framework trading bot for crypto. Stores data in local mongodb instance and supports backtest and live trading on [poloniex](https://poloniex.com/) and [bittrex](https://bittrex.com/) which are 12-15th ranked crypto exchanges by volume. Leverage [talib](https://github.com/mrjbq7/ta-lib) for ta data and [plotly](https://github.com/plotly/plotly.py) for visualization | 6/18/17 19:57 | 3/14/21 22:22 | 220.0 | :heavy_check_mark: | :star:x3 |
| [Short-Term Movement Cues](https://github.com/anfederico/Clairvoyant) | Identify social/historical cues for short term stock movement. Sklearn SVM model is used and good visualization coded in matplotlib | 9/12/16 18:38 | 8/29/18 20:27 | 2166.0 | :heavy_multiplication_x: | :star:x3 |
## Data Processing Techniques and Transformations ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/data_processing_techniques_and_transformations))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:----------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------|:-------------------------|:-------------------------|:------------------------|:------------------------------------|:--------------------|
| [Advanced ML II](https://github.com/hudson-and-thames/research) | More implementations of Financial Machine Learning (De Prado). | nan | nan | nan | :heavy_check_mark: | |
| [Advanced ML](https://github.com/BlackArbsCEO/Adv_Fin_ML_Exercises) | Exercises too Financial Machine Learning (De Prado). | 4/25/18 17:22 | 1/16/20 17:25 | 973.0 | :heavy_check_mark: | |
| [finserv-application-blueprint](https://github.com/mapr-demos/finserv-application-blueprint) | NEW | 9/26/16 19:42 | 1/20/21 23:07 | 72.0 | :heavy_check_mark: | |
| [Google-Finance-Stock-Data-Analysis](https://github.com/hpnhxxwn/Google-Finance-Stock-Data-Analysis) | NEW | 7/23/17 2:59 | 7/23/17 3:10 | 70.0 | :heavy_multiplication_x: | |
| [Twitter-Trends](https://github.com/Medha11/Twitter-Trends) | NEW | 5/22/17 17:07 | 5/23/17 8:06 | 66.0 | :heavy_multiplication_x: | |
| [cointrader](https://github.com/timolson/cointrader) | NEW | 6/1/14 1:14 | 10/22/20 0:24 | 339.0 | :heavy_check_mark: | |
| [CryptoNets](https://github.com/microsoft/CryptoNets) | NEW | 6/2/19 5:48 | 9/12/19 13:03 | 154.0 | :heavy_check_mark: | |
# Portfolio Management
## Portfolio Selection and Optimisation ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/portfolio_selection_and_optimisation))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:--------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------|:--------------------------|:------------------------|:------------------------------------|:--------------------|
| [Modern Portfolio Theory](https://nbviewer.jupyter.org/github/Marigold/universal-portfolios/blob/master/modern-portfolio-theory.ipynb) | Universal portfolios; modern portfolio theory. | nan | nan | nan | :heavy_check_mark: | |
| [Online Portfolio Selection](https://nbviewer.jupyter.org/github/paulperry/quant/blob/master/OLPS_Comparison.ipynb) | ****Comparing OLPS algorithms on a diversified set of ETFs. | nan | nan | nan | :heavy_check_mark: | |
| [OLMAR Algorithm](https://github.com/charlessutton/OLMAR/blob/master/Part3.ipynb) | Relative importance of each component of the OLMAR algorithm. | 7/26/16 16:20 | 12/30/16 11:40 | 7.0 | :heavy_multiplication_x: | |
| [Riskfolio-Lib](https://github.com/dcajasn/Riskfolio-Lib) | NEW | 3/2/20 19:49 | 4/1/21 3:50 | 371.0 | :heavy_check_mark: | |
| [Reinforcement Learning](https://github.com/filangel/qtrader) | Reinforcement Learning for Portfolio Management. | 10/7/17 9:14 | 6/26/18 9:22 | 364.0 | :heavy_multiplication_x: | |
| [DeepDow](https://github.com/jankrepl/deepdow) | Portfolio optimization with deep learning. | 2/2/20 8:46 | 2/16/21 18:50 | 311.0 | :heavy_check_mark: | |
| [Distribution Characteristic Optimisation](https://github.com/VivekPa/OptimalPortfolio) | Extends classical portfolio optimisation to take the skewness and kurtosis of the distribution of market invariants into account. | 11/16/18 12:20 | 7/4/19 1:41 | 232.0 | :heavy_check_mark: | |
| [PyPortfolioOpt](https://github.com/robertmartin8/PyPortfolioOpt) | Financial portfolio optimisation, including classical efficient frontier and advanced methods. | 5/29/18 13:30 | 2/25/21 13:01 | 1895.0 | :heavy_check_mark: | |
| [401K Portfolio Optimisation](https://github.com/otosman/Python-for-Finance/blob/master/Portfolio%20Optimization%20401k.ipynb) | Portfolio analyses and optimisation for 401K. | 8/1/18 19:48 | 9/5/19 11:18 | 14.0 | :heavy_check_mark: | |
| [Policy Gradient Portfolio](https://github.com/ZhengyaoJiang/PGPortfolio) | A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem. | 11/12/17 16:08 | 5/9/19 9:50 | 1281.0 | :heavy_check_mark: | |
| [riskparity.py](https://github.com/dppalomar/riskparity.py) | NEW | 7/13/19 21:30 | 1/30/21 1:53 | 124.0 | :heavy_check_mark: | |
| [Deep Portfolio Theory](https://github.com/tcloaa/Deep-Portfolio-Theory) | Autoencoder framework for portfolio selection. | 2/10/17 9:03 | 3/8/18 16:47 | 105.0 | :heavy_multiplication_x: | |
| [Efficient Frontier](https://github.com/tthustla/efficient_frontier/blob/master/Efficient%20_Frontier_implementation.ipynb) | Modern Portfolio Theory. | 2/17/18 8:19 | 2/27/18 13:16 | 104.0 | :heavy_multiplication_x: | |
| [node-finance](https://github.com/albertosantini/node-finance) | NEW | 9/17/11 17:49 | 4/5/21 8:01 | 101.0 | :heavy_check_mark: | |
## Factor and Risk Analysis ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/factor_and_risk_analysis))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:-----------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------|:--------------------------|:--------------------------|:------------------------|:------------------------------------|:--------------------|
| [stock-market-analysis-using-python-numpy-pandas](https://github.com/Ashishsinha10/stock-market-analysis-using-python-numpy-pandas) | NEW | 4/10/18 5:15 | 4/10/18 5:28 | 8.0 | :heavy_multiplication_x: | |
| [Machine_learning_In_Finance](https://github.com/chaudharigauravi/Machine_learning_In_Finance) | NEW | 8/3/19 4:04 | 8/3/19 4:05 | 8.0 | :heavy_check_mark: | |
| [-L-](https://github.com/jettbrains/-L-) | NEW | 10/28/19 21:50 | 10/28/19 21:51 | 6.0 | :heavy_check_mark: | |
| [TradeFinexLive](https://github.com/XinFinOrg/TradeFinexLive) | NEW | 3/21/18 10:05 | 3/18/21 9:48 | 5.0 | :heavy_check_mark: | |
| [VaR GaN](https://github.com/hamaadshah/market_risk_gan_keras) | Estimate Value-at-Risk for market risk management using Keras and TensorFlow. | 8/6/18 16:09 | 11/22/20 19:02 | 41.0 | :heavy_check_mark: | |
| [Various Risk Measures](https://github.com/Jorgencr/Alternative-and-Responsible-Investments/blob/master/Final_masterfile.ipynb) | Risk measures and factors for alternative and responsible investments. | 8/7/17 14:44 | 8/8/17 22:52 | 4.0 | :heavy_multiplication_x: | |
| [Pyfolio](https://github.com/quantopian/pyfolio) | Portfolio and risk analytics in Python. | 6/1/15 15:31 | 2/28/20 17:30 | 3673.0 | :heavy_check_mark: | |
| [Quant Finance](https://github.com/mrefermat/quant_finance) | General quant repository. | 8/11/18 22:59 | 11/12/19 4:49 | 31.0 | :heavy_check_mark: | |
| [Risk Basic](https://github.com/RJT1990/Active-Portfolio-Management-Notes/blob/master/Chapter%203%2C%20Risk.ipynb) | Active portfolio risk management . | 5/10/16 11:03 | 5/17/16 3:44 | 31.0 | :heavy_multiplication_x: | |
| [CAPM](https://github.com/RJT1990/Active-Portfolio-Management-Notes/blob/master/Chapter%202%2C%20CAPM.ipynb) | Expected returns using CAPM. | 5/10/16 11:03 | 5/17/16 3:44 | 31.0 | :heavy_multiplication_x: | |
| [Factor Analysis](https://github.com/garvit-kudesia91/factor_analysis/blob/master/Factor%20Analysis%20of%20Mutual%20Funds.ipynb) | Factor analysis for mutual funds. | 3/13/18 7:39 | 3/13/18 7:42 | 3.0 | :heavy_multiplication_x: | |
| [Statistical Finance](https://github.com/mrefermat/FinancePhD/tree/master/FinancialExperiments) | Various financial experiments. | 10/4/15 9:10 | 3/28/20 18:33 | 21.0 | :heavy_check_mark: | |
| [Performance Analysis](https://github.com/quantopian/alphalens) | Performance analysis of predictive (alpha) stock factors. | 6/3/16 21:49 | 4/27/20 18:40 | 1847.0 | :heavy_check_mark: | |
| [Convex Optimisation](https://github.com/ssanderson/convex-optimization-for-finance/blob/master/notebooks/Main.ipynb) | Convex Optimization for Finance. | 6/26/18 20:36 | 10/22/19 21:56 | 18.0 | :heavy_check_mark: | |
| [Factor Analysis](https://github.com/alpha-miner/alpha-mind/tree/master/notebooks) | Factor strategy notebooks. | 5/1/17 7:36 | 4/7/21 15:25 | 172.0 | :heavy_check_mark: | |
# Techniques
## Unsupervised ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/unsupervised))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:-------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------|:-------------------------|:-------------------------|:------------------------|:------------------------------------|:--------------------|
| [PCA Pairs Trading](https://github.com/joelQF/quant-finance/tree/master/Artificial_IntelIigence_for_Trading) | PCA, Factor Returns, and trading strategies. | nan | nan | nan | :heavy_check_mark: | |
| [Pairs Trading](https://github.com/marketneutral/pairs-trading-with-ML/blob/master/Pairs%2BTrading%2Bwith%2BMachine%2BLearning.ipynb) | Finding pairs with cluster analysis. | 9/5/17 19:19 | 9/27/17 20:42 | 79.0 | :heavy_multiplication_x: | |
| [Industry Clustering](https://github.com/SeanMcOwen/FinanceAndPython.com-ClusteringIndustries) | Clustering of industries. | 7/21/17 2:12 | 7/23/17 2:53 | 4.0 | :heavy_multiplication_x: | |
| [Fund Clusters](https://github.com/frechfrechfrech/Mutual-Fund-Market-Clusters/blob/master/Initial%20Data%20Exploration.ipynb) | Data exploration of fund clusters. | 4/16/18 22:18 | 6/7/18 22:01 | 4.0 | :heavy_multiplication_x: | |
| [Industry Clustering](https://github.com/SeanMcOwen/FinanceAndPython.com-ClusteringIndustries) | Project to cluster industries according to financial attributes. | 7/21/17 2:12 | 7/23/17 2:53 | 4.0 | :heavy_multiplication_x: | |
| [VRA Stock Embedding](https://github.com/ml-hongkong/stock2vec) | Variational Reccurrent Autoencoder for Embedding stocks to vectors based on the price history. | 6/21/17 4:47 | 6/21/17 4:51 | 32.0 | :heavy_multiplication_x: | |
## Textual ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/textual))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------|:-------------------------|:-------------------------|:------------------------|:------------------------------------|:--------------------|
| [NLP](https://github.com/toamitesh/NLPinFinance) | This project assembles a lot of NLP operations needed for finance domain. | nan | nan | nan | :heavy_check_mark: | |
| [Financial Statement Sentiment](https://github.com/MAydogdu/TextualAnalysis) | Extracting sentiment from financial statements using neural networks. | 6/4/18 20:54 | 6/4/18 20:56 | 8.0 | :heavy_multiplication_x: | |
| [Extensive NLP](https://github.com/TiesdeKok/Python_NLP_Tutorial/blob/master/NLP_Notebook.ipynb) | Comprehensive NLP techniques for accounting research. | 10/25/17 7:10 | 6/5/20 3:28 | 73.0 | :heavy_check_mark: | |
| [NLP Event](https://github.com/yuriak/DLQuant) | Applying Deep Learning and NLP in Quantitative Trading. | 7/2/18 23:50 | 1/31/19 14:08 | 70.0 | :heavy_multiplication_x: | |
| [Financial Sentiment Analysis](https://github.com/EricHe98/Financial-Statements-Text-Analysis) | Sentiment, distance and proportion analysis for trading signals. | 6/23/17 0:05 | 1/26/19 3:35 | 48.0 | :heavy_multiplication_x: | |
| [Fund classification](https://github.com/frechfrechfrech/Mutual-Fund-Market-Clusters/blob/master/Initial%20Data%20Exploration.ipynb) | Fund classification using text mining and NLP. | 4/16/18 22:18 | 6/7/18 22:01 | 4.0 | :heavy_multiplication_x: | |
| [Earning call transcripts](https://github.com/lin882/WebAnalyticsProject) | Correlation between mutual fund investment decision and earning call transcripts. | 12/30/17 8:56 | 1/11/18 2:11 | 3.0 | :heavy_multiplication_x: | |
| [Accounting Anomalies](https://github.com/GitiHubi/deepAI/blob/master/GTC_2018_Lab-solutions.ipynb) | Using deep-learning frameworks to identify accounting anomalies. | 5/24/17 12:36 | 8/7/19 21:47 | 110.0 | :heavy_check_mark: | |
| [Buzzwords](https://github.com/swap9047/Cutting-Edge-Technologies-Effect-on-S-P500-Companies-Performance-and-Mutual-Funds) | Return performance and mutual fund selection. | 2/4/18 21:51 | 2/4/18 21:57 | 1.0 | :heavy_multiplication_x: | |
# Other Assets
## Derivatives and Hedging ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/derivatives_and_hedging))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:----------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------|:--------------------------|:-------------------------|:------------------------|:------------------------------------|:--------------------|
| [Options](https://github.com/PHBS/2018.M1.ASP/tree/master/py) | Black Scholes and Copula. | nan | nan | nan | :heavy_check_mark: | |
| [Derivative Markets](https://github.com/broughtj/Fin6470/tree/master/Notebooks) | The economics of futures, futures, options, and swaps. | 2/9/16 5:30 | 4/6/21 20:49 | 8.0 | :heavy_check_mark: | |
| [Volatility and Variance Derivatives](https://github.com/yhilpisch/lvvd/tree/master/lvvd) | Volatility derivatives analytics. | 10/21/16 4:12 | 2/22/21 13:32 | 79.0 | :heavy_check_mark: | |
| [tda-api](https://github.com/alexgolec/tda-api) | NEW | 4/3/20 21:19 | 4/12/21 3:12 | 649.0 | :heavy_check_mark: | |
| [Strata](https://github.com/OpenGamma/Strata) | NEW | 6/16/14 11:45 | 4/12/21 6:32 | 607.0 | :heavy_check_mark: | |
| [FinanceDatabase](https://github.com/JerBouma/FinanceDatabase) | NEW | 1/28/21 18:36 | 4/8/21 11:10 | 595.0 | :heavy_check_mark: | |
| [gs-quant](https://github.com/goldmansachs/gs-quant) | NEW | 12/14/18 21:10 | 3/25/21 15:33 | 584.0 | :heavy_check_mark: | |
| [wallstreet](https://github.com/mcdallas/wallstreet) | NEW | 1/20/16 22:03 | 8/9/19 23:14 | 570.0 | :heavy_check_mark: | |
| [algotrader](https://github.com/torreyleonard/algotrader) | NEW | 4/10/18 2:31 | 8/27/20 8:16 | 477.0 | :heavy_check_mark: | |
| [FinancePy](https://github.com/domokane/FinancePy) | NEW | 10/27/19 15:04 | 3/11/21 21:40 | 441.0 | :heavy_check_mark: | |
| [Hull White](https://github.com/rstreppa/valuation-callables-HullWhite/blob/master/CallableBond_HullWhite.ipynb) | Callable Bond, Hull White. | 6/6/18 22:06 | 6/6/18 22:27 | 4.0 | :heavy_multiplication_x: | |
| [optopsy](https://github.com/michaelchu/optopsy) | NEW | 9/17/17 1:49 | 12/7/20 17:00 | 393.0 | :heavy_check_mark: | |
| [StockSharp](https://github.com/StockSharp/StockSharp) | NEW | 12/8/14 7:53 | 4/7/21 10:55 | 3924.0 | :heavy_check_mark: | |
| [Derivatives Python](https://github.com/yhilpisch/dawp/tree/master/python36) | Derivative analytics with Python. | 7/9/15 12:27 | 2/22/21 13:29 | 388.0 | :heavy_check_mark: | |
| [akshare](https://github.com/jindaxiang/akshare) | NEW | 10/1/19 7:34 | 4/13/21 11:18 | 3374.0 | :heavy_check_mark: | |
## Fixed Income ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/fixed_income))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:-------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------|:--------------------------|:--------------------------|:------------------------|:------------------------------------|:--------------------|
| [Corporate Bonds](https://github.com/ishank011/gs-quantify-bond-prediction) | Predicting the buying and selling volume of the corporate bonds. | 9/27/17 19:57 | 9/27/17 20:00 | 7.0 | :heavy_multiplication_x: | |
| [Vasicek](https://github.com/RobinsonGarcia/fixed-income/blob/master/2.0%20Vasicek%20-%20example.ipynb) | Bootstrapping and interpolation. | 7/18/18 19:26 | 7/18/18 19:34 | 3.0 | :heavy_multiplication_x: | |
| [rating_history](https://github.com/govwiki/rating_history) | NEW | 11/23/17 22:52 | 12/3/17 20:42 | 26.0 | :heavy_multiplication_x: | |
| [market-data](https://github.com/kriasoft/market-data) | NEW | 12/7/12 13:42 | 12/15/12 12:10 | 25.0 | :heavy_multiplication_x: | |
| [woe](https://github.com/boredbird/woe) | NEW | 9/11/17 7:15 | 3/1/18 10:45 | 224.0 | :heavy_multiplication_x: | |
| [MagentoExtensions](https://github.com/5mehulhelp5/MagentoExtensions) | NEW | 7/3/14 5:45 | 11/24/17 16:15 | 106.0 | :heavy_multiplication_x: | |
| [Binomial Tree](https://github.com/hy-lei/math-finance-exercise) | Utility functions in fixed income securities. | 2/2/19 8:44 | 5/3/19 17:16 | 1.0 | :heavy_check_mark: | |
## Alternative Finance ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/alternative_finance))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|:-------------------------|:--------------------------|:------------------------|:------------------------------------|:--------------------|
| [Venture Capital NN](https://github.com/tr7200/National-Culture-and-Venture-Capital-Monitoring) | Cox-PH neural network predictions for VC/innovations finance research. | nan | nan | nan | :heavy_check_mark: | |
| [Art Valuation](https://github.com/ahmedhosny/theGreenCanvas/blob/gh-pages/ImageProcessing1210.ipynb) | Art evaluation analytics. | 12/11/14 0:25 | 12/12/14 21:25 | 9.0 | :heavy_multiplication_x: | |
| [Private Equity](https://github.com/TheVinhLuong102/ChicagoBooth-EntrepreneurialFinancePrivateEquity/blob/master/RightNow%20Technologies/RightNow%20Technologies.ipynb) | Valuation models. | 1/27/16 21:13 | 3/14/16 20:03 | 8.0 | :heavy_multiplication_x: | |
| [Kiva Crowdfunding](https://github.com/CJL89/Kiva-Crowdfunding/blob/master/Kiva%20Crowdfunding.ipynb) | Exploratory data analysis. | 2/27/18 16:46 | 2/13/19 0:15 | 5.0 | :heavy_multiplication_x: | |
| [Watch Valuation](https://github.com/alporter08/Luxury-Watch-Valuation/blob/master/Luxury-Watch-Valuation.ipynb) | Analysis of luxury watch data to classify whether a certain model is likely to be over-or undervalued. | 2/8/17 18:39 | 4/27/17 22:55 | 4.0 | :heavy_multiplication_x: | |
| [Venture Capital](https://github.com/julian-chan/etothex) | Insight into a new founder to make data-driven investment decisions. | 12/4/17 8:59 | 12/13/17 5:35 | 3.0 | :heavy_multiplication_x: | |
| [VC OLS](https://github.com/fionawhitefield/venture-capital-ols/blob/master/sec_project.ipynb) | VC regression. | 3/29/18 23:31 | 3/29/18 23:33 | 2.0 | :heavy_multiplication_x: | |
| [Blockchain](https://github.com/nud3l/dInvest) | Repository for distributed autonomous investment banking. | 9/5/16 19:12 | 4/24/17 10:48 | 12.0 | :heavy_multiplication_x: | |
# Extended Research ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/extended_research))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------|:--------------------------|:--------------------------|:------------------------|:------------------------------------|:--------------------|
| [Real Estate Property Fraud](https://github.com/aviroop1/Real_Estate_Property_Fraud) | Unsupervised fraud detection model that can identify likely candidates of fraud. | nan | nan | nan | :heavy_check_mark: | |
| [Commodity](https://github.com/felipessalvatore/fin2vec/blob/master/src/Commodity2BR.ipynb) | Commodity influence over Brazilian stocks. | nan | nan | nan | :heavy_check_mark: | |
| [Behavioural Economics](https://github.com/pcmichaud/notebooks) | Behavioural Economics and Finance Python Notebooks. | 12/20/18 0:21 | 3/26/19 11:51 | 9.0 | :heavy_multiplication_x: | |
| [Corporate Finance](https://github.com/SeanMcOwen/FinanceAndPython.com-CorporateFinance) | Basic corporate finance. | 9/9/17 3:35 | 9/9/17 23:04 | 9.0 | :heavy_multiplication_x: | |
| [Applied Corporate Finance](https://github.com/chenbowen184/Data_Science_in_Applied_Corporate_Finance) | Studies the empirical behaviours in stock market. | 1/29/18 5:14 | 7/19/18 6:25 | 8.0 | :heavy_multiplication_x: | |
| [NLP Finance Papers](https://github.com/chenbowen184/Research_Documents_Curation_with_NLP) | Curating quantitative finance papers using machine learning. | 10/11/18 20:32 | 12/24/18 23:27 | 8.0 | :heavy_multiplication_x: | |
| [HFT](https://github.com/rorysroes/SGX-Full-OrderBook-Tick-Data-Trading-Strategy) | High frequency trading. | 7/21/16 5:14 | 2/14/17 16:47 | 748.0 | :heavy_multiplication_x: | |
| [Financial Economics](https://github.com/rsvp/fecon235/tree/master/nb) | Financial Economics Models. | 11/9/14 4:49 | 12/3/18 16:30 | 713.0 | :heavy_multiplication_x: | |
| [Mathematical Finance](https://github.com/Auquan/Tutorials) | Notebooks for math and financial tutorials. | 1/21/17 11:24 | 8/1/20 17:03 | 664.0 | :heavy_check_mark: | |
| [Backtests](https://github.com/AlgoTraders/stock-analysis-engine) | Trading data and algorithms. | 9/16/18 20:00 | 9/5/20 13:01 | 620.0 | :heavy_check_mark: | |
| [Liquidity and Momentum](https://github.com/mrefermat/quant_finance) | Various factors and portfolio constructions. | 8/11/18 22:59 | 11/12/19 4:49 | 31.0 | :heavy_check_mark: | |
| [Currency PCA](https://github.com/shanemulqueen/python-finance-pca/blob/master/FX_spots_w_PCA.ipynb) | Forex spots PCA. | 3/12/19 21:11 | 3/12/19 22:09 | 3.0 | :heavy_multiplication_x: | |
| [M&A](https://github.com/atulram/Finance-and-Stocks) | Mergers and Acquisitions. | 1/19/19 18:16 | 2/18/19 16:57 | 3.0 | :heavy_multiplication_x: | |
| [Life-cycle](https://github.com/atulram/Finance-and-Stocks/blob/master/CompanyLifeCycle.ipynb) | Company life cycle. | 1/19/19 18:16 | 2/18/19 16:57 | 3.0 | :heavy_multiplication_x: | |
| [Deep Portfolio](https://github.com/DLColumbia/DL_forFinance) | Deep learning for finance Predict volume of bonds. | 5/8/18 19:34 | 5/9/18 15:39 | 27.0 | :heavy_multiplication_x: | |
# Courses ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/courses))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:-----------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------|:--------------------------|:-------------------------|:------------------------|:------------------------------------|:--------------------|
| [Basic Investments](https://github.com/SeanMcOwen/FinanceAndPython.com-Investments) | Basic investment tools in python. | 8/2/17 21:52 | 8/17/17 3:24 | 9.0 | :heavy_multiplication_x: | |
| [Mathematical Finance](https://github.com/yadongli/nyumath2048) | NYU Math-GA 2048: Scientific Computing in Finance. | 1/25/15 21:10 | 3/25/20 4:24 | 69.0 | :heavy_check_mark: | |
| [Algo Trading](https://github.com/JCreeks/Machine-Learning-in-Finance/tree/master/0_Intro_to_Algo_Trading) | Intro to algo trading. | 10/29/17 20:34 | 1/22/19 6:56 | 64.0 | :heavy_multiplication_x: | |
| [Risk Management](https://github.com/andrey-lukyanov/Risk-Management) | Finance risk engagement course resources. | 10/3/18 16:26 | 12/13/18 8:04 | 6.0 | :heavy_multiplication_x: | |
| [Basic Derivatives](https://github.com/SeanMcOwen/FinanceAndPython.com-Derivatives) | Basic forward contracts and hedging. | 8/24/17 0:11 | 10/13/17 1:32 | 4.0 | :heavy_multiplication_x: | |
| [Machine Learning for Trading](https://github.com/stefan-jansen/machine-learning-for-trading) | Notebooks, resources and references accompanying the book Machine Learning for Algorithmic Trading. | 5/9/18 12:33 | 4/10/21 22:21 | 3842.0 | :heavy_check_mark: | |
| [ML Specialisation](https://github.com/Ahmed0028/Machine-Learning-and-Reinforcement-Learning-in-Finance-Specialization) | Machine Learning in Finance. | 1/24/19 2:55 | 1/3/20 21:54 | 34.0 | :heavy_check_mark: | |
| [Python for Finance](https://github.com/siaen/python_finance_course) | CEU python for finance course material. | 12/12/17 11:54 | 2/25/20 20:31 | 16.0 | :heavy_check_mark: | |
| [Handson Python for Finance](https://github.com/PacktPublishing/Hands-on-Python-for-Finance) | Hands-on Python for Finance published by Packt. | 8/20/18 14:10 | 1/15/21 8:57 | 121.0 | :heavy_check_mark: | |
| [Basic Finance](https://github.com/SeanMcOwen/FinanceAndPython.com-BasicFinance) | Source code notebooks basic finance applications. | 5/6/17 2:39 | 6/21/17 4:04 | 10.0 | :heavy_multiplication_x: | |
# Data ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/data))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------|:-------------------------|:-------------------------|:------------------------|:------------------------------------|:--------------------|
| [https://fred.stlouisfed.org/](https://fred.stlouisfed.org/) | nan | nan | nan | nan | :heavy_check_mark: | |
| [Financial Corporate](http://raw.rutgers.edu/Corporate%20Financial%20Data.html) | nan | nan | nan | nan | :heavy_check_mark: | |
| [http://finance.yahoo.com/](http://finance.yahoo.com/) | nan | nan | nan | nan | :heavy_check_mark: | |
| [Rating Industries](http://www.ratingshistory.info/) | nan | nan | nan | nan | :heavy_check_mark: | |
| [Non-financial Corporate](http://raw.rutgers.edu/Non-Financial%20Corporate%20Data.html) | nan | nan | nan | nan | :heavy_check_mark: | |
| [https://stooq.com](https://stooq.com) | nan | nan | nan | nan | :heavy_check_mark: | |
| [IRS](http://social-metrics.org/sox/) | nan | nan | nan | nan | :heavy_check_mark: | |
| [Capital Markets Data](https://www.capitalmarketsdata.com/) | nan | nan | nan | nan | :heavy_check_mark: | |
| [SEC Parsing](https://github.com/healthgradient/sec-doc-info-extraction/blob/master/classify_sections_containing_relevant_information.ipynb) | nan | 6/16/18 14:30 | 6/16/18 17:23 | 9.0 | :heavy_multiplication_x: | |
| [https://github.com/timestocome/StockMarketData](https://github.com/timestocome/StockMarketData) | nan | 5/10/17 21:49 | 8/6/17 19:23 | 7.0 | :heavy_multiplication_x: | |
| [Web Scraping (FirmAI)](https://github.com/firmai/business-machine-learning/blob/master/www.firmai.org/data) | nan | 2/19/19 19:02 | 7/22/20 16:48 | 577.0 | :heavy_check_mark: | |
| [Open Edgar](https://github.com/LexPredict/openedgar) | nan | 5/7/18 15:32 | 5/15/19 8:32 | 169.0 | :heavy_check_mark: | |
| [EDGAR](https://github.com/TiesdeKok/UW_Python_Camp/blob/master/Materials/Session_5/EDGAR_walkthrough.ipynb) | nan | 6/11/18 22:51 | 7/10/18 18:03 | 11.0 | :heavy_multiplication_x: | |
| [Employee Count SEC Filings](https://github.com/healthgradient/sec_employee_information_extraction) | nan | 6/26/18 23:33 | 8/14/18 1:31 | 10.0 | :heavy_multiplication_x: | |
# Colleges, Centers and Departments ([Wiki](https://github.com/firmai/financial-machine-learning/wiki/colleges_centers_and_departments))
| repo | comment | created_at | last_commit | star_count | repo_status | rating |
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------|:------------------------|:-------------------------|:------------------------|:------------------------------|:--------------------|
| [NYU FRE](https://engineering.nyu.edu/academics/departments/finance-and-risk-engineering) | Finance and Risk Engineering (NYU Tandon) | nan | nan | nan | :heavy_check_mark: | |
| [Cornell University](https://www.cornell.edu/) | nan | nan | nan | nan | :heavy_check_mark: | |
| [Stanford Advanced Financial Technologies](https://fintech.stanford.edu/) | Stanford Advanced Financial Technologies Laboratory | nan | nan | nan | :heavy_check_mark: | |
| [NYU Courant](https://cims.nyu.edu/) | Courant Institute of Mathematical Sciences, New York University | nan | nan | nan | :heavy_check_mark: | |
| [Berkeley Lab CIFT](https://cs.lbl.gov/news-media/news/news-archive/2010/berkeley-lab-launches-new-center-for-innovative-financial-technology/) | nan | nan | nan | nan | :heavy_check_mark: | |
| [Oxford Man](https://www.oxford-man.ox.ac.uk/) | Oxford-Man Institute of Quantitative Finance | nan | nan | nan | :heavy_check_mark: | |