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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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 discussion reviews assumptions for a custom equity backtester using bar data, especially for strategies that hold positions for days. For conservative simulated fills, one answer recommends adverse bar extremes after a signal: high prices for long…

EquitiesBacktestingExecutionMarket microstructure
Quant Q&A

The discussion addresses how to set an upper-domain boundary when numerically pricing options with finite differences. It recommends using linear behavior in an extreme model state as a generic boundary approximation for many products. In mathematical terms,…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document asks how maximum drawdown varies with the mean and standard deviation of daily returns and the length of the return series. It frames the problem with simulated paths: draw daily observations from a normal distribution, calculate each path’s…

StatisticsRisk managementBacktestingVolatility
Quant Q&A

The discussion collects suggestions for obtaining intraday DAX or DAX futures data, with an emphasis on one-minute bars and affordability. It mentions exchange data for DAX futures, downloadable DAX series from a broker-data source whose instrument type may…

FuturesEquitiesBacktesting
Quant Q&A

The discussion surveys ways to combine financial series observed at different frequencies and use them in forecasts. MIDAS models incorporate higher-frequency predictors into a lower-frequency target, such as daily market data in a quarterly economic…

StatisticsMachine learningBacktesting
Quant Q&A

The document describes a simplified way to represent an active long volatility allocation discussed in a portfolio research paper. The proposed rule monitors the equity market over a rolling three-month window and buys options in the direction of a…

OptionsVolatilityBacktesting
Quant Q&A

This discussion asks whether input attributes need to be scaled before gradient tree boosting. One answer says scaling is generally unnecessary for tree-based boosting, since the distance-based concerns that motivate normalization for methods such as support…

Machine learningStatisticsBacktesting
Quant Q&A

This question compares an extreme value theory approach to value-at-risk with simulation from empirical return distributions. The proposed EVT workflow models the center of returns with a Gaussian kernel and the tails with a generalized Pareto distribution,…

StatisticsRisk managementBacktestingPortfolio construction
Quant Q&A

The document outlines three limitations of Brownian motion as a model for financial prices. Its continuous paths cannot represent sudden price jumps, and its Gaussian assumptions may fail to capture the distribution of market returns. It also raises…

StatisticsEquitiesUS marketsBacktesting
Quant Q&A

The document describes a CPI forecasting regression whose author sees a moving average of the residuals moving in the same direction as CPI. The author asks whether this suggests omitted-variable bias, biased coefficients, or another modeling problem. The…

StatisticsMachine learningBacktesting
Quant Q&A

The document presents competing views on calculating a strategy’s Sharpe ratio when it has no open positions. Some responses argue for excluding such days because they have no realized strategy return and including zero or forward-filled observations could…

StatisticsRisk managementBacktesting
Quant Q&A

The discussion explains why a simulated delta hedge may retain tracking error and how to account for changing positions. In the Black–Scholes framework, hedge error should shrink as rehedging intervals become smaller when the simulated underlying follows the…

OptionsDerivatives pricingBacktestingRisk management
Quant Q&A

The document asks why a manually calculated Sharpe ratio differs from the value shown by TradingView for a backtest with six trades. It provides a short series of eight daily profit observations, including both positive and negative values and several…

BacktestingRisk managementStatistics
Quant Q&A

The document examines a proposed test of whether empirical price data follow an Ornstein-Uhlenbeck (OU) process. The described procedure estimates OU parameters by maximum likelihood, simulates a new path using those estimates, then fits the OU model again…

StatisticsMean reversionBacktesting
Quant Q&A

The document presents a workflow for forecasting stock volatility with a GARCH(1,1) model through R’s rugarch package called from Python with rpy2. It calculates daily log returns, fits a Student-t model to returns scaled as percentages, reserves a final…

EquitiesVolatilityBacktestingStatistics
Quant Q&A

This example explains how to impose linear restrictions on the cointegrating vectors of a Johansen vector error correction model. It begins with simulated series sharing a common stochastic trend, estimates a model with four cointegrating relationships, and…

StatisticsMean reversionBacktesting
Quant Q&A

The question asks whether two sets of bootstrapped Value at Risk estimates, generated from returns before and after a recession, can be compared with a t-test. The response says that non-normality in the underlying returns does not automatically rule out a…

Risk managementStatisticsBacktesting
Quant Q&A

The document asks why White’s Bootstrap Reality Check (BRC) evaluates the best-performing strategy in a group. It proposes applying the same procedure to the second-best strategy, then to lower-ranked strategies, by comparing each strategy’s scaled mean…

StatisticsBacktesting
Quant Q&A

The document describes a Monte Carlo resampling approach to mean-variance portfolio optimization. It outlines fitting return distributions to assets, simulating returns while respecting assumptions about expected returns, volatility, and correlation,…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document considers whether macroeconomic variables such as GDP growth, inflation, employment, and fiscal spending relate to company revenues or earnings across industries. It proposes using company-level panel data and asks whether a fixed-effects model…

EquitiesStatisticsBacktesting
Quant Q&A

The problem describes a European call that must be sold if an independent event occurs, at the lower of its current value and its original purchase price. One response reframes the contract as a standard call minus the value of a compound call written on…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The note explains that whether to include a shutdown period in a strategy’s Sharpe ratio depends on why the strategy stopped trading and what the statistic is intended to measure. If a discretionary trader deliberately moves to cash, that choice is part of…

StatisticsBacktestingRisk management
Quant Q&A

The discussion examines how to estimate the six-month roll-down of a five-year interest rate swap. It challenges simply subtracting a five-year spot rate and a four-and-a-half-year spot rate, then explains how to represent the original swap after time…

Fixed incomeDerivatives pricingCarryBacktesting
Quant Q&A

The document asks how to count degrees of freedom when assessing a trading system’s complexity. It presents a framework that combines the system’s rules with the market observations those rules consume, and cites examples in which two moving averages on the…

BacktestingStatisticsTechnical indicators