Case study|Learning Platform
Quantledge
A quant learning lab
Learn quant concepts chapter by chapter, then backtest strategies on real price data and design a portfolio.

Overview
Quantledge is a personal quant portfolio lab that runs from learning terms to building a real portfolio. It archives Markdown chapters in two categories: Stock (market concepts, trading and price terms, charts, financial indicators, performance metrics) and Quant (strategy design, factor selection, data requirements, backtesting basics, portfolio construction). Search, a table of contents and reading time support step-by-step study.
The Quant Backtest Lab (`/quant/backtest/`) runs moving-average strategy backtests on real Korean stock data through a FastAPI backend that uses pykrx and FinanceDataReader. Users can view candlestick, MA (5/20/60/120), strategy baseline and volume charts, a BUY/SELL/HOLD signal table, an equity curve and performance metric cards such as CAGR, MDD and Sharpe ratio.
The Portfolio Lab (`/quant/portfolio/`) lets users choose candidate strategies such as Regime MA, Golden Cross, Low PER+Quality and TQQQ+Cash Rebalancing. Based on total capital, target MDD and cash weight, it produces draft weights, investment amounts, expected CAGR and MDD, and a pre-check checklist. The frontend uses Astro and TypeScript, and the backend uses Python, FastAPI and pandas.


