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
Quantpedia
86 documents
TqSdk
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

27 documents

arXiv papers

The document formulates pairs trading as a dynamic portfolio optimization problem. The spread between two related securities follows a Gaussian mean-reverting process, while its drift rate changes according to an unobserved finite-state continuous-time…

Pairs tradingMean reversionRisk managementPosition sizing
arXiv papers

The paper applies generalized extreme value theory to tail returns in bitcoin futures markets to examine forced liquidation risk, leverage, and margin levels for both long and short positions. Its empirical analysis uses BitMEX perpetual futures. It reports…

CryptoFuturesPerpetual futuresRisk management
arXiv papers

The paper proposes a systematic investment approach intended to build wealth over a longer horizon through a sequence of short-term ETF purchase decisions. It combines evolutionary algorithms with a deep learning model to improve the timing of contributions…

EquitiesMachine learningPortfolio constructionPosition sizing
arXiv papers

This paper studies portfolio choice when an asset’s price trend follows an unobserved Ornstein–Uhlenbeck process. It derives optimal strategies for a trader with logarithmic utility under two information settings: one in which the trend is known and one in…

StatisticsRisk managementPosition sizing
arXiv papers

This document extends the Almgren–Chriss optimal execution setting, which assumes a fixed quantity to liquidate, to cases where the required trading volume is uncertain and becomes clearer as a delivery deadline approaches. Power markets are offered as an…

ExecutionRisk managementPosition sizingFutures
arXiv papers

The paper studies portfolio liquidation games in which a trader exits the market once their position reaches zero. This absorption rule rules out round-trip trading and is framed as a no-statistical-arbitrage condition. In a model containing only sellers,…

Market microstructureExecutionPosition sizingStatistics
arXiv papers

The document proposes a systematic way to choose a stop-loss threshold by analyzing the distribution of maximum drawdowns. It frames stop selection as a decision guided by the goal of maximizing expected returns given available information, addressing the…

Risk managementPosition sizingStatisticsBacktesting
arXiv papers

This study applies Twin-Delayed Deep Deterministic Policy Gradient (TD3), a continuous-action reinforcement learning method, to daily closing prices for Amazon stock and Bitcoin. The trading action represents both the position to take and the number of…

CryptoEquitiesMachine learningPosition sizing
arXiv papers

This paper describes a model-less convolutional neural network that takes historical prices for a set of assets and outputs portfolio weights. It is trained through reinforcement learning, with cumulative return serving as the reward. The training data cover…

CryptoMachine learningPortfolio constructionBacktesting
arXiv papers

The paper presents Deep Momentum Networks, which combine deep learning with the volatility-scaling framework used in time series momentum. A neural network learns trend estimates and position sizes together, with its parameters trained to optimize the…

FuturesTrend followingMomentumMachine learning
arXiv papers

This document examines how proportional transaction costs constrain leveraged investing in a market with one safe asset and one risky asset. It considers strategies designed to maximize long-term returns while maintaining an average volatility level, and…

Risk managementPosition sizingVolatilityPortfolio construction
arXiv papers

This paper frames tail-risk management as an allocation across protections for distinct loss patterns: sudden crashes, volatility repricing and prolonged drawdowns. It develops a continuous-time conditional value-at-risk framework that combines long…

OptionsTrend followingRisk managementVolatility
arXiv papers

This study develops a day-ahead bidding and operating policy for a hybrid plant that combines wind generation with an electrolyzer. The policy sets power bids and schedules hydrogen production using contextual information, with linear decision rules learned…

Risk managementPosition sizingMachine learningCommodities
arXiv papers

The paper derives an optimal portfolio strategy for an investor maximizing expected logarithmic utility when multivariate stock-return drift is hidden and evolves as an Ornstein–Uhlenbeck process. The investor learns about drift from observed returns and…

EquitiesStatisticsPortfolio constructionPosition sizing
arXiv papers

The paper investigates whether trading position sizes can help control risk during periods of high volatility. It uses historical backtesting to examine how sizing models behave during crisis events, with particular attention to whether they can reduce value…

Position sizingBacktestingRisk managementVolatility
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