mjib007/revenue-yoy-backtest — explained in plain English
Analysis updated 2026-05-18
Backtest a buy-and-hold strategy triggered by monthly revenue growth thresholds.
Learn how to build a quantitative trading backtest step by step in a notebook.
Run a strategy test in Google Colab using plain-language commands instead of code.
Compare win rates across different revenue growth thresholds and holding periods.
| mjib007/revenue-yoy-backtest | lfrincond/seismic_imaging26 | onuralpszr/litert-lm-cookbook | |
|---|---|---|---|
| Stars | 14 | 13 | 13 |
| Language | Jupyter Notebook | Jupyter Notebook | Jupyter Notebook |
| Setup difficulty | easy | hard | moderate |
| Complexity | 1/5 | 4/5 | 3/5 |
| Audience | general | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Runs entirely in Google Colab, no local installation needed unless you want to run it on your own machine.
This is a set of Jupyter notebooks for backtesting a stock trading strategy based on year over year monthly revenue growth. The core question it answers is: when a stock's monthly revenue grows by more than a chosen percentage compared to the same month the previous year, what is the historical win rate if you buy and hold the stock for a fixed number of days afterward? The project describes itself as educational material for learning how to build this kind of analysis from scratch. Three notebook versions are provided for different users. A teaching version walks through every step with explanations, meant for first time learners. A single cell version condenses everything into one block that runs after you adjust the parameters. A command input version lets you type plain language instructions, such as a stock ticker, a revenue growth threshold, and a number of days to hold, without touching any code. All three run directly in Google Colab, a free online notebook environment that needs no local installation. Adjustable parameters include the stock ticker, the market (Taiwan Stock Exchange or over the counter), the growth threshold, the number of days to hold after buying, and the backtest start date. Monthly revenue data comes from FinMind, a Taiwanese financial data platform, and stock price data comes from the yfinance library. The project is written in Python. This is intended for learners interested in Taiwanese stock markets who want to understand how to build and test a simple quantitative strategy. The README notes that backtest results are for education only and are not investment advice, and is released under the MIT license.
Educational Jupyter notebooks that backtest buying Taiwanese stocks after strong year-over-year monthly revenue growth.
Mainly Jupyter Notebook. The stack also includes Python, Jupyter Notebook, Google Colab.
MIT license: use, copy, modify, and distribute freely, including commercially, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.