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

21,023 documents

Quant Q&A

The document examines whether a short position’s log return can be represented by negating the underlying asset’s log return. For prices at two times, that operation reverses the log price ratio, and summing such increments gives a cumulative change in the…

EquitiesStatisticsRisk management
Quant Q&A

The document compares several proposed ways to calculate the information ratio from daily portfolio and benchmark returns. It explains that the ex post measure uses average active return—the portfolio’s mean return minus the benchmark’s mean return—divided…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document asks whether currency forwards that satisfy SABR dynamics individually will retain that form when combined through an FX triangle. Treating the cross rate as the product of two diffusion processes, the answer derives restrictions from matching…

ForexDerivatives pricingVolatilityStatistics
Quant Q&A

The document examines whether a Hurst exponent above 0.5 can justify shorting crypto futures after prices have fallen. The author estimates the exponent from 1,025 hourly mark-price observations for four Binance trading pairs and reports values around 0.62.…

CryptoFuturesTechnical indicatorsStatistics
Quant Q&A

The document explains why geometric Brownian motion parameters can be confusing: arithmetic returns and log returns are calculated differently, and the same distinction affects how a price process is modeled. A price path that falls and then recovers can…

StatisticsVolatilityBacktesting
Quant Q&A

The document asks how to interpret a return adjustment formula used to determine the market risk measure class for Category 3 PRIIP products under European regulation. The specific uncertainty concerns the risk-neutral and measured expected-return terms, as…

Risk managementStatisticsDerivatives pricing
Quant Q&A

The document questions whether standard GARCH models adequately describe one-minute Bitcoin returns. The sample is characterized by frequent zero returns, low return magnitudes, and apparent microstructure noise; the author also reports that squared…

CryptoVolatilityHigh-frequency tradingMarket microstructure
Quant Q&A

The document maps common financial modeling tasks to Python's scientific and finance ecosystem for someone moving from Matlab. It groups tools by purpose: portfolio optimization and risk analytics, instrument pricing, time series analysis, technical…

Multi-assetPortfolio constructionDerivatives pricingStatistics
Quant Q&A

The document asks how to evaluate predictions of asset returns when matching the sign of each forecast to the realized return matters more than explaining return magnitude. It gives a small example where ordinary least squares has low explanatory power,…

StatisticsMachine learningBacktesting
Quant Q&A

The discussion compares factor-based portfolio construction with mean-variance optimization. Factor models can forecast expected returns and represent covariance risk; portfolio constraints can also control exposure to factors, sectors, or individual…

Portfolio constructionFactor investingRisk managementStatistics
Quant Q&A

The document discusses estimating default probability with the Merton structural credit model from monthly equity returns, a risk-free rate, equity value, and debt face value. It outlines a workflow that converts prices to log returns, estimates return…

Fixed incomeStatisticsRisk managementDerivatives pricing
Quant Q&A

The document investigates why an American call’s market ask price cannot be reconciled with an implied volatility calculation using RQuantLib, while Yahoo Finance reports a volatility estimate. The author compares the market quote with model prices and…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document raises a pairs-trading question about estimating hedge ratios with rolling ordinary least squares on two stocks’ log returns. The author observes that when the stocks have very different share prices, the estimated ratio can still be near zero…

EquitiesPairs tradingStatisticsPosition sizing
Quant Q&A

The document defines a European barrier call whose payoff depends on the asset finishing above the strike and staying above a lower barrier at specified observation times. It asks how to estimate its discounted risk-neutral value by Monte Carlo simulation…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document compares database options for storing large financial tick datasets and aggregating them into open, high, low, and close bars. It reports an initial test in which InfluxDB was slower than MySQL for one-minute bar creation on a dataset of around…

Market microstructureExecutionBacktestingStatistics
Quant Q&A

The document asks how to give one variable more influence when calculating multivariate normal probability densities for observations relative to a specified mean. It describes a four-variable example using an identity covariance matrix, reports density…

StatisticsMachine learning
Quant Q&A

The document considers how subtracting a return average or a benchmark return changes beta, correlation, and covariance calculated from daily log returns. Its answer says that subtracting the same average from each series does not alter these measures.…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document explains why the accrual factor appears when normal swap rate volatility and correlation are mapped into a lognormal volatility parameter in a one-factor CMS model. Define the transformed rate as one plus the accrual factor times the swap rate.…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document considers whether to annualize monthly returns before applying CAPM after estimating a stock’s beta from monthly observations against a market index. Its guidance is to choose the frequency at which the model will be used first, then estimate…

EquitiesStatistics
Quant Q&A

The document frames a question about whether VIX is a martingale when the S&P 500 follows a Gaussian diffusion. It defines squared VIX for a fixed tenor as the risk-neutral expectation of average integrated variance over the tenor. It then applies the…

VolatilityDerivatives pricingStatistics
Quant Q&A

The document derives asset betas relative to a risk parity portfolio from asset volatilities and the correlation matrix. Risk parity is defined here as weights whose products with their respective volatilities are equal, with weights normalized to sum to…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document addresses whether the Sharpe ratio should use discrete returns or continuously compounded returns. Its answer distinguishes the context: discrete returns are customary for client reporting, while the choice generally has little impact in a…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document asks whether the standard deviation of a time series minus its exponential moving average can be determined from the series’ standard deviation and the EMA smoothing parameter alone. The author observes that the residual spread tends toward the…

StatisticsTechnical indicators