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
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 response addresses how to compare option-pricing models when their Greeks imply different hedge positions. It points to empirical studies that evaluate alternative pricing models and implied-volatility functions, using delta hedging of equity options as…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document asks why a five-year stock-price chart contains frequent, brief spikes. The answer attributes them to missing observations in the displayed data: according to the response, the data provider represents unavailable prices as zero. When a chart…

EquitiesBacktestingStatistics
Quant Q&A

The document raises a data-quality question about using hourly OHLC prices for a cryptocurrency in strategy research. Its supplied dataset carries more decimal places than the values displayed by a chart, and the author asks whether to round the historical…

CryptoBacktestingExecution
Quant Q&A

The answer explains that a 1:2 risk–reward ratio is a convention rather than a universally correct rule. It offers two possible reasons traders favor it: loss aversion may lead investors to seek more potential gain than potential loss, and a reward-to-risk…

ForexRisk managementTechnical indicatorsBacktesting
Quant Q&A

The document addresses how to identify past changes in futures contract tick sizes, which matter when interpreting historical price data and trading costs. Its practical suggestion is to search exchange press releases, where exchanges announce contract…

FuturesMarket microstructureBacktesting
Quant Q&A

The discussion compares arithmetic and geometric approaches to the Sharpe ratio and emphasizes that they answer different questions. The conventional arithmetic version uses average excess simple returns relative to their standard deviation and is often…

StatisticsRisk managementBacktesting
Quant Q&A

The document compares simulating an asset price directly with simulating its logarithm under geometric Brownian motion. Applying Itô’s lemma gives log price a constant drift adjusted downward by half the variance and a volatility-scaled Wiener process. The…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document outlines architectural decisions for building a customizable Python backtesting engine. It highlights market-data storage and serialization, memory limits, handling unstructured feeds, durable output storage, and access to prior run results. It…

BacktestingExecutionMarket microstructure
Quant Q&A

The document compares storage approaches for real-time and historical market data, focusing on column-oriented databases, row stores, in-memory arrays, flat files, and time-series systems. Column stores can speed analytical reads by scanning selected columns…

Market microstructureExecutionHigh-frequency tradingBacktesting
Quant Q&A

The document compares a drawdown survival formula attributed to John Wolberg with results from two research papers on drawdowns. Wolberg’s expression gives the probability of a drawdown at least as large as a specified percentage, using the drift and…

StatisticsRisk managementBacktesting
Quant Q&A

The document discusses ways to reduce the time needed for repeated strategy backtests. It suggests identifying the data the strategy actually uses and maintaining a buffer of relevant observations as new events arrive. For computationally intensive logic, it…

BacktestingExecutionHigh-frequency trading
Quant Q&A

The document explains why Monte Carlo estimates of a European option price can become less precise as volatility rises. The central point is that the estimate averages simulated payoffs, and its sampling error depends on payoff variance and the number of…

OptionsForexVolatilityStatistics
Quant Q&A

The document asks how to replace close prices with bid and ask prices in a VectorBT signal backtest. Using separate bid and ask observations can represent trade-side prices more realistically than a single close, but the answer says that a convenient…

BacktestingExecutionMarket microstructure
Quant Q&A

The document asks how to estimate the variance of a stratified Monte Carlo estimator using each stratum’s sample sum and sum of squared observations. It compares a variance expression involving stratum probabilities and variances with an algorithm that…

StatisticsBacktesting
Quant Q&A

The document asks whether Monte Carlo option-pricing results from different copula models can be compared when antithetic variates are used only for symmetric copula families. The concern is that the variance-reduction technique may not be applicable to…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document clarifies that a Sharpe ratio calculated from daily returns is a daily estimate, regardless of how many observations were used, and that converting it to a monthly or annual figure depends on the return interval. Under the usual…

StatisticsRisk managementPortfolio constructionBacktesting
Quant Q&A

The document distinguishes the return of an underlying asset from the return series generated by a trading strategy. An asset’s daily price changes describe its buy-and-hold performance, while a strategy’s wealth changes describe the performance an investor…

Risk managementBacktestingStatistics
Quant Q&A

The document surveys algorithmic trading platforms and tools, including hosted research environments, open-source backtesting engines, and locally assembled development stacks. It describes Quantopian and Zipline as Python-centered research and backtesting…

BacktestingExecutionMulti-assetCrypto
Quant Q&A

This discussion examines a simulation inspired by Mark Spitznagel’s account of traders choosing between strategies with different payoff shapes. One strategy offers frequent small gains and rare large losses; the other offers frequent small losses and rare…

StatisticsRisk managementBacktestingPosition sizing
Quant Q&A

The document outlines a proposed automated foreign-exchange strategy built around cointegration and forecasting a spread. Its listed workflow transforms price data into log returns, treats outliers, performs linear regression, tests for cointegration with an…

ForexPairs tradingMean reversionBacktesting
Quant Q&A

The document discusses how to encode intraday trading rules in a genetic algorithm when signals are mostly Boolean conditions. One reply proposes representing entry and exit logic as separate chromosome segments, with genes selecting AND or OR operators…

Machine learningTechnical indicatorsBacktestingRisk management
Quant Q&A

The document surveys empirical approaches for assessing how stock market efficiency changes over time, distinguishing broad market measures from firm-level analysis. For firm-specific questions, it identifies event studies as a common procedure and points to…

EquitiesStatisticsBacktesting
Quant Q&A

The discussion presents several ways to choose autoregressive and moving-average orders for an ARMA model. ACF and PACF patterns can suggest whether the series has an AR or MA component: an MA process tends to show a cutoff in the ACF, while an AR process…

StatisticsBacktesting
Quant Q&A

The document asks how to choose the degrees of freedom for t-tests of mean cumulative abnormal returns (CAR) and mean buy-and-hold abnormal returns (BHAR) across a sample of firms. It gives test-statistic forms that divide each sample mean by its…

Event-drivenStatisticsBacktesting