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
WonderTrader
14 documents
Alphalens
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 to construct a forward swap rate from discount factors or forward Libor rates, then connect it to swaption valuation. It derives the swap rate as the ratio of the swap’s floating-leg value to its fixed-leg annuity. Given Libor…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document outlines pricing approaches for derivatives with general payoff functions under European, American, and perpetual exercise rules. For European claims, it gives the risk-neutral discounted expected payoff and explains that a specified underlying…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document examines a claim from the Longstaff–Schwartz interest-rate model that the short rate, expressed as a weighted sum of two factors, is positively correlated with the variance factor. The answer reduces the problem to the sign of the covariance,…

Fixed incomeStatistics
Quant Q&A

The document surveys research and practical ideas for using news, blogs, social media, and company reports to forecast equity returns or other financial variables. It describes vendor sentiment scores and studies that apply nonlinear models, including trees,…

EquitiesSentimentMachine learningEvent-driven
Quant Q&A

The document applies the Kelly betting formula to historical results from selling option spreads and asks whether a calculated allocation of about 20% of capital is too high. The response explains that Kelly is aggressive and assumes a well-specified bet…

OptionsPosition sizingRisk managementStatistics
Quant Q&A

The document describes a Monte Carlo setup for studying the profit and loss of a long out-of-the-money call that is delta hedged over time. The option is purchased using the volatility assumed at inception, while simulated underlying price paths reflect the…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document interprets carry on a short long-dated Treasury position by connecting the current yield with the yield implied for a shorter-maturity bond at a future date. It explains negative carry as a drag that must be offset by a favorable market move for…

Fixed incomeCarry
Quant Q&A

The document explains how to price a derivative by matching its payoffs across possible future states. In a three-state example, a stock, a risk-free bond, and a traded option provide three payoff patterns. The unknown option is replicated by solving one…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document considers whether Interactive Brokers data can be fetched directly by a hosted web application when its API requires Trader Workstation or IB Gateway to run as a separate executable. The responses argue that continuously collecting live or tick…

ExecutionMarket microstructureHigh-frequency trading
Quant Q&A

The document explains why the first principal component of a stock return covariance or correlation matrix is sometimes used as a proxy for a market factor. PCA finds the direction that accounts for the greatest cross-sectional variation. When the first…

EquitiesStatisticsFactor investingPortfolio construction
Quant Q&A

The document outlines practical challenges for a firm moving from vendor-provided end-of-day data to live feeds from exchanges. Direct access means handling exchange-specific formats and APIs, building and maintaining parsers, and arranging network…

Fixed incomeFuturesOptionsMarket microstructure
Quant Q&A

The document asks whether returns that are highly skewed or fat-tailed over short intervals become more normal when compounded over a longer period. It describes an example of accumulating weekly yields across a year and observes that, when yields are…

OptionsStatisticsRisk management
Quant Q&A

The document presents a proposed mean-variance portfolio optimization using residual covariance from a diagonal model. Its constraints set a target expected return, require the portfolio weights to sum to one, impose a beta-related condition, and specify a…

Portfolio constructionEquitiesStatisticsRisk management
Quant Q&A

The document examines how to determine the annual day-count denominator for the Norwegian overnight index NOWA. Its quoted definition bases the nominal annual rate on the actual number of days in the year ahead from the fixing date, using 365 or 366 days,…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why an inverted yield curve is often viewed as a warning about economic weakness. Under expectations-based accounts, long-term rates reflect expected future short rates; an inversion can therefore indicate that markets anticipate rate…

Fixed incomeUS marketsStatisticsRisk management
Quant Q&A

The document raises a question about what option open interest represents across different stocks. For small-cap options, the author sees open interest mainly as a sign of liquidity. For highly traded large-cap names, where liquidity may be less limiting,…

OptionsEquitiesStatistics
Quant Q&A

The document considers how to express portfolio performance as a percentage when daily trading PnL and exposure are available but beginning and ending account asset values are not. It highlights that exposure may change because of accumulated PnL, yet cash…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

The document clarifies what an implied volatility function calibrated to vanilla options can and cannot establish. If the model is recalibrated to match vanilla option prices across strikes and maturities, it reproduces the risk-neutral distribution of the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains implied correlation as a measure of how closely investors expect the assets in an index or portfolio to move together. It distinguishes correlation indices, which can be calculated from index and constituent options, from correlation…

OptionsEquitiesVolatilitySentiment
Quant Q&A

The explanation separates coupon-date schedule construction from day-count calculation in QuantLib. A schedule defines dates according to the effective date, maturity, interval, calendar, business-day convention, and date-generation rule. A day-count…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The discussion considers a bond where the holder’s put and the issuer’s call are available on the same date at the same price. The response says such structures are relatively common, including in convertible bonds, and that the shared exercise date can…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The discussion clarifies why dollar gamma is intended to measure convexity exposure rather than every change in the dollar value of delta. For a small spot move, the change in the number of delta shares is multiplied by the starting spot to express the hedge…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The discussion explains why a trading desk’s non-stationary daily P&L does not by itself prove that next year’s P&L is unpredictable. A desk’s P&L may reflect strategies and exposures that differ from the return stream of an investible asset, so…

StatisticsMarket makingVolatilityMachine learning