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

arXiv papers

This paper formulates an insurer’s joint reinsurance and dividend decisions as a stochastic control problem. The risk process is Brownian, with drift and volatility changing through endogenous regime switching. Dividend payments incur fixed transaction…

Risk managementStatisticsPosition sizing
arXiv papers

This study formulates portfolio trading as a Markov decision process and trains an agent with deep Q-learning to choose allocations across multiple assets. Its action space is discrete and combinatorial: for each asset, the agent selects a trading direction…

Machine learningPortfolio constructionBacktestingPosition sizing
arXiv papers

The document presents AutoQuant, a rule-based decision-support framework for selecting trading configurations in cryptocurrency perpetual futures. It makes execution timing, funding treatment, fees, slippage, and feasibility requirements explicit, then uses…

CryptoPerpetual futuresBacktestingExecution
arXiv papers

This paper designs a spouse-protected tontine for household retirement income. A first death changes the household’s status without triggering a transfer from the pool; the account stays with the contract and can fund a spouse-only continuation if the…

Risk managementPosition sizingPortfolio constructionMachine learning
arXiv papers

The document derives how the continuous-time Kelly fraction changes when an asset’s long-run price follows a power law and its return variance declines over time. With zero risk-free return, the allocation depends on the growth exponent, the volatility…

CryptoPosition sizingVolatilityStatistics
arXiv papers

The document presents a federated learning approach for estimating borrower income when lenders cannot combine raw applicant records. Institutions train a shared model while keeping data local. Its evaluation simulates a consortium of state-based clients…

Machine learningStatisticsRisk managementPosition sizing
arXiv papers

This study tests a gold futures strategy built from smoothed trend and momentum state variables. A rolling walk-forward process trains on a decade of data and tests on successive six-month periods across 2015–2025. The signal is translated into positions…

FuturesCommoditiesTrend followingMomentum
arXiv papers

The document describes a computational approach for a trader seeking portfolio wealth outcomes that satisfy a convex risk measure. The proposed black-box method takes the joint distribution of stock prices and the chosen risk measure as inputs, then…

Risk managementPortfolio constructionPosition sizing
arXiv papers

This document studies how to manage positions across several mean-reverting assets, including whether an asset with no mean reversion can still belong in the portfolio. It formulates position management as an optimal control problem for an investor with…

Mean reversionMulti-assetPortfolio constructionPosition sizing
arXiv papers

This paper studies Bertram’s optimal strategy for a pair of cointegrated assets whose price difference follows an Ornstein–Uhlenbeck process. The baseline objective is to maximize expected profit per unit time. The authors generalize the setup by…

Pairs tradingMean reversionRisk managementStatistics
arXiv papers

This study applies deep reinforcement learning to continuous futures trading, examining both discrete and continuous action spaces. It incorporates volatility scaling into reward functions so that position sizes respond to market volatility. The algorithms…

FuturesMachine learningPosition sizingBacktesting
arXiv papers

This study presents a historical-data-based deep learning framework for systematic options trading that incorporates portfolio risk sensitivities directly into training. Its objective combines a performance-oriented loss with a differentiable penalty for…

OptionsMachine learningRisk managementPosition sizing
Quantpedia

The document explains time series momentum as a strategy that uses each instrument’s own past return, rather than ranking assets against one another. Its central signal is the sign of the prior 12-month excess return: go long when positive and short when…

FuturesMomentumTrend followingPosition sizing
Quantpedia

The document explains how investors with limited capital can implement equity momentum without holding hundreds of stocks. Its example ranks UK-listed companies by their returns over the prior 12 months, excludes the smallest quarter of firms for liquidity,…

EquitiesMomentumTrend followingPosition sizing
Strategy library

This trend-following approach compares three moving averages, typically ordered from a shorter to a longer lookback. A selected pair crossing can trigger a market entry; the description allows trading the first average against either or both longer averages.…

FuturesTrend followingTechnical indicatorsRisk management
TradingView scripts

This strategy combines crossovers between Hann-filtered price series with market-structure signals. It tracks swing highs and lows, flags breaks of those levels, and uses a structural trend state to avoid entries against a confirmed direction. An ADX range…

Trend followingTechnical indicatorsPosition sizingRisk management
Systematic trading blog (Rob Carver)

This opening installment considers how a trader with limited capital might allocate across futures when contracts cannot be traded fractionally. The author frames the challenge as a portfolio optimization problem: a small account cannot spread capital over…

FuturesPortfolio constructionPosition sizingRisk management
MQL5 code base

The document describes an automated RSI strategy that uses H1 signals with D1 confirmation. A buy requires RSI on both timeframes to be above the oversold threshold and rising relative to its previous reading; a sell requires RSI below the overbought…

Technical indicatorsForexTrend followingPosition sizing
MQL5 code base

This document explains an expert advisor approach for moving stop losses as a trade becomes profitable. The user sets whether trailing is enabled, a profit distance at which trailing begins, a step size, and a magic number. On each tick, the routine scans…

ForexRisk managementExecutionPosition sizing
MQL5 articles

This article presents a reusable function library for MQL4 Expert Advisors. Its order-opening functions support stop-loss and take-profit levels specified either as distances from entry or as absolute chart prices. Separate function variants address brokers…

Position sizingRisk managementExecutionBacktesting
Cryptohopper blog

This guide presents ten broad principles for participating in cryptocurrency markets. It emphasizes limiting exposure to money an investor can afford to lose, building positions through scheduled dollar-cost averaging, researching token utility and project…

CryptoRisk managementPosition sizingPortfolio construction
Bitget Academy

The document explains how leverage in gold contracts for difference changes the margin needed to hold a position. It compares the approximate margin requirements at 100x, 500x, and 800x leverage, illustrating how higher leverage can leave more capital…

CommoditiesRisk managementPosition sizingExecution
Bitget Academy

The guide explains how holders of eligible tokenized U.S. stocks and ETFs can pledge them as collateral for crypto loans rather than selling their stock-linked exposure. It outlines the borrowing sequence, possible uses of borrowed assets, and the role of…

CryptoEquitiesRisk managementPosition sizing
Lumibot

A long strangle buys an out-of-the-money call and put on the same stock. The call can gain if the stock rises substantially, while the put can gain if it falls; the buyer’s maximum loss is the premiums paid. The document proposes opening these positions in…

OptionsVolatilityEvent-drivenPosition sizing