Skip to content

Knowledge library

Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

16,761 documents

Quant Q&A

The document compares monthly Fama-French factor returns with values obtained by geometrically compounding the published daily series. It focuses on the market excess return and the SMB and HML factors, which are built from portfolios formed by size and…

EquitiesFactor investingPortfolio constructionBacktesting
Quant Q&A

The document explains how to align U.S. and Japanese market data when forecasting Japanese stock prices. Its central rule is to use only information available before the forecast target. Because the U.S. market closes while the next Japanese trading day has…

EquitiesUS marketsMachine learningBacktesting
Quant Q&A

The document considers how duplicated or apparently similar securities can affect strategy research. Its responses distinguish true duplicates from instruments that merely share an issuer: Alphabet’s two share classes, for example, have different voting…

BacktestingStatisticsEquities
Quant Q&A

The discussion outlines mortgage valuation as a problem of projecting cash flows under changing interest rates, borrower behavior, and discounting. A proposed simulation approach generates possible rate paths, calculates amortizing payments, and discounts…

Fixed incomeOptionsRisk managementBacktesting
Quant Q&A

The document discusses combining forecasts from different trading methods, including sentiment measures, signal processing, and neural networks. One recommendation is to express forecasts in comparable units, such as expected returns or event probabilities,…

Machine learningPortfolio constructionBacktestingStatistics
Quant Q&A

The document considers how to use parameters estimated from hourly Ornstein–Uhlenbeck (OU) data in a daily simulation. It offers two practical routes: aggregate the observed data to daily frequency and re-estimate the parameters, or simulate at hourly…

StatisticsMean reversionVolatilityBacktesting
Quant Q&A

The document addresses how a sequential financial series becomes usable in a supervised machine-learning model. The key idea is to form examples by pairing information available at a decision time with the later outcome being predicted. Each such…

Machine learningEquitiesStatisticsBacktesting
Quant Q&A

The document presents a question about implementing Tilley’s algorithm for pricing American options through simulated asset paths. The shown R approach generates risk-neutral paths, works backward through exercise dates, sorts paths by asset value, estimates…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document addresses how to extend EURUSD history to dates before the euro existed, for quantitative analysis. One suggested proxy is the European Currency Unit (ECU), a pre-euro basket currency. Its constituent weights can be used to construct a…

ForexStatisticsBacktesting
Quant Q&A

The document discusses a three-class LSTM model for predicting financial trends from three time series. The question compares reported accuracy in a cited study with a lower result from an initial implementation and asks about model choices. The response…

Machine learningForexHigh-frequency tradingBacktesting
Quant Q&A

The document discusses how to compare two correlated futures contracts whose prices and tick sizes differ when building a pairs strategy. One suggested approach sets both starting prices to one, then compounds each instrument’s percentage price changes to…

FuturesPairs tradingStatisticsBacktesting
Quant Q&A

The document considers an equity backtest with fundamental and macroeconomic filters when some historical data for delisted stocks cannot be recovered. Its initial rule allows trades when a filter passes or its value is missing. The author worries that this…

EquitiesBacktestingStatistics
Quant Q&A

A return regression can help estimate a strategy’s Sharpe ratio, but the regression alone does not determine it. The result depends on how the signal is converted into positions and, for portfolios, on the conditional covariance among assets. A tangency…

StatisticsPosition sizingPortfolio constructionRisk management
Quant Q&A

The document describes a workflow for forecasting financial time series with technical indicators and machine learning: calculate indicators, remove highly correlated features, lag inputs, train with a rolling or expanding window, and evaluate on held-out…

Machine learningTechnical indicatorsBacktestingStatistics
Quant Q&A

The document asks how to price American options when the underlying follows risk-neutral dynamics with volatility that varies with spot. The response identifies this as a special case of a local volatility model, where volatility may depend on time and spot,…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The discussion compares QuantLib pricing approaches for geometric and arithmetic Asian options. It reports that the finite-difference Black–Scholes Asian engine supports discrete arithmetic averaging, not continuous geometric averaging. A discrete geometric…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document addresses an apparent mismatch between simulated discount factors in a Hull–White one-factor Monte Carlo model and the market discount curve at the initial time. Its central point is that the model’s no-arbitrage setup is intended to reproduce…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The discussion frames hedge selection as choosing weights on available instruments to reduce the combined portfolio’s PnL variance. A simple example shows that when matching instruments exist, the method should recover offsetting positions; with imperfect…

Machine learningRisk managementPortfolio constructionExecution
Quant Q&A

The discussion considers why a multi-period mean-variance portfolio plan can be time-inconsistent: a strategy that maximizes expected terminal wealth subject to a risk penalty today may no longer be optimal when reconsidered at a later date. It asks whether…

Portfolio constructionRisk managementBacktesting
Quant Q&A

The document discusses how to feed time series with uneven observation density into a deep learning model, especially when each batch should retain historical context. It argues that the appropriate representation depends on the model and learning method.…

Machine learningStatisticsBacktesting
Quant Q&A

The document weighs alternatives to Value at Risk (VaR), especially Expected Shortfall and TailVaR, while discussing why VaR can give an incomplete picture of losses beyond a chosen threshold. One response notes growing attention to tail-sensitive measures…

Risk managementStatisticsBacktesting
Quant Q&A

The question considers estimating a portfolio Value-at-Risk from correlated asset returns assumed to follow a multivariate normal distribution. It proposes finding the portfolio's worst return on a probability ellipsoid determined by a chi-square cutoff,…

Risk managementPortfolio constructionStatisticsBacktesting
Quant Q&A

The document explains which stocks qualify for the annual Fama–French size and book-to-market portfolio sorts. Portfolios are formed at June end using market equity for size and book-to-market information based on prior fiscal-year book equity and December…

EquitiesFactor investingPortfolio constructionBacktesting
Quant Q&A

The document asks how to solve a three-dimensional backward Black–Scholes PDE with time- and state-dependent coefficients. Applying a Crank–Nicolson scheme across all three state variables at once creates a difficult coupled system. The response points to…

Derivatives pricingStatisticsBacktesting