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

4,613 documents

Deribit Insights

The document describes planned changes to portfolio margin treatment and collateral haircuts. In cross portfolio margin accounts, stETH is placed in ETH’s risk bucket and may offset ETH derivative exposure, with a reduced haircut to account for possible…

CryptoRisk managementPosition sizingPerpetual futures
Deribit Insights

This trade note discusses a bullish setup in Solana after price broke above a cited supply zone and retraced toward a demand area. It proposes a call ratio spread: buy one out-of-the-money call and sell two calls at a higher strike with the same expiry. The…

CryptoOptionsVolatilityPosition sizing
Deribit Insights

The article presents a call ratio spread on Polygon (MATIC) based on a bullish technical view and the launch of the Miden zero-knowledge rollup. The specified position buys one May 31 call at a $0.80 strike and sells three calls at $0.85, for a stated net…

CryptoOptionsPosition sizingRisk management
Deribit Insights

This essay presents trading success as a mix of self-knowledge, disciplined preparation, and risk control. It argues that traders should question assumptions about who can succeed, while recognizing that trading is difficult and can cause serious financial…

Risk managementPosition sizingCrypto
Deribit Insights

This primer explains leverage as position value relative to account equity, then shows how market moves change that ratio: gains can reduce leverage while losses increase it. It stresses that leverage does not determine a trade’s profit or loss; position…

CryptoRisk managementPosition sizingFutures
Deribit Insights

This podcast summary describes a Bitcoin treasury approach discussed by a corporate treasury executive. The approach emphasizes holding Bitcoin and using options around that exposure: buying calls to retain upside participation, while some treasury operators…

CryptoOptionsRisk managementPosition sizing
Deribit Insights

This article explains how USDC-settled linear perpetual contracts differ from inverse contracts that use BTC as collateral. It compares equivalent BTC positions and shows that their dollar profit or loss can match, while the resulting balance is held in…

CryptoPerpetual futuresPosition sizingPairs trading
Galaxy Research

This report examines four publicly traded U.S. companies adopting Ethereum treasury strategies. It describes how they financed ETH purchases through equity offerings, private placements, and asset sales, and compares their holdings, staking activity, and…

CryptoEquitiesDeFiRisk management
Galaxy Research

The document explains why public companies that hold bitcoin can trade at substantial premiums to the value of their BTC per share. It defines the NAV premium and mNAV, then describes how public market access lets these firms raise equity and debt to buy…

CryptoEquitiesSpot marketsPosition sizing
Galaxy Research

This report explains peer-to-peer NFT lending, where borrowers lock NFTs as collateral for ETH loans and accept terms that can include an interest rate, duration, and liquidation threshold. It frames this borrowing as a way for holders to obtain liquidity or…

CryptoDeFiRisk managementPosition sizing
Galaxy Research

The report examines trading and settlement records from Polymarket’s international platform to describe account profitability, responses after wins and losses, position risk, and specialization by market topic. It excludes accounts placing more than 50…

CryptoOn-chain dataStatisticsPosition sizing
QuantInsti blog

The article explains short selling as borrowing an asset, selling it, then buying it back to return to the lender. Its gold illustration and a stock example show how a falling price can create a gain after borrowing costs and transaction charges. It also…

EquitiesExecutionRisk managementPosition sizing
QuantInsti blog

The document explains how the risk-constrained Kelly criterion modifies standard Kelly position sizing. Standard Kelly sizing seeks to maximize long-run log growth using estimated win probability and win/loss payoff, but can lead to prolonged, deep…

Position sizingRisk managementMachine learningEquities
QuantInsti blog

This strategy uses a large language model to set long-only exposure for AAPL according to market states, rather than asking it to predict price direction. Historical price features are discretized into readable states, and monthly statistics for each state…

EquitiesMachine learningRisk managementPosition sizing
QuantInsti blog

The article introduces spread trading as a hedged position that buys and sells related contracts, such as options on the same security with different strikes or expiries, or futures with different delivery months, commodities, or locations. It recommends…

OptionsFuturesCommoditiesRisk management
QuantInsti blog

This profile recounts how Debdutta Bhattacharya moved from directional trading toward searching for opportunities with a statistical edge. He describes learning to think about trades in probabilities, validating methods over time, and using analysis tools,…

StatisticsBacktestingRisk managementPosition sizing
QuantInsti blog

This project describes a framework for classifying market conditions with a Random Forest and adapting capital allocation to the detected regime. It uses historical Nifty 500 data and market breadth features intended to capture cross-stock momentum, trend…

Machine learningEquitiesRisk managementPosition sizing
QuantInsti blog

This project describes a machine-learning system that uses a decision tree to generate binary signals for trading individual stocks. Indicator buy triggers are used as inputs, while indicator sell rules are omitted to keep the model focused; a zero signal…

EquitiesMachine learningBacktestingRisk management
QuantInsti blog

This project describes a daily trend-following strategy for liquid Nifty 50 stocks, taking both long and short positions. MACD and SuperTrend generate directional signals: MACD crossovers can provide quicker entries, while SuperTrend helps identify the…

EquitiesTrend followingTechnical indicatorsBacktesting
QuantInsti blog

The document explains the martingale idea through conditional expectation and a fair coin game, then applies it to trade sizing. A martingale trading approach increases exposure after losses, often by doubling position size, in the hope that a later gain…

EquitiesPosition sizingRisk managementMomentum
QuantInsti blog

This project describes a directional index options strategy that uses NIFTY daily candles and 15-day simple moving averages of highs and lows to generate long call or put signals. Entry rules combine the current candle’s position relative to the averages…

OptionsMomentumTechnical indicatorsPosition sizing
QuantInsti blog

The article presents paper trading as a way to practise buying and selling with virtual funds, evaluate a strategy on live market data, and learn trading platforms before committing capital. It recommends matching simulated account size and positions to…

BacktestingExecutionRisk managementPosition sizing
QuantInsti blog

The article introduces quantitative trading as the use of mathematical and statistical analysis, commonly applied to price and volume data. It describes using tools such as moving averages, ARIMA, exponential smoothing, and neural networks to investigate…

StatisticsBacktestingRisk managementPosition sizing
QuantInsti blog

The document introduces Zipline as an event-driven Python library for running trading algorithms and backtests. It outlines the algorithm structure: an initialization step stores the selected security, while a handler processes each market bar, places…

EquitiesTechnical indicatorsTrend followingBacktesting