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

20,364 documents

Quant Q&A

The document contrasts a funded equity collar with a margin loan used to build a stock position. In the collar, the client buys a put and sells a call to a bank; the bank may hedge its resulting exposure by borrowing and selling shares. A margin loan instead…

EquitiesOptionsRisk managementDerivatives pricing
Quant Q&A

The document compares smoothing based on moving averages with two outlier detection approaches: global winsorization and local outlier factor analysis. Winsorization caps values at selected distribution quantiles, while a local method can flag unusual…

StatisticsBacktestingRisk management
Quant Q&A

The document discusses a binomial no-arbitrage argument for pricing an option. A portfolio holds one option and shorts a quantity of the underlying chosen to offset the difference between the option values in the up and down states. If that hedge makes the…

OptionsDerivatives pricingStatistics
Quant Q&A

The example considers a position short August puts, long August calls at a higher strike, and short futures. Its initial net delta, gamma, and vega are reported as slightly negative or close to zero. The question asks why the answer key says all three become…

OptionsFuturesDerivatives pricing
Quant Q&A

The question asks how to sketch second-order Greek profiles for a European vanilla payoff, such as a butterfly, without computing a full profile. It is concerned with how Greeks vary as spot or volatility changes, including vanna, vomma, and the changes in…

OptionsDerivatives pricingVolatility
Quant Q&A

The discussion describes several ways traders apply the Kelly criterion, while questioning how well its assumptions fit real trading. One approach links Kelly sizing to volatility targeting: expected return divided by a chosen Sharpe ratio sets a volatility…

Position sizingRisk managementBacktesting
Quant Q&A

The document examines the difference between an approximate daily P&L formula for a delta-hedged option and P&L calculated from changes in option and stock values. One response explains that the gamma-and-volatility expression gives an average P&L, so it…

OptionsVolatilityRisk management
Quant Q&A

The document raises a practical fixed-income curve-construction problem: bootstrapping forward rates from on-the-run Treasury securities when their coupon dates do not align. It describes a proposed workflow that bootstraps forwards and then applies…

Fixed incomeUS marketsStatistics
Quant Q&A

The document asks how to find the expectation of the product of two integrals of standard Brownian motion over the unit interval, one weighted by time squared. The response evaluates the product as a double integral and moves the expectation inside the…

Statistics
Quant Q&A

The document considers a two-step factor analysis: estimate factor returns from cross-sectional stock-return regressions on firm characteristics, then regress individual stock returns on those estimated returns. It describes this as resembling a reversal of…

Factor investingEquitiesStatistics
Quant Q&A

The document explains how to account for inflation when calculating an internal rate of return. Its method is to build a price index from the inflation rate, convert each cash flow into real terms by deflating it with the corresponding index, and then…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document describes difficulties implementing Black-Litterman with analyst-consensus views. The author reports portfolio weights that become negative or exceed the full portfolio allocation, as well as returns below a market-weighted benchmark. In one…

Portfolio constructionEquitiesRisk managementBacktesting
Quant Q&A

The document asks why a study of a two-factor Double Heston model calibrates against option-market observations from many Wednesdays across a year, rather than conducting a separate calibration for each date. It contrasts that setup with research using…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document examines a static hedge for two short calls with the same strike but different expirations, using one call whose expiration falls between theirs. The example shows that matching total notional does not keep the hedge balanced over time: the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document describes how to estimate a foreign-exchange risk-neutral density from vanilla option data, in the context of comparing the distribution for GBP/EUR around two historical dates. The required inputs include option prices across strikes and…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document considers an arithmetic Brownian motion with constant volatility and asks how often it is expected to move a fixed distance from its current level, resetting the reference band after each crossing. The question is framed in terms of repeated…

StatisticsVolatilityDerivatives pricingRisk management
Quant Q&A

The document raises the hypothesis that trend-following strategies may perform better in low-volatility conditions and asks how a trader might switch between trend and range-bound approaches. It defines volatility as the standard deviation of the price rate…

VolatilityTrend followingMean reversionTechnical indicators
Quant Q&A

The document explains that R-squared can be calculated for a robust linear regression, but its interpretation depends on how the fit statistic is defined. The conventional measure compares the sum of squared residuals with the total variation around the…

Statistics
Quant Q&A

The document connects the fundamental theorem of asset pricing to a one-period binomial tree. Choose the probability of an up move so that the stock price discounted by the bond is a martingale under the resulting measure. Solving this condition gives the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document describes how practitioners can approximate a digital option using a narrow call spread around its strike. Buying the lower-strike call and selling the upper-strike call creates a payoff concentrated between the strikes; as the gap narrows, the…

OptionsDerivatives pricingVolatilityExecution
Quant Q&A

The document explains a model-based route for estimating a European option’s value when its American counterpart is quoted. First, specify assumptions for the underlying’s risk-neutral dynamics, such as a diffusion or jump-diffusion model. Then select a…

OptionsDerivatives pricing
Quant Q&A

The document considers why traders might choose American-style options, which allow exercise before expiry, over European-style contracts, which can be exercised only at expiry. It gives a proposed benefit for a short-dated option: exercising when the…

OptionsEquities
Quant Q&A

The document examines why the six-month point on a market-calibrated swap curve can differ from the published six-month LIBOR fixing. The explanation distinguishes the fixing from the market deposit rate used to calibrate the curve. A deposit instrument…

Fixed incomeFuturesStatistics
Quant Q&A

The document explains why commodity options commonly reference futures or forwards rather than spot prices. Futures can offer liquid, standardized contracts with established price discovery and settlement conventions, making them practical underlyings for…

CommoditiesOptionsFuturesVolatility