Open-source finance on GitHub

Top Jupyter Notebook finance and trading projects on GitHub

89 finance repositories are written mainly in Jupyter Notebook (7.0% of the list, 173.8k stars in total). The median has 399 stars; 19% were pushed to in the 90 days before 2026-11-22. Most common category: Machine learning & quant research.

#RepositoryDescriptionStars7d30dLanguageLast pushLicense
1stefan-jansen/machine-learning-for-tradingCode for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.21.9k+156—Jupyter Notebook2026-11-22MIT
2AI4Finance-Foundation/FinGPTFinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the train…FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.21.7k+124—Jupyter Notebook2026-11-18MIT
3UFund-Me/Qbot[🔥updating ...] AI 自动量化交易机器人(完全本地部署) AI-powered Quantitative Investment Research Platform…[🔥updating ...] AI 自动量化交易机器人(完全本地部署) AI-powered Quantitative Investment Research Platform. 📃 online docs: https://ufund-me.github.io/Qbot ✨ :news: qbot-mini: https://github.com/Charmve/iQuant18.9k+57—Jupyter Notebook2026-03-11MIT
4AI4Finance-Foundation/FinRLFinRL®: Financial Reinforcement Learning. 🔥FinRL®: Financial Reinforcement Learning. 🔥17.2k+121—Jupyter Notebook2026-11-18MIT
5jpmorganchase/python-trainingPython training for business analysts and tradersPython training for business analysts and traders14.4k+74—Jupyter Notebook2026-11-13Apache-2.0
6cantaro86/Financial-Models-Numerical-MethodsCollection of notebooks about quantitative finance, with interactive python code.Collection of notebooks about quantitative finance, with interactive python code.7.5k+15—Jupyter Notebook2026-10-05AGPL-3.0
7hugo2046/QuantsPlaybook量化研究-券商金工研报复现量化研究-券商金工研报复现6.9k+45—Jupyter Notebook2026-10-03—
8PyPortfolio/PyPortfolioOptFinancial portfolio optimization in python, including classical efficient frontier, Black…Financial portfolio optimization in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity6.2k+17—Jupyter Notebook2026-07-07MIT
9bukosabino/taTechnical Analysis Library using Pandas and NumpyTechnical Analysis Library using Pandas and Numpy5.3k+6—Jupyter Notebook2026-03-18MIT
10quantopian/alphalensPerformance analysis of predictive (alpha) stock factorsPerformance analysis of predictive (alpha) stock factors4.5k+11—Jupyter Notebook2024-02-12Apache-2.0
11TradeMaster-NTU/TradeMasterTradeMaster is an open-source platform for quantitative trading empowered by reinforcemen…TradeMaster is an open-source platform for quantitative trading empowered by reinforcement learning :fire: :zap: :rainbow:3.1k+9—Jupyter Notebook2025-06-04Apache-2.0
12letianzj/QuantResearchQuantitative analysis, strategies and backtestsQuantitative analysis, strategies and backtests3.1k+15—Jupyter Notebook2023-08-26MIT
13rorysroes/SGX-Full-OrderBook-Tick-Data-Trading-StrategyProviding the solutions for high-frequency trading (HFT) strategies using data science ap…Providing the solutions for high-frequency trading (HFT) strategies using data science approaches (Machine Learning) on Full Orderbook Tick Data.2.4k+2—Jupyter Notebook2022-08-27—
14LastAncientOne/Stock_Analysis_For_QuantVarious Types of Stock Analysis in Excel, Matlab, Power BI, Python, R, and TableauVarious Types of Stock Analysis in Excel, Matlab, Power BI, Python, R, and Tableau2.1k+2—Jupyter Notebook2025-05-04MIT
15LastAncientOne/Deep_Learning_Machine_Learning_StockDeep Learning and Machine Learning stocks represent promising opportunities for both long…Deep Learning and Machine Learning stocks represent promising opportunities for both long-term and short-term investors and traders.1.8k+2—Jupyter Notebook2024-03-01MIT
16enzoampil/fastquantfastquant — Backtest and optimize your ML trading strategies with only 3 lines of code!fastquant — Backtest and optimize your ML trading strategies with only 3 lines of code!1.8k-1—Jupyter Notebook2023-09-15MIT
17firmai/machine-learning-asset-managementMachine Learning in Asset Management (by @firmai)Machine Learning in Asset Management (by @firmai)1.8k+1—Jupyter Notebook2021-12-17—
18rsvp/fecon235Notebooks for financial economics. Keywords: Jupyter notebook pandas Federal Reserve FRED…Notebooks for financial economics. Keywords: Jupyter notebook pandas Federal Reserve FRED Ferbus GDP CPI PCE inflation unemployment wage income debt Case-Shiller housing asset portfolio equities SPX…1.3k+0—Jupyter Notebook2023-01-20—
19AlgoTraders/stock-analysis-engineBacktest 1000s of minute-by-minute trading algorithms for training AI with automated pric…Backtest 1000s of minute-by-minute trading algorithms for training AI with automated pricing data from: IEX, Tradier and FinViz. Datasets and trading performance automatically published to S3 for bui…1.2k+2—Jupyter Notebook2020-09-05—
20tatsath/fin-mlThis github repository of "Machine Learning and Data Science Blueprints for Finance". Ple…This github repository of "Machine Learning and Data Science Blueprints for Finance". Please star.1.2k+2—Jupyter Notebook2023-01-26—
21pskrunner14/trading-botStock Trading Bot using Deep Q-LearningStock Trading Bot using Deep Q-Learning1.2k-1—Jupyter Notebook2023-12-03MIT
22Auquan/TutorialsIpython notebooks for math and finance tutorialsIpython notebooks for math and finance tutorials1.1k+0—Jupyter Notebook2020-08-01—
23Hvass-Labs/Finance-ResearchResearch in investment finance with Python NotebooksResearch in investment finance with Python Notebooks1.1k-1—Jupyter Notebook2026-07-03MIT
24cedricporter/funcatFuncat 将同花顺、通达信、文华财经麦语言等的公式写法移植到了 Python 中。Funcat 将同花顺、通达信、文华财经麦语言等的公式写法移植到了 Python 中。1.0k-1—Jupyter Notebook2019-08-04Apache-2.0
25dingran/quant-notesQuantitative Interview Preparation Guide, updated version here ==>Quantitative Interview Preparation Guide, updated version here ==>990+6—Jupyter Notebook2019-03-23—
26fja05680/sp500Current and Historical Lists of S&P 500 components since 1996Current and Historical Lists of S&P 500 components since 1996967+2—Jupyter Notebook2026-09-07MIT
27The-FinAI/PIXIUThis repository introduces PIXIU, an open-source resource featuring the first financial l…This repository introduces PIXIU, an open-source resource featuring the first financial large language models (LLMs), instruction tuning data, and evaluation benchmarks to holistically assess financi…895-1—Jupyter Notebook2026-10-08MIT
28KidQuant/Pairs-Trading-With-PythonThis project involves using a combination of statistics along with financial thoery to de…This project involves using a combination of statistics along with financial thoery to demonstrate a popular trading strategy used in equity markets: Pairs Trading.857+0—Jupyter Notebook2024-04-01—
29dedwards25/Python_Option_PricingAn libary to price financial options written in Python. Includes: Black Scholes, Black 76…An libary to price financial options written in Python. Includes: Black Scholes, Black 76, Implied Volatility, American, European, Asian, Spread Options850-2—Jupyter Notebook2025-05-13MIT
30rolling-panda-san/notebooksAnalysis on systematic trading strategies (e.g., trend-following, carry and mean-reversio…Analysis on systematic trading strategies (e.g., trend-following, carry and mean-reversion). The result is regularly updated.788+4—Jupyter Notebook2026-11-22MIT
31leoncuhk/awesome-quant-aiA curated list of awesome resources for quantitative investment and trading strategies fo…A curated list of awesome resources for quantitative investment and trading strategies focusing on artificial intelligence and machine learning applications in finance.674+6—Jupyter Notebook2026-11-15Apache-2.0
32bradleyboyuyang/ML-HFTHigh frequency trading (HFT) framework built for futures using machine learning and deep…High frequency trading (HFT) framework built for futures using machine learning and deep learning techniques614+0—Jupyter Notebook2022-09-20—
33codez0mb1e/resistancePre-crisis Risk Management for Personal FinancePre-crisis Risk Management for Personal Finance607+1—Jupyter Notebook2025-08-30CC0-1.0
34firmai/deltapyDeltaPy - Tabular Data Augmentation (by @firmai)DeltaPy - Tabular Data Augmentation (by @firmai)558+0—Jupyter Notebook2023-09-19—
35NVIDIA-AI-Blueprints/portfolio-optimizationPowered by NVIDIA cuOpt: a GPU-accelerated portfolio optimization toolkit for building, b…Powered by NVIDIA cuOpt: a GPU-accelerated portfolio optimization toolkit for building, backtesting, and scaling Mean-CVaR and Mean-Variance investment workflows with CUDA-X Data Science.508+3—Jupyter Notebook2026-11-17Apache-2.0
36Boulder-Investment-Technologies/lpplsLibrary for fitting the LPPLS model to data.Library for fitting the LPPLS model to data.482-1—Jupyter Notebook2026-05-30MIT
37LastAncientOne/SimpleStockAnalysisPythonTeaches step-by-step to analysis stock data in python.Teaches step-by-step to analysis stock data in python.469-1—Jupyter Notebook2024-02-25MIT
38marketneutral/alphatoolsQuantitative finance research tools in PythonQuantitative finance research tools in Python466-2—Jupyter Notebook2023-02-02Apache-2.0
39xingwudao/xquant-learning《人人都是量化交易员》配套练习仓库:量化交易入门、自学、Python 回测、spec 与 notebook 实验。《人人都是量化交易员》配套练习仓库:量化交易入门、自学、Python 回测、spec 与 notebook 实验。452+6—Jupyter Notebook2026-11-21—
40evgps/a3c_tradingTrading with recurrent actor-critic reinforcement learningTrading with recurrent actor-critic reinforcement learning437+0—Jupyter Notebook2023-01-24—
41imhgchoi/ARIMA-LSTM-hybrid-corrcoef-predictApplied an ARIMA-LSTM hybrid model to predict future price correlation coefficients of tw…Applied an ARIMA-LSTM hybrid model to predict future price correlation coefficients of two assets434-1—Jupyter Notebook2018-10-01—
42nuglifeleoji/Factor-ResearchAdvanced Quantitative Factor Research: ML-powered stock return prediction with 72% perfor…Advanced Quantitative Factor Research: ML-powered stock return prediction with 72% performance improvement. Features comprehensive alpha factor library, systematic feature selection, and deep learnin…423+1—Jupyter Notebook2025-08-22—
43neelsomani/senator-filingsScrape public filings of the buy + sell orders of U.S. senators and calculate their retur…Scrape public filings of the buy + sell orders of U.S. senators and calculate their returns411+0—Jupyter Notebook2024-01-19MIT
44purvasingh96/AI-for-Trading📈This repo contains detailed notes and multiple projects implemented in Python related to…📈This repo contains detailed notes and multiple projects implemented in Python related to AI and Finance. Follow the blog here: https://purvasingh.medium.com411-2—Jupyter Notebook2020-12-25—
45jerryxyx/AlphaTradingAn workflow in factor-based equity trading, including factor analysis and factor modeling…An workflow in factor-based equity trading, including factor analysis and factor modeling. For well-established factor models, I implement APT model, BARRA's risk model and dynamic multi-factor model…399+0—Jupyter Notebook2018-08-07—
460xrushi/tradingview-scraper—394-1—Jupyter Notebook2024-03-28MIT
47NGYB/StocksPrograms for stock prediction and evaluationPrograms for stock prediction and evaluation380+0—Jupyter Notebook2026-07-10Apache-2.0
48woshijielie/stock_prediction_and_recommendationA comprehensive React-based stock market analysis dashboard that enables users to visuali…A comprehensive React-based stock market analysis dashboard that enables users to visualize and compare historical market data from multiple stocks, featuring technical indicators, trend analysis, an…371-1—Jupyter Notebook2025-02-14—
49himanshu2406/Algo.PyThe Next-Gen Algorithmic Trading Framework 🚀 (Early Beta)The Next-Gen Algorithmic Trading Framework 🚀 (Early Beta)369+1—Jupyter Notebook2026-06-30—
50sunnyswag/StockRL在A股(股票)市场上训练强化学习交易智能体在A股(股票)市场上训练强化学习交易智能体365+3—Jupyter Notebook2024-03-27GPL-3.0

Other languages

All projects

GitHub data as of 2026-11-22. Descriptions are the repositories' own and are shown in their original language. A star count measures attention, not quality or safety. Check a project's license and code before using it with real money. Nothing here is investment advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.