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

20,364 documents

Quant Q&A

The document explains how risk-neutral probabilities in a binomial valuation tree are tied to the asset's forward price. For a stock with continuous dividend yield, the expected next-step stock price under the risk-neutral measure should equal the forward…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document seeks practical examples of spreadsheet and database applications used on trading desks or in bank middle offices, particularly to prepare for interviews. Responses point to several kinds of learning material: QuantLib as a source of tested…

OptionsFixed incomeBacktesting
Quant Q&A

The document asks where to obtain tick-level data for OTCQX and OTCQB securities, noting that the researcher has found end-of-day data but needs intraday observations. It also asks about collecting data independently and the practical issues involved, such…

EquitiesUS marketsMarket microstructure
Quant Q&A

This discussion explains why changing QuantLib’s evaluation date does not necessarily move the reference date of a discount curve built directly from a fixed set of dates and rates. It outlines two ways to construct a curve when a different reference date is…

Fixed incomeDerivatives pricing
Quant Q&A

The discussion addresses how to keep a portfolio’s normalized value continuous when holdings are added or sold. Simply summing each stock’s normalized value using current portfolio weights can create an artificial jump at a trade, obscuring gains accumulated…

EquitiesPortfolio constructionRisk management
Quant Q&A

The document presents a Python and QuantLib problem: a dividend-paying American option returns zero for its net present value and Greeks despite inputs that should produce nonzero values. The code builds an American exercise option, supplies discrete…

OptionsDerivatives pricingMachine learningStatistics
Quant Q&A

The response addresses the difficulty of selling an out-of-the-money monthly call or put after its trading volume falls and its bid-ask spread widens. A theoretical price from Black-Scholes does not ensure that a buyer is available at that price, so a sell…

OptionsExecutionRisk managementDerivatives pricing
Quant Q&A

The document explains two roles for volume-weighted average price (VWAP). First, institutions can compare their completed buy and sell executions with a stock’s VWAP for the same date. Separating buys from sells provides an execution benchmark: average…

ExecutionMarket microstructureEquities
Quant Q&A

The response describes Markowitz mean-variance optimization as a model that remains in use because its logic is familiar and easy to explain, while its sensitivity to forecast assumptions is widely recognized. It compares extreme portfolio weights caused by…

Portfolio constructionRisk managementMulti-assetStatistics
Quant Q&A

The question asks to show that a tangency portfolio does not exist when the risk-free rate equals the expected return of the global minimum variance portfolio. One algebraic answer defines standard covariance-matrix quantities and assumes a solution to the…

Portfolio constructionStatisticsRisk management
Quant Q&A

The question asks why an asset should be added when its Sharpe ratio exceeds the existing portfolio’s Sharpe ratio multiplied by the asset’s correlation with that portfolio. One answer expresses portfolio Sharpe as a weighted combination of asset Sharpe…

Portfolio constructionRisk managementStatistics
Quant Q&A

The question asks how to simulate the next price in a geometric mean-reverting model from the previous price, elapsed time, drift, reversion speed, volatility, and a standard normal draw. The accepted answer gives a discrete transition: evolve the log price…

Mean reversionVolatilityStatistics
Quant Q&A

The document surveys possible sources for company credit ratings and related credit information. It distinguishes rating data from yield data associated with a rating: the cited FRED series is offered as a source for yields, while corporate ratings and…

Fixed income
Quant Q&A

The document explores how FX forward points and a known foreign interest-rate curve might be used to infer domestic forward rates. It illustrates the setup with EUR/USD, starting from a spot quote and forward points for several settlement dates, then relates…

ForexDerivatives pricing
Quant Q&A

The document describes a performance problem encountered while simulating a swaption strategy in Python with QuantLib. Updating the global evaluation date is initially quick, but repeated changes make the operation take much longer. The response attributes…

OptionsDerivatives pricing
Quant Q&A

The document asks whether predicting limit order cancellations has academic or practical value, including for exchange surveillance, spoofing detection, and high-frequency trading. The response emphasizes that spoofing is difficult to define and prove: an…

FuturesMarket microstructureHigh-frequency tradingExecution
Quant Q&A

The document considers how a scalper or market maker with limited capacity should choose equities from a larger exchange universe. The proposed first-pass ranking uses expected spread revenue, represented by trading volume multiplied by bid–ask spread. The…

EquitiesMarket makingMarket microstructureRisk management
Quant Q&A

The document describes an attempt to price calls and puts with Black–Scholes using historical volatility. Prices near the underlying stock price appear close to observed prices, while estimates farther away diverge. The author calculates implied volatility…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks whether adjoint automatic differentiation (AAD) can estimate sensitivities when a pricing payoff has a nondifferentiable point, such as a range accrual payoff. It outlines approaches discussed in research: differentiate the recurrence in a…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains an approximate way to relate the duration of a call option on a fixed-income instrument to the duration of the underlying bond. It scales the bond’s duration by the option’s elasticity, calculated from the option delta, underlying…

OptionsFixed incomeDerivatives pricingRisk management
Quant Q&A

The document discusses a textbook claim that an arbitrage-free general binomial model is complete, meaning contingent claims can be replicated by portfolios. The question focuses on the proof’s linear equations and on why the up and down factors must differ.…

Derivatives pricingArbitrageStatistics
Quant Q&A

The document explains that an FX swap carries interest rate exposure because its cash flows can be viewed as borrowing in one currency and lending in another. Changes in rates in the two currencies can alter the value of the locked-in funding terms, so the…

ForexFixed incomeDerivatives pricingArbitrage
Quant Q&A

The document distinguishes two claims that are often treated as if one automatically proves the other: that investors hold the same tangency portfolio among risky assets, and that this portfolio is the market portfolio. In the mean–variance framework,…

Portfolio constructionStatisticsEquities
Quant Q&A

The document explains why dates supplied to QuantLib’s futures rate helpers may not appear as nodes in a bootstrapped yield curve. A futures contract provides a forward rate for an accrual period, so its start date is not the tenor date inferred by the…

FuturesFixed incomeBacktesting