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 asks how to derive the bid for CAD/CHF from USD/CAD and USD/CHF quotes. It compares a textbook formula, which divides the USD/CHF ask by the USD/CAD bid, with an alternative based on multiplying the USD/CHF bid by the reciprocal of the USD/CAD…

ForexMarket microstructure
Quant Q&A

The document notes that market depth has no single official quantitative definition and proposes measuring it through the cost of immediately buying and selling a specified quantity, given the order book at a particular time. This cost varies with both the…

Market microstructureExecutionStatistics
Quant Q&A

The document explains translation invariance for a risk measure: adding a constant amount to a profit-and-loss position reduces its VaR by that amount. For a continuous P&L distribution, VaR is expressed as the negative of a lower-tail quantile, so shifting…

Risk managementStatistics
Quant Q&A

Realized variance is an estimate of intraday variation, not by itself a model for forecasting volatility across days. To forecast future volatility, a model must specify how information from realized measures relates over time. The document describes…

VolatilityStatisticsHigh-frequency tradingRisk management
Quant Q&A

The document discusses how to infer implied volatility from an option’s bid and ask prices. It compares averaging the prices before solving for implied volatility with solving for each quote’s implied volatility and averaging those values. Although the…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document raises a conceptual question about the one-factor and multi-factor Hull-White interest rate models. The author understands that the one-factor model has limited ability to represent yield-curve movements, and asks which parameters govern a curve…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to express a receiver interest rate swap as a sequence of forward rate agreements. It starts from the swap’s discounted fixed-minus-floating cash flows, then compares those payments with forward-rate terms based on discount factors. The…

Fixed incomeDerivatives pricingFuturesRisk management
Quant Q&A

The document poses a valuation problem for a software investment whose daily revenues depend on an exchange rate and whose costs depend on a commodity price. The proposed simulation models both underlying prices as geometric Brownian motions estimated from…

OptionsCommoditiesForexDerivatives pricing
Quant Q&A

The document explains why testing the CAPM by regressing individual stocks’ realized excess returns on estimated betas can produce a very low R-squared. Low fit does not by itself show the model is false: CAPM does not predict a particular R-squared, and a…

EquitiesStatisticsFactor investingPortfolio construction
Quant Q&A

The document compares two ways to describe a hedge fund or portfolio’s performance. Cumulative return measures the change in value over a chosen period, while the Sharpe ratio relates returns to the variability of returns, giving a risk-adjusted view. The…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document considers whether a swap must be hedged with another derivative or can instead be hedged using cash products such as equities or foreign exchange. Its answer is contract dependent: the key issue is whether the swap’s underlying exposures…

Derivatives pricingRisk managementFixed income
Quant Q&A

The document explains the terminal value of a forward contract that requires its holder to buy one share for a fixed cash price at a specified date. At maturity, the holder receives a share worth the prevailing stock price and pays the contracted amount, so…

Derivatives pricingEquitiesOptions
Quant Q&A

The document asks how to interpret a model-independent representation of a twice-differentiable payoff as a combination of terms involving the payoff and its derivative at zero, the underlying stock, and an integral of calls across strikes. The questioner…

OptionsEquitiesDerivatives pricing
Quant Q&A

The document asks how to read derivative notation in conditions from a theorem on arbitrage-free SVI volatility surfaces. One condition uses a time derivative of a parameter and requires it to be nonnegative. Another bounds the derivative with respect to…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document presents a question about deriving the dynamics of a process defined as the exponential of a stochastic integral and a quadratic-variation adjustment. The process is parameterized by an integrand and a driving process, in the setting of an…

StatisticsDerivatives pricing
Quant Q&A

The document asks how to choose the risk-free rate when calculating a Sharpe ratio over a period in which daily annualized returns and their average and volatility are known. It questions whether using the average one-year Treasury yield over that period is…

Risk managementStatisticsFixed income
Quant Q&A

The document examines whether scaling a risky portfolio by the ratio of a target volatility to estimated volatility guarantees that realized portfolio volatility converges to the target. The answer first shows that, if next-period conditional volatility were…

VolatilityRisk managementPosition sizingStatistics
Quant Q&A

The document raises a boundary-condition question about using a finite element method to price an up-and-out call. It refers to an appendix that demonstrates the method for a straddle and focuses on a boundary vector containing the difference between option…

OptionsDerivatives pricing
Quant Q&A

The document asks whether the expected payoff of a multi-leg option position, such as a spread or condor, equals the sum of the expected payoffs of its individual options. It represents each leg’s payoff as a function of the same market value at expiration…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document reports a proposed intraday pattern in Nike (NKE) NYSE trade data. It compares each day’s highest trade price from 15:06 to 15:11 with the highest trade price from 15:36 to 15:41, asking whether the later interval tends to show a specified…

EquitiesStatisticsUS markets
Quant Q&A

The document presents a question about the relationship between a long call butterfly and a short iron butterfly. It gives a four-option position consisting of a long lower-strike put, short middle-strike put and call, and long upper-strike call, then…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion separates a stock-price model from the martingale condition. A Brownian-motion-based model can include drift under real-world probabilities; having nonzero drift does not mean the process ceases to be Brownian motion. The first answer connects…

EquitiesOptionsDerivatives pricingStatistics
Quant Q&A

The discussion addresses why an Alpha Vantage intraday query may work for US listings but fail for Indian exchange symbols. One answer describes uncertainty around the provider's underlying sources and exchange coverage, noting that US data was linked to IEX…

EquitiesExecutionMarket microstructure
Quant Q&A

The document outlines how Lévy processes can model log stock prices through exponential Lévy models. It explains that these processes combine drift, diffusion, and jumps, and distinguishes finite-activity jump models from models with infinitely many jumps.…

EquitiesOptionsVolatilityDerivatives pricing