# Wall Street Code (https://hedge-funds-leaked.pages.dev/) The code of 12 firms as 12 desks. Each one = 2 GitHub repos + 1 full setup prompt. Made by @carm1nee on X. Stars read from the GitHub API on 5 Dec 2026. How to use: ask the person whose code they want to run and which market they trade, then follow that desk's prompt step by step. Read each repo's README for the current install steps. Paper trading only until they say live. ## Desk 1: Jane Street The AI tutor skill Jane Street exported from its internal repo + the 51-line bot that won Jane Street's challenge with an $8M P&L In their words (janestreet/agent_skills): "These skills are exported from our internal repository, where we use them day to day" - https://github.com/janestreet/agent_skills (16,550 stars) - https://github.com/EnriqueKhai/JaneStreetETC22 (75 stars) Prompt: Teach me market making with Jane Street's own tutor skill, then run the bot that won Jane Street's 2022 challenge on live crypto prices, on paper. Use github.com/janestreet/agent_skills and github.com/EnriqueKhai/JaneStreetETC22. 1. Copy the socratic-tutor folder from agent_skills into your skills folder (or read its SKILL.md and follow it). Teach me [market making] the way it says: a diagnostic first, a skill map with levels 0-5, one question at a time. Stop when I reach level [3]. 2. Read market_maker.py in JaneStreetETC22 and explain its 51 lines in plain words: fair price = the last trade, one buy just under it, one sell just over it, cancel and replace on every new trade. 3. Port the same logic to a paper bot on live [BTC-USD] trades from Coinbase's public market data. No API keys. Settings I can change: distance from the last trade [$10], order size [0.001 BTC], max inventory [0.01 BTC]. 4. A simulated fill happens only when a real trade prints through my quote. Add a fee of [0.05%] per fill. 5. Save every fill to a csv: time, side, price, size, fee, inventory, P&L. 6. Run it for [24 hours]. Show me fills, spread captured, fees, P&L after fees and the worst inventory, next to just holding BTC. 7. Then let the tutor quiz me on what the bot did and why. Paper mode only. Never ask me for exchange keys. ## Desk 2: Goldman Sachs The toolkit Goldman Sachs quants built for trading strategies runs its volatility, drawdown & RSI math on free market data In their words (goldmansachs/gs-quant): "It is created and maintained by quantitative developers (quants) at Goldman Sachs" - https://github.com/goldmansachs/gs-quant (14,612 stars) - https://github.com/ranaroussi/yfinance (26,096 stars) Prompt: Run Goldman Sachs' quant toolkit on free market data and build me a daily risk report. Use github.com/goldmansachs/gs-quant and github.com/ranaroussi/yfinance. 1. Python 3.11 venv: pip install gs-quant yfinance plotly. No GsSession and no Goldman login: only use gs_quant.timeseries functions that take a pandas Series. 2. Pull 2 years of daily closes with yfinance for [SPY QQQ NVDA TSLA BTC-USD] and show me a table of the last close for each. 3. For each ticker compute with gs_quant.timeseries: returns, volatility over 22 days, max_drawdown, correlation and beta to SPY over 60 days, zscores, relative_strength_index, bollinger_bands, macd. 4. Build one HTML page: a card per ticker with price + Bollinger bands, RSI, 22-day vol and drawdown, plus a correlation table. 5. Flag every ticker where volatility is more than [2] z-scores above its own year, RSI is over [70] or under [30], or correlation to SPY flipped sign this month. One line per flag, in plain words. 6. Rerun it every day at [16:30 New York] and keep each report in a dated folder. Signals only. It never places a trade. ## Desk 3: JPMorgan The Python course JPMorgan runs for its own traders + Perspective, the live data grid that started at JPMorgan In their words (jpmorganchase/python-training): "This Python training is for JPMorgan business analysts and traders" - https://github.com/jpmorganchase/python-training (14,559 stars) - https://github.com/perspective-dev/perspective (12,032 stars) Prompt: Teach me Python the way JPMorgan trains its traders, then build my own live trading grid. Use github.com/jpmorganchase/python-training and github.com/perspective-dev/perspective. 1. Clone python-training and open its notebooks in order (Binder or local Jupyter). Walk me through each one with my own tickers [AAPL NVDA BTC-USD] instead of the examples. One exercise per notebook, and you check my answer. 2. When I finish, pip install perspective-python yfinance. 3. Build a live grid of my watchlist [AAPL MSFT NVDA TSLA AMD META GOOGL AMZN BTC-USD ETH-USD]: last, change %, volume, 20-day high/low, distance to the high. Refresh every [30 s]. 4. Add a second view on the same data: a heatmap of change % and a line chart of the last 5 days. 5. Colour rows green or red by change %, sort by the biggest move, let me group by sector. 6. Serve it on localhost so it opens in my browser, and tell me how to save my layout. No broker connection. Data only. ## Desk 4: BlackRock BlackRock's own optimizer tunes every setting of your strategy while a backtester scores each try on data it never saw In their words (blackrock/HOLA): "A Python library for black-box optimization, backed by a Rust engine for speed" - https://github.com/blackrock/HOLA (56 stars) - https://github.com/kernc/backtesting.py (9,364 stars) Prompt: Use BlackRock's optimizer to tune a strategy without fooling myself. Use github.com/blackrock/HOLA and github.com/kernc/backtesting.py. 1. Install HOLA with the command from its README (it is not on PyPI) and pip install backtesting yfinance. 2. Pull daily [BTC-USD] from [2018]. Split it: first 70% to tune, last 30% locked away. 3. Write the strategy in backtesting.py: [EMA crossover + RSI filter + ATR stop]. Fee [0.1%] per trade. 4. Give HOLA the parameter space: fast EMA [5-50], slow EMA [20-200], RSI level [20-45], ATR stop [1-4]. Objective: Sharpe on the tuning part, minus a penalty when there are fewer than [30] trades. 5. Run [300] trials with HOLA's ask/tell loop. Show the best 10 settings and how stable they are next to each other. 6. Only then open the locked 30%: run the best setting once and show return, Sharpe, max drawdown and trades next to buy-and-hold. 7. Tell me straight if it fell apart on the unseen part. Backtests only. No live orders. ## Desk 5: Citadel-backed contest The bot that ended one live round with $26,850,723 at the UChicago contest Citadel & Jane Street sponsor + the Black-Litterman math it runs on In their words (aardisaputra/uchicago_case3): "Total profits at end of live round: $26,850,723" - https://github.com/aardisaputra/uchicago_case3 (64 stars) - https://github.com/PyPortfolio/PyPortfolioOpt (6,204 stars) Prompt: Rebuild the portfolio bot that ended a live round with $26,850,723 at the UChicago Trading Competition and run it on paper. Use github.com/aardisaputra/uchicago_case3 and github.com/PyPortfolio/PyPortfolioOpt. 1. Read the repo and explain in plain words how it rebalances: the Black-Litterman views, the weights, how often it trades. 2. pip install pyportfolioopt yfinance pandas. 3. Universe: [SPY QQQ IWM EFA EEM TLT GLD XLE XLK XLF]. Daily closes from [2015]. 4. Same method with PyPortfolioOpt: market-implied returns, my views from [6-month momentum], Black-Litterman, then max Sharpe with a cap of [25%] per name. 5. Rebalance every [week] with a cost of [0.05%]. Backtest from [2018] to today. 6. Show me equity, drawdown and the weights over time next to equal weight and SPY. 7. Then run it forward on paper: every Monday print the new weights and the trades it would make. Paper only. It never connects to a broker. ## Desk 6: Point72 The streaming engine Point72's high frequency algo team built, fed live order books from 100+ exchanges In their words (Point72/csp): "csp was developed at Point72 by the High Frequency Algo team" - https://github.com/Point72/csp (492 stars) - https://github.com/ccxt/ccxt (45,094 stars) Prompt: Build a live cross-exchange price stream on the engine Point72's high frequency algo team built. Use github.com/Point72/csp and github.com/ccxt/ccxt. 1. pip install csp ccxt. If csp has no wheel for my system, set it up in WSL or Docker and tell me which. 2. Stream the [BTC/USDT] order book top from [binance, coinbase, kraken, okx, bybit] with ccxt's websocket methods. Show me one line per exchange first: bid, ask, time. 3. Wire them into a csp graph: best bid and ask per exchange, the best bid and ask across all of them, and the spread between exchanges in basis points. 4. Add each exchange's taker fee and raise an alert only when the gap is still above [5 bps] after fees on both sides. 5. Record every tick and alert to parquet, one file a day. 6. Run it for [24 hours] and show me how many alerts fired, how long each lasted and the biggest gap. Alerts only. It never sends an order. ## Desk 7: Man Group Man Group's database for billions of rows of tick data + the data explorer its quant arm Man Numeric builds In their words (man-group/dtale): "D-Tale has been under active development at Man Numeric since 2019" - https://github.com/man-group/ArcticDB (2,685 stars) - https://github.com/man-group/dtale (5,266 stars) Prompt: Store market data the way Man Group does and explore it in a browser. Use github.com/man-group/ArcticDB and github.com/man-group/dtale. 1. pip install arcticdb dtale ccxt pandas. 2. Create a local library: Arctic("lmdb://./market"), library [crypto_1m]. 3. Pull 1-minute candles for the top [20] coins on [Binance] with ccxt for the last [90] days and write one symbol per coin. Show me the row count per symbol. 4. Add an update job that appends only the new candles every [hour]. ArcticDB keeps every version, so show me how to read the data as it was yesterday. 5. Build one table from it: 1-hour returns, 24-hour volatility, correlation to BTC, volume z-score for every coin. 6. Open that table in D-Tale in my browser. Show me how to sort, filter and chart it, and which coins look unusual today. Data only. No orders. ## Desk 8: Optiver The 7th-place model from Optiver's $100K volatility contest + the backtester that replays every order book tick like a market maker In their words (michaelpoluektov/orvp): "7th place submission for Optiver Realized Volatility Prediction competition on Kaggle" - https://github.com/michaelpoluektov/orvp (7 stars) - https://github.com/nkaz001/hftbacktest (5,186 stars) Prompt: Learn what placed 7th in Optiver's $100K volatility contest and use it to quote like a market maker in a backtest. Use github.com/michaelpoluektov/orvp and github.com/nkaz001/hftbacktest. 1. Read the orvp repo and explain in plain words how it predicts the next 10 minutes of volatility from the order book: weighted mid price, realized volatility, the features it uses. 2. pip install hftbacktest. Follow its docs to get [BTCUSDT] futures order book data for [3 days]. 3. Build the same kind of features on that data and fit a small model that predicts the next [10 minutes] of realized volatility. 4. Write two market making strategies in hftbacktest: (a) a fixed spread of [2 ticks], (b) a spread that widens with the predicted volatility. Same size, same max position [0.05 BTC], real queue position and fees. 5. Run both tick by tick and show me P&L, fills, inventory and worst drawdown next to each other. 6. Tell me in one line which one survived the volatile hours better and why. Backtests only. ## Desk 9: Google Google's forecasting AI draws the next 30 days of any chart + Google's own AI agent runs it from your terminal In their words (google-research/timesfm): "a pretrained time-series foundation model developed by Google Research for time-series forecasting" - https://github.com/google-research/timesfm (36,022 stars) - https://github.com/google-gemini/gemini-cli (109,666 stars) Prompt: Paste this into Gemini CLI. Forecast my charts with Google's forecasting AI and grade it before I trust it. Use github.com/google-research/timesfm and github.com/google-gemini/gemini-cli. 1. If Gemini CLI is not installed yet, install it as its README says and sign in with my Google account. 2. In a Python venv install timesfm as its README says, plus yfinance. Tell me if my machine needs a different Python or torch first. 3. Pull [2] years of daily closes for [BTC-USD SPY NVDA GLD] with yfinance. 4. Ask TimesFM for the next [30] days of each: the median and the 10% and 90% bands. Chart them on top of the last 6 months. 5. Grade it honestly: rolling 30-day forecasts over the last [12] months against a naive last-price forecast. Show the error of both and how often the real price stayed inside the bands. 6. Keep only the tickers where TimesFM beat naive. For those, print one line a day: the direction of the median and how far it is from today in %. 7. Run steps 3-6 every morning at [8:00] and save each day's charts in a dated folder. Signals only. It never places a trade. ## Desk 10: Microsoft Microsoft's AI quant platform + Microsoft's agent that invents strategies 24/7 & keeps only what wins on data it never saw In their words (microsoft/qlib): "Qlib is an open-source, AI-oriented quantitative investment platform" - https://github.com/microsoft/qlib (50,871 stars) - https://github.com/microsoft/RD-Agent (15,634 stars) Prompt: Run Microsoft's AI quant platform and let Microsoft's agent invent factors on top of it. Use github.com/microsoft/qlib and github.com/microsoft/RD-Agent. 1. Set up a Linux, WSL or Docker environment with Python 3.10. Install qlib from source as its README says. 2. Download qlib's [US] daily data with its data scripts and run the LightGBM Alpha158 benchmark with qrun. Show me IC, annual return and max drawdown. 3. Install RD-Agent, set the LLM key I give you and run its quant factor loop on the same data for [5] rounds. 4. After each round show me the new factors in plain words, their IC and whether the agent kept them. 5. Rerun the benchmark with the kept factors added and compare it with step 2 on the same test years. 6. Keep only what still wins after a [0.1%] cost on the test years. Research and backtests only. No live orders. ## Desk 11: Amazon Amazon's Chronos forecasts any price series it never saw + Amazon's toolkit grades every forecast before you trust it In their words (amazon-science/chronos-forecasting): "an interface to the Chronos family of pretrained time series forecasting models" - https://github.com/amazon-science/chronos-forecasting (6,413 stars) - https://github.com/awslabs/gluonts (5,268 stars) Prompt: Forecast any price series with Amazon's Chronos and grade the forecast before I trust it. Use github.com/amazon-science/chronos-forecasting and github.com/awslabs/gluonts. 1. pip install chronos-forecasting gluonts yfinance. Use the newest Chronos model the README recommends for my machine. 2. Pull daily closes for [BTC-USD SPY NVDA GLD] from [2019]. 3. Forecast the next [14] days for each: median plus the 10% and 90% bands. Chart them. 4. Backtest it honestly with GluonTS: rolling windows over the last [2] years, Chronos against a naive last-price forecast and a seasonal naive one. Show MASE, CRPS and how often the real price stayed inside the bands. 5. Turn it into a signal only where Chronos beat naive: long when the median is above today by more than [2%]. 6. Show that signal's results after a [0.1%] cost next to buy-and-hold. Signals only. It never places a trade. ## Desk 12: Coinbase Coinbase's kit gives your AI agent its own wallet + Coinbase's official SDK streams the order book it trades on In their words (coinbase/agentkit): "Every AI Agent deserves a wallet." - https://github.com/coinbase/agentkit (1,365 stars) - https://github.com/coinbase/coinbase-advanced-py (367 stars) Prompt: Give my AI agent its own wallet with Coinbase's kit and let it trade on a testnet. Use github.com/coinbase/agentkit and github.com/coinbase/coinbase-advanced-py. 1. Follow AgentKit's quickstart in Python. Create the wallet on [Base Sepolia] testnet only and fund it from a faucet. Show me the address. 2. pip install coinbase-advanced-py. Use its public market data calls (no API key) for [BTC-USD] candles and the order book. 3. Rule: [buy 0.001 test ETH-worth when the 1-hour close crosses above the 20-hour average, sell when it crosses below]. Check every [5 minutes]. 4. Each trade goes through the AgentKit wallet on the testnet. Log time, signal, price, tx hash, balance. 5. Run it for [48 hours] and show me the log and what the rule would have done on real prices. 6. Explain what I would have to change before any real money, and wait for me. Testnet only. Never ask me for a real wallet key or an exchange key. ## Videos to learn from - https://www.youtube.com/watch?v=zPLc3jjHbnU : How machine learning is used at a trading firm, with 3Blue1Brown (Jane Street, 27:39) - https://www.youtube.com/watch?v=IlgvRtTwaUs : Jane Street's own panel on where AI is going (Jane Street, 1:42:10) - https://www.youtube.com/watch?v=UExgCSJdIn4 : Jane Street's newest talk: trading at the speed of chat (Jane Street, 1:34:02) - https://www.youtube.com/watch?v=NT_I1MjckaU : How Jane Street traders think, in a real mock interview (Jane Street, 25:43) - https://www.youtube.com/watch?v=b1e4t2k2KJY : How an exchange works from the inside (Jane Street, 38:17) - https://www.youtube.com/watch?v=zR9PpXWsKFQ : Running systems that trade billions of dollars a day (Jane Street, 1:08:22) - https://www.youtube.com/watch?v=nmbj89YGglk : Citadel Securities' CEO on what AI changes in markets (Citadel Securities, 1:54) - https://www.youtube.com/watch?v=W7B4MtSfm0w : Citadel Securities' CEO on the future of markets (Citadel Securities, 42:36) - https://www.youtube.com/watch?v=gZweef8LX7M : Ken Griffin on AI, on Goldman Sachs' channel (Goldman Sachs, 31:24) - https://www.youtube.com/watch?v=2bE2iyRBK1E : Two Sigma on machine learning models of financial data (Two Sigma, 1:00:35) - https://www.youtube.com/watch?v=zGSx9PG2RvU : Man Group's quant arm explains machine learning in trading (Man AHL, 6:03) - https://www.youtube.com/watch?v=gm7SrS9bs3s : What a market maker does, from Optiver (Optiver, 3:12) - https://www.youtube.com/watch?v=_2wa9ldwi5A : Market makers + the Optiver volatility contest on Kaggle (QuantPy, 16:29) - https://www.youtube.com/watch?v=6PSlX7Qqd1U : A walk through Goldman Sachs' open-source GS Quant (Spectral Forge Labs, 13:00) - https://www.youtube.com/watch?v=6eBSHbLKuN0 : Anthropic's own 30-minute guide to Claude Code (Anthropic, 28:07) - https://www.youtube.com/watch?v=gv0WHhKelSE : Claude Code best practices, from Anthropic (Anthropic, 25:53) - https://www.youtube.com/watch?v=bNevUiQe858 : A trading bot built with Claude Code, step by step (Steven Ace Trades, 21:16) - https://www.youtube.com/watch?v=zEMXCoqJodE : Google's own guide to coding with Gemini CLI (Google for Developers, 38:29) - https://www.youtube.com/watch?v=_tB4pdy9VJw : Google's TimesFM against classic forecasting (AI with Surya, 12:50) - https://www.youtube.com/watch?v=z6a4mQTkMwg : Microsoft's Qlib for stock prediction, hands on (Benjamin Ricard, PhD, 29:01) - https://www.youtube.com/watch?v=wSc76uFpFKg : How Amazon's Chronos-2 forecasts any series (AutoML Seminars, 47:35) - https://www.youtube.com/watch?v=HZGl1B5lv_k : Coinbase: an AI agent with its own wallet in 5 minutes (Coinbase, 6:12) - https://www.youtube.com/watch?v=wvXDB9dMdEo : Lecture 1 of MIT's Mathematics with Applications in Finance (MIT OpenCourseWare, 1:00:30) - https://www.youtube.com/watch?v=9Y3yaoi9rUQ : Machine learning and quant strategies in Python, 3 hours (freeCodeCamp.org, 2:59:20) ## More repos for trading agents - https://github.com/R-Ramana/jane-street-etc : The bot of NullPointerException, winners of the final hour at Jane Street's trading challenge (2 stars) - https://github.com/keiteo/js-etc : The bot that took 3rd in the final hour of Jane Street's trading challenge (6 stars) - https://github.com/yafet-a/Jane-Street-FTTP-Trading-Bot : A first-year's bot from Jane Street's FTTP trading program: bonds, stocks and ETFs (7 stars) - https://github.com/evgeniavolkova/kagglejanestreet : A full solution to Jane Street's 2024 market data forecasting contest on Kaggle (269 stars) - https://github.com/nimashahbazi/optiver-trading-close : LSTM and ConvNet models from Optiver's closing auction contest on Kaggle (476 stars) - https://github.com/osyuksel/kaggle-optiver-2024 : The 15th place code from Optiver's Trading at the Close contest (19 stars) - https://github.com/wonabru/kaggle-two-sigma-winner : 2nd prize code from a Two Sigma contest on Kaggle (14 stars) - https://github.com/man-group/notebooker : Man Group's tool to run and schedule research notebooks like reports (940 stars) - https://github.com/bloomberg/quant-research : Projects published by Bloomberg's quantitative finance research team (148 stars) - https://github.com/TauricResearch/TradingAgents : Analysts, bull and bear researchers and a risk team as AI agents that debate every trade (125,445 stars) - https://github.com/virattt/ai-hedge-fund : A team of AI agents modelled on famous investors votes on every stock (65,004 stars) - https://github.com/51bodila/Gemini-TradingAgents : 4 Gemini models run as one hedge fund desk (370 stars) - https://github.com/ZhuLinsen/daily_stock_analysis : An LLM reads prices and news for your stocks every day and sends you a decision board (76,147 stars) - https://github.com/OpenByteInc/QuantDinger : A self-hosted trading OS where AI agents research, backtest and trade (14,227 stars) - https://github.com/The-Swarm-Corporation/AutoHedge : A swarm of agents that runs a small hedge fund: research, risk and execution (6,781 stars) - https://github.com/HKUDS/Vibe-Trading : A personal trading agent from the HKU data lab (39,706 stars) - https://github.com/HKUDS/AI-Trader : Fully automated, agent-native trading (23,487 stars) - https://github.com/wquguru/nof0 : An open AI trading arena where models trade against each other (2,758 stars) - https://github.com/virattt/dexter : An autonomous agent for deep financial research (28,053 stars) - https://github.com/Lumiwealth/lumibot : Python trading framework with AI agents that place the trade (2,277 stars) - https://github.com/alpacahq/alpaca-mcp-server : Alpaca's official MCP server: your AI trades stocks, ETFs, crypto and options in plain English (1,159 stars) - https://github.com/atilaahmettaner/tradingmcp : An MCP server that gives your AI quotes, options and market analysis (5,368 stars) - https://github.com/roan-maverick/tradingview-indicator-for-ai-agents : The TradingView indicator built for AI agents to read (431 stars) - https://github.com/shiyu-coder/Kronos : A forecasting model trained on candles from 45 exchanges (48,482 stars) - https://github.com/AI4Finance-Foundation/FinGPT : Open-source language models trained for finance (21,767 stars) - https://github.com/AI4Finance-Foundation/FinRL : Reinforcement learning agents that learn to trade (17,251 stars) - https://github.com/QuantConnect/Lean : QuantConnect's open trading engine for backtests and live trading in Python or C# (22,885 stars) - https://github.com/nautechsystems/nautilus_trader : Rust trading engine: the same strategy code runs in backtests and live (32,069 stars) - https://github.com/freqtrade/freqtrade : Backtests and trades any crypto strategy 24/7 (57,583 stars) - https://github.com/hummingbot/hummingbot : Market making and arbitrage bots for crypto exchanges (21,519 stars) - https://github.com/jesse-ai/jesse : A crypto trading bot framework with clean backtests (8,876 stars) - https://github.com/polakowo/vectorbt : Tests thousands of strategy settings in one run (10,053 stars) - https://github.com/edtechre/pybroker : Algorithmic trading in Python with machine learning (3,733 stars) - https://github.com/barter-rs/barter-rs : A Rust framework for event-driven live trading and backtests (2,389 stars) - https://github.com/exchange-core/exchange-core : An ultra-fast order matching engine, the core of an exchange (2,683 stars) - https://github.com/openbq-org/OpenBB : Open data platform for analysts, quants and AI agents (76,081 stars) - https://github.com/Fincept-Corporation/FinceptTerminal : Markets, news and research on one terminal screen (34,541 stars) - https://github.com/Open-Dev-Society/OpenStock : An open-source alternative to paid market platforms (22,441 stars) - https://github.com/gloom-sh/gloomberb : A finance terminal inside your terminal (2,900 stars) - https://github.com/flowsurface-rs/flowsurface : Order book heatmap and footprint charts (1,863 stars) - https://github.com/tradingview/lightweight-charts : TradingView's own open-source charts (18,111 stars) - https://github.com/joshyattridge/smart-money-concepts : ICT smart money concepts in Python (2,309 stars) - https://github.com/bmoscon/cryptofeed : Live websocket feeds from crypto exchanges in one handler (3,053 stars) - https://github.com/dgunning/edgartools : 10-K, 8-K and XBRL filings straight from the SEC (2,914 stars) - https://github.com/JerBouma/FinanceDatabase : A database of 300,000+ symbols: stocks, ETFs, funds, crypto (9,703 stars) - https://github.com/lballabio/QuantLib : The C++ library for pricing bonds and derivatives (7,844 stars) - https://github.com/TA-Lib/ta-lib-python : 150+ technical indicators in one Python call (12,469 stars) - https://github.com/ranaroussi/quantstats : Portfolio analytics and tear sheets for quants (7,950 stars) - https://github.com/skfolio/skfolio : Portfolio optimisation and risk models built on scikit-learn (2,702 stars) - https://github.com/dcajasn/Riskfolio-Lib : Portfolio optimisation and risk measures in Python (4,645 stars) - https://github.com/cantaro86/Financial-Models-Numerical-Methods : Notebooks on the math of quantitative finance, with code (7,562 stars) - https://github.com/stefan-jansen/machine-learning-for-trading : Code for the Machine Learning for Trading book, from data to strategy (22,252 stars)