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

20,364 documents

Quant Q&A

The document explains why converting an FX option delta into a strike requires the market’s quoting conventions and the correct definition of at-the-money. In the example, the pair uses unadjusted deltas, and the at-the-money strike is delta-neutral: the…

ForexOptionsDerivatives pricingVolatility
Quant Q&A

The document addresses the expected value of an asset's time average when the price follows geometric Brownian motion, in the context of arithmetic Asian option pricing. The response derives the risk-neutral expected asset price at each future time as its…

OptionsDerivatives pricingStatistics
Quant Q&A

The document clarifies how group constraints differ from general linear inequality constraints in portfolio optimization. Both can express limits on a weighted sum of asset positions. A group constraint is a specialized case in which every included asset has…

Portfolio constructionRisk management
Quant Q&A

The document explains how to obtain one-step-ahead conditional mean and volatility forecasts across a time series after fitting an sGARCH model with rugarch. A standard call to the forecast function returns a forecast at the end of the fitted sample, which…

VolatilityStatisticsBacktesting
Quant Q&A

The document compares answers about downloading Bloomberg data through Excel and APIs, focusing on how request limits may apply and what can happen when they are reached. One explanation says limits count requests by ticker rather than by the number of…

ExecutionMarket microstructure
Quant Q&A

The document describes a continuous futures series built by adding a cumulative roll adjustment to settlement prices and applying the contract multiplier. With this additive adjustment, the resulting notional can become negative even when the underlying…

FuturesCommoditiesStatisticsBacktesting
Quant Q&A

The document poses a portfolio-weighting problem: combine the returns of several models so that the resulting portfolio has as many positive periods as possible. Its objective is the fraction of periods in which the weighted sum of model returns exceeds…

Portfolio constructionStatistics
Quant Q&A

The document considers an asset-backed security with a long legal maturity and an earlier anticipated repayment date. Missing that date triggers a higher interest rate and a full cash sweep. It asks how to interpret those terms when valuing the debt,…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document describes estimating a risk-neutral density as a weighted mixture of normal kernels centered on a strike grid. The weights are constrained to be nonnegative and sum to one, and are fitted to observed put prices by minimizing pricing errors. It…

OptionsDerivatives pricingStatistics
Quant Q&A

The document sketches how to construct spot discount factors from short-term deposit rates and a one-year swap rate. For deposits, it uses simple interest with the stated day-count fractions to convert each quoted rate into a discount factor. It then takes…

Fixed incomeStatistics
Quant Q&A

The document offers career-development advice to a mathematics PhD with derivatives valuation experience who wants demonstrable C++ work implementing financial models. The answer suggests exploring public repositories focused on topics such as option pricing…

Derivatives pricingOptionsMachine learning
Quant Q&A

The document addresses how to turn daily closing prices for several stocks into quarterly returns in R. The proposed approach is to store the price series together, then apply the quarterly-return function to each series through a list operation. The…

EquitiesStatistics
Quant Q&A

The note asks how power-law distributed pauses would change the first-passage-time density of Brownian motion with drift. It frames the process as motion that advances according to a drifted Brownian model but intermittently waits, and proposes convolving…

StatisticsVolatility
Quant Q&A

The note proposes a market-mechanics hypothesis about how options open interest could relate to underlying price moves. It suggests that large put positions might behave like support and large call positions like resistance, and that some short option…

OptionsDerivatives pricingMarket microstructure
Quant Q&A

The note explains why quoted bid-ask spreads matter for investor transaction costs and why they do not capture every trade price. Trades can occur inside the displayed spread when another venue posts different prices, or when orders meet between the bid and…

Market microstructureExecutionEquitiesUS markets
Quant Q&A

This note motivates bivariate time-series models for quarterly stock returns and dividends. It highlights features a model may need to capture: managers have discretion over payouts, dividends tend to remain stable or rise modestly, and cuts are often…

EquitiesOptionsDerivatives pricingStatistics
Quant Q&A

The document asks how to interpret the Kraken XBT-USD order book when estimating how many price levels are needed to trade a specified amount. It distinguishes asks from bids, asks which currency the displayed volume uses, and raises the problem of trading…

CryptoExecutionMarket microstructureStatistics
Quant Q&A

The document considers an exchange-traded product combining a butterfly payoff with a double no-touch condition: the payoff follows a butterfly profile if the underlying stays between two barriers until maturity, and becomes zero if either barrier is…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks why a fixed coupon bond appears to trade near its face value as maturity approaches, even though discounting its final principal and coupon at the stated coupon rate seems to imply a price above par. It sets out a three-year par bond…

Fixed incomeStatistics
Quant Q&A

The document explains a leveraged ETF structure using an unleveraged basket plus a total return swap (TRS). The fund holds index exposure directly and receives additional index returns through the swap, while paying the dealer a financing rate such as LIBOR…

EquitiesDerivatives pricingRisk management
Quant Q&A

The document asks for an authoritative citation for the definition of return on investment when writing a paper. The response does not state a formula or compare competing definitions; it points instead to corporate finance and investment textbooks as…

Statistics
Quant Q&A

The document addresses poor Monte Carlo pricing accuracy for deep out-of-the-money options under a stochastic volatility model. The question focuses on Euler simulation of the Heston process and asks whether importance sampling can reduce variance and speed…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The discussion examines option price changes near expiration that appear larger than delta and theta alone would suggest. It explains that gamma exposure is most pronounced near at-the-money strikes and presents gamma scalping as a way to manage a long gamma…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document describes how to turn a piecewise linear profit-and-loss graph at expiration into a portfolio of calls, puts, and possibly cash or the underlying. It proposes placing option strikes at the graph’s breakpoints, then solving a linear system whose…

OptionsDerivatives pricingPortfolio construction