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

4,613 documents

Quant Q&A

The document describes a low-sample event-driven allocator that chooses total invested capital and divides it among concurrent signals. Its current approach maximizes worst-case expected log growth over Bayesian-bootstrap return scenarios, subject to…

Event-drivenPosition sizingPortfolio constructionBacktesting
Quant Q&A

The document explains what can happen when a leveraged position loses value and the loss approaches or exceeds the trader's deposited funds. A broker or exchange typically seeks to limit its exposure by requiring additional funds or closing positions, often…

CryptoRisk managementPosition sizing
Quant Q&A

The document asks how to divide capital between the long and short legs of a pairs trade and whether using a hedge ratio implies equal dollar allocations. Its answer explains that the appropriate split depends on which exposures a trader wants the portfolio…

Pairs tradingEquitiesRisk managementPosition sizing
Quant Q&A

The document explains how to choose a futures contract to hedge a commodity exposure, using natural gas as an example. It distinguishes next-day spot from near-term delivery positions: a longer-dated future may be a poor hedge for immediate spot exposure,…

CommoditiesFuturesRisk managementPosition sizing
Quant Q&A

The document considers how retail traders might manage long-term short gamma and vega positions when broker margin can rise during volatility shocks. It describes a proposed setup based on medium- or long-dated implied-volatility skew, using a vertical…

OptionsVolatilityRisk managementPosition sizing
Quant Q&A

The document explains how a treasurer can use Eurodollar futures to hedge the interest-rate exposure of a planned commercial paper issue. With the futures price implying an annual rate of eight percent, the answer converts that rate to a quarterly interest…

FuturesFixed incomePosition sizingRisk management
Quant Q&A

The document weighs whether stop losses belong in quantitative trading systems. One argument against them is that a position decision should respond to current forecasts and costs, rather than depend mechanically on the entry price. However, realized losses…

Risk managementBacktestingExecutionPosition sizing
Quant Q&A

This discussion presents a finite-horizon optimal stopping problem using a shuffled deck with equal numbers of red and black cards. A red card adds to the player’s payoff and a black card subtracts from it. The state is represented by the counts of each…

StatisticsRisk managementPosition sizing
Quant Q&A

The document asks how to convert portfolio weights into capital allocations, contrasting a long-only formula with a long-short set of weights. One answer explains that weights whose positive and negative components are large can have a net exposure near the…

Portfolio constructionPosition sizingRisk managementEquities
Quant Q&A

The document considers how to handle deposits, withdrawals, ownership shares, and fees when several investors contribute to an account used for covered call selling on FX spot options. One response suggests managed accounts through a broker or routing the…

OptionsForexPosition sizingRisk management
Quant Q&A

The document examines whether a strategy with an apparently strong Sharpe ratio and low drawdown can safely be scaled with borrowed capital. Its answers identify several ways this reasoning can fail: market regimes may change, losses can become more…

Risk managementPosition sizingBacktestingExecution
Quant Q&A

The document explains how to estimate risk-adjusted performance for a strategy that may make several trades in a day, with trades lasting different amounts of time. It cautions against treating each trade as an equal time interval for Sharpe calculation,…

StatisticsBacktestingRisk managementPosition sizing
Quant Q&A

The document presents a portfolio optimization problem in which trades should either be zero or exceed a chosen minimum absolute size. The proposed objective combines active risk with a turnover penalty, while portfolio weights and auxiliary buy and sell…

Portfolio constructionPosition sizingMachine learning
Quant Q&A

The document examines how cointegration residuals can generate pairs trading signals and why equal dollar positions do not guarantee a profitable convergence trade. The questioner estimates a linear relation between two asset prices with an intercept, then…

Pairs tradingStatisticsPosition sizingBacktesting
Quant Q&A

The document considers how to size long and short forex trades when an account is denominated in US dollars and the trader wants to allocate the full balance. It works through direct pairs such as USD/JPY and EUR/USD, and cross pairs such as EUR/JPY,…

ForexPosition sizingExecution
Quant Q&A

The document explains how to assess carry and size the legs of a 10-year/20-year interest-rate swap steepener. The position receives fixed on the shorter swap and pays fixed on the longer one. For a swap against a six-month floating index, the example…

Fixed incomeCarryDerivatives pricingRisk management
Quant Q&A

The document derives how an investor’s wealth changes when a fraction is allocated to a risky asset following geometric Brownian motion and the remainder earns a risk-free rate. Applying Ito’s lemma transforms the wealth process into a stochastic process for…

StatisticsPosition sizingPortfolio constructionRisk management
Quant Q&A

The document asks how to select trading and portfolio rules used in a backtest for indicators built with machine learning. The parameters include position size at different signal strengths, allocation per trade, selling rules, and whether to use a stop…

BacktestingMachine learningRisk managementPosition sizing
Bitget Academy

The article explains short selling as selling a borrowed crypto asset and later buying it back, with a profit when the repurchase price is lower than the sale price, before fees. A Bitcoin example illustrates the price-difference calculation. It also…

CryptoFuturesRisk managementPosition sizing
Bitget Academy

The document explains how CFD copy trading can expose followers to losses even when they mirror an experienced trader. It describes fixed-ratio and fixed-lot copying, noting that copied positions may differ in size and execution and that the leader’s limit…

Risk managementPosition sizingForexCommodities
Bitget Academy

The document describes a spot auto-invest feature for rTokens, which it presents as tokenized U.S. stock products backed by underlying shares held in reserve. Users choose supported stock-token pairs, an investment amount, and a recurring schedule such as…

EquitiesSpot marketsPosition sizingExecution
Bitget Academy

The document compares ARKK, ARKG, ARKQ, and ARKF by their thematic mandates, sector exposures, volatility, and portfolio risks. It describes ARKK as a broad innovation fund, ARKG as genomics focused, ARKQ as centered on automation and related industries, and…

EquitiesVolatilityPortfolio constructionPosition sizing
OKX Learn

The document explains SOL staking as delegating or locking tokens to support network validation in exchange for rewards. It connects a high staking share and large institutional stakes with a smaller liquid supply, suggesting that reduced liquidity could…

CryptoRisk managementPosition sizingSentiment