Footer

Your go-to destination for discovering trending open-source projects and uncovering the insights that matter

Legal

  • Terms and conditions
  • Privacy policy

More

  • Pricing
  • Advertise
  • onedump
  • gosnakego
  • Contact us

Social

  • X (Twitter)
  • GitHub
Trendshift owl
What they build speaks louder than words
© 2026 Trendshift, created by Julian Li with ❤️
SignalAdvertise
Trendshift
SignalAdvertise
Sign in
Trendshift owl

Discover trends that matter

SignalAdvertise
DailyWeeklyMonthlyYearly
Live mentionsTopics
RepositoriesDevelopers
InsightsStats

Bifrost
Bifrost

stefan-jansen/machine-learning-for-trading

Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.

#Learning resources
Visit GitHub
Jupyter Notebook
22.1k
4.6k
15 contributors
MIT License
website
AchievementsView all →
FeaturedAdvertise to 180K+ monthly visitors
Bifrost

Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

Momentum

How fast stefan-jansen/machine-learning-for-trading is gaining stars, and where it lands on Trendshift and GitHub Trending

Activity and trending

Stars, forks and merged pull requests each day or month, lined up with the repository's rank on Trendshift Trending

Sep 28 – Nov 27, 2026

Stars +1,007 in 61 days

0204060
50

Forks +219 in 61 days

0510
10

Merged PRs 48 in 61 days

0510
8

Trendshift Trendingwhere the repository ranked each day it made the top 25

Top 25 in Jupyter Notebook

2120162109419719911142516912
Sep 28Oct 6Oct 14Oct 22Oct 30Nov 7Nov 15Nov 23
The left and right arrow keys step from day to day; Home and End go to the first and the last

Stars, forks, merged pull requests and Trendshift Trending rank, by day
DayStars gainedForks gainedMerged PRsJupyter Notebook
Mon, Sep 28, 2026+22+50#21
Tue, Sep 29, 2026+22+40#20
Wed, Sep 30, 2026+26+70#16
Thu, Oct 1, 2026+40+101#2
Fri, Oct 2, 2026+7+55Not trending
Sat, Oct 3, 2026+11+31Not trending
Sun, Oct 4, 2026+11+11Not trending
Mon, Oct 5, 2026+16+20Not trending
Tue, Oct 6, 2026+9+32Not trending
Wed, Oct 7, 2026+10+40Not trending
Thu, Oct 8, 2026+8+31Not trending
Fri, Oct 9, 2026+14+38Not trending
Sat, Oct 10, 2026+15+41Not trending
Sun, Oct 11, 2026+8+31Not trending
Mon, Oct 12, 2026+12+40Not trending
Tue, Oct 13, 2026+25+44#10
Wed, Oct 14, 2026+15+10Not trending
Thu, Oct 15, 2026+11+31Not trending
Fri, Oct 16, 2026+10+20Not trending
Sat, Oct 17, 2026+28+100#9
Sun, Oct 18, 2026+50+90#4
Mon, Oct 19, 2026+13+33Not trending
Tue, Oct 20, 2026+15+41Not trending
Wed, Oct 21, 2026+20+41#19
Thu, Oct 22, 2026+15+41Not trending
Fri, Oct 23, 2026+10+51Not trending
Sat, Oct 24, 2026+12+10Not trending
Sun, Oct 25, 2026+14+20Not trending
Mon, Oct 26, 2026+8+10Not trending
Tue, Oct 27, 2026+48+100#7
Wed, Oct 28, 2026+15+10Not trending
Thu, Oct 29, 2026+13+21Not trending
Fri, Oct 30, 2026+9+00Not trending
Sat, Oct 31, 2026+11+10Not trending
Sun, Nov 1, 2026+14+40Not trending
Mon, Nov 2, 2026+13+50Not trending
Tue, Nov 3, 2026+21+86Not trending
Wed, Nov 4, 2026+10+20Not trending
Thu, Nov 5, 2026+14+31Not trending
Fri, Nov 6, 2026+11+21Not trending
Sat, Nov 7, 2026+14+20#19
Sun, Nov 8, 2026+7+20Not trending
Mon, Nov 9, 2026+11+30Not trending
Tue, Nov 10, 2026+7+30Not trending
Wed, Nov 11, 2026+11+80Not trending
Thu, Nov 12, 2026+10+41Not trending
Fri, Nov 13, 2026+11+21Not trending
Sat, Nov 14, 2026+9+30Not trending
Sun, Nov 15, 2026+12+20Not trending
Mon, Nov 16, 2026+11+40Not trending
Tue, Nov 17, 2026+26+60#9
Wed, Nov 18, 2026+26+31#11
Thu, Nov 19, 2026+17+40#14
Fri, Nov 20, 2026+12+10#25
Sat, Nov 21, 2026+13+11Not trending
Sun, Nov 22, 2026+30+31#16
Mon, Nov 23, 2026+47+60#9
Tue, Nov 24, 2026+31+40#12
Wed, Nov 25, 2026+12+31Not trending
Thu, Nov 26, 2026+26+30Not trending
Fri, Nov 27, 2026+8+00Not trending
Total+1,007+21948
  • 1#1 on the list
  • 7Rank that day
  • Not trending
8
  • GitHub trending history

    Where the repository ranked on GitHub Trending, one dot for each day it was on a list

    All languages

    Jun 1 – Jun 2, 2026Best #8

    #1#5#10#15#20#25
    Top 10
    Jun 1, 2026Jun 2, 2026
    The left and right arrow keys step from day to day; Home and End go to the first and the last

    Mentions and achievements

    Where people are talking about stefan-jansen/machine-learning-for-trading, and every badge it has earned
    1. Nov 232 posts
      • The ML for Trading repo grew from 20K to 22K GitHub stars in four months. The third edition has 450 notebooks, 9 case studies using real market data, and 6 Python libraries. Follow a signal from…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

      • The ML for Trading repo grew from 20K to 22K GitHub stars in four months. The third edition has 450 notebooks, 9 case studies using real market data, and 6 Python libraries. Follow a signal from…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

    2. Nov 221 post
      • An injected document need not contain your blocked phrases. Our RAG security notebook includes that case and compares keyword detection with provenance-based filtering. Six synthetic fixtures…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

    3. 7 days earlier
    4. Nov 151 post
      • Mamba’s 2023 idea: let the current input change what a state-space model keeps and forgets. Our teaching notebook writes that recurrence in plain PyTorch. It makes the mechanism readable; it is a…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

    5. Nov 141 post2 posts
      • Deep hedging learns how much to hold by optimizing the distribution of hedged P&L after costs. Our notebook uses pfhedge and a from-scratch PyTorch implementation, comparing them with analytical…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

      • How long does a displayed order survive? Our NASDAQ ITCH notebook follows additions, replacements, partial cancellations and executions. An order can be partly filled and later cancelled, so fill and…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

    6. Nov 102 posts
      • The harness exposes ten tools for files, code execution, experiment queries and skill lookup. The agent reads methods from a separate skills library as needed. Useful if you’re building agents that…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

      • Stocks can be tokens too. Our asset-embedding notebook treats institutional portfolios as sentences and stocks as words, then trains Word2Vec to find similar holdings. Inspect how a familiar NLP…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

    7. Nov 81 post
      • For a research-agent reading session: ReAct for the action loop, Self-RAG for evidence support, MemGPT for context and stored memory. Our public notebook makes the first loop inspectable without…

        Read full on X, posted by @ml4trading

        @ml4trading · x.com

    8. 21 days earlier
    9. Oct 181 post
      • 😤 想做量化,光整理数据就卡住半个月。这套代码 2.1 万星,把全流程走了一遍:抓数据、清洗、特征工程、训练模型、回测、接实盘,每步都有能跑的 notebook。

        Read full on X, posted by @laogeai

        @laogeai · x.com

    You might also like

    Repositories close to stefan-jansen/machine-learning-for-trading
    FeaturedAdvertise to 180K+ monthly visitors
    Bifrost

    Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

    PacktPublishing/Hands-On-Machine-Learning-for-Algorithmic-Trading

    Jupyter Notebook

    Hands-On Machine Learning for Algorithmic Trading, published by Packt

    2k694

    chrisconlan/algorithmic-trading-with-python

    Python

    Source code for Algorithmic Trading with Python (2020) by Chris Conlan

    3.5k607

    moondevonyt/Harvard-Algorithmic-Trading-with-AI

    Python

    Harvard Algorithmic Trading

    480223

    zazhang/ep-chan-book-algo-trading

    Jupyter Notebook

    Recreate EP Chan algo trading book strategies

    482104

    Luchkata/Algorithmic_Trading_Machine_Learning

    Jupyter Notebook
    414243

    ml4t/skills

    Python

    Agent skills for Machine Learning for Algorithmic Trading: leakage-safe quant ML, backtesting, validation, and autonomous research workflows.

    5217

    mfrdixon/ML_Finance_Codes

    Jupyter Notebook

    Machine Learning in Finance: From Theory to Practice Book

    2.7k656

    grananqvist/Awesome-Quant-Machine-Learning-Trading

    Quant/Algorithm trading resources with an emphasis on Machine Learning

    4.2k675

    MuuYesen/trade-learn

    Python

    机器学习交易策略搭建研究的全套解决方案 / Building Trading Strategies with Machine Learning in Closed-Loop

    10922