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

9,660 documents

Quant course library

The document explains a pre-trade risk module that checks each order before it is sent to a trading interface. Its rules include requiring positive order quantity and limiting the size of an individual order, total daily filled quantity, order flow, active…

Risk managementExecution
Quant course library

This strategy uses 15-minute bars to calculate Bollinger Bands, a simple moving average, and average true range. When flat, it places stop entries at the upper and lower Bollinger bands, allowing a move beyond either boundary to initiate a long or short…

CryptoBreakoutTechnical indicatorsRisk management
Quant course library

This document describes a portfolio monitoring module that groups trading activity by order source and tracks positions, fills, and profit and loss. Each source, such as manual trading or a strategy, can be treated as a separate portfolio. The display…

Portfolio constructionRisk managementExecution
Quant course library

This option algorithm combines reference-price calculation with a two-sided quoting and opportunistic execution rule. It sets a minimum price spread and a volatility-based spread proportional to the option’s cash vega, then uses the larger value to place bid…

OptionsMarket makingVolatilityPosition sizing
Quant course library

This interface example shows controls for adjusting a paper trading engine’s simulation behavior. A spin control sets the assumed slippage for market and stop orders in price ticks, while another sets how often simulated position profit and loss is…

BacktestingExecutionMarket microstructureRisk management
Quant course library

This guide explains how to launch a trading workstation through either a graphical interface or a script, connect a simulated futures account, subscribe to contract data, and place manual orders. It outlines how limit and market orders move from submission…

FuturesExecutionMarket microstructureRisk management
Quant course library

This guide describes capabilities for building and operating automated cryptocurrency strategies. It covers exchange order actions, market and position data access, indicator calculations, and example strategies. Its execution assistant can cancel unfilled…

CryptoExecutionTechnical indicatorsRisk management
Quant course library

The document demonstrates a WebSocket client that authenticates, subscribes to level-two order-book feeds, and maintains separate bid and ask maps for each symbol. It handles snapshot messages by loading initial levels, then applies inserts, updates, and…

CryptoMarket microstructureExecution
Quant Q&A

The document surveys constraints that practitioners may impose when optimizing a portfolio. It notes that the formulation matters: a fully invested portfolio typically has weights summing to one, while an active portfolio expressed as deviations from a…

Portfolio constructionRisk managementPosition sizingExecution
Quant Q&A

The document sets out a continuous-time optimal execution model for selling a fixed stock position over a chosen horizon. It assumes an arithmetic Brownian unaffected price and a linear temporary impact cost proportional to trading rate. Under these…

EquitiesExecutionRisk management
Quant Q&A

The discussion compares evaluating a strategy through trade or portfolio returns with simulating a starting capital amount and measuring ending equity or annualized return. It argues that the appropriate view depends on the strategy and how closely the…

BacktestingRisk managementPosition sizingExecution
Quant Q&A

The document discusses why an online broker may cap the number of legs in a single options spread order. Its main explanation is that brokers submit orders using structures recognized by options exchanges, and the permitted order formats and applicable rules…

OptionsExecutionMarket microstructureDerivatives pricing
Quant Q&A

The document estimates the chance that a stock reaches a buy limit price at least once during a waiting period. It models log prices as Brownian motion with constant volatility, uses the distribution of the running minimum to relate a price threshold to a…

EquitiesStatisticsExecutionVolatility
Quant Q&A

The document examines implausible risk-free rates inferred by regressing option collars on SPX options close to expiration. It explains that put-call parity calculations can become distorted when options and their underlying continue trading on different…

OptionsDerivatives pricingMarket microstructureExecution
Quant Q&A

The document discusses autoquotes in the context of research on locked and crossed markets. It distinguishes the paper’s reference to small displayed limit orders that other market participants might trade through from an explanation of the exchange’s…

EquitiesMarket microstructureExecutionUS markets
Quant Q&A

The responses survey reinforcement learning (RL) applications in quantitative finance, with portfolio allocation as the main example. They describe critic-only methods, which choose actions using learned value estimates; actor-only methods, which optimize…

Machine learningPortfolio constructionBacktestingExecution
Quant Q&A

The document asks how a market maker should use a fair-value estimate when quoting in a central limit order book. It contrasts this setting with request-for-quote trading, where a dealer can present prices without competing against visible resting orders. In…

Market makingMarket microstructureExecution
Quant Q&A

The document asks how large institutional stock sales affect prices over weeks, months, or years, including the lasting losses that other large holders might face. It raises questions about whether permanent impact relates to peak temporary impact, how…

EquitiesMarket microstructureExecutionStatistics
Quant Q&A

The discussion explains reflexivity as a feedback loop: traders form expectations from information and prices, act on those expectations, and thereby change prices and later beliefs. It points to Keynesian beauty contests, game theory, agent-based models,…

Market microstructureStatisticsExecutionSentiment
Quant Q&A

The problem describes a seller who observes a sequence of prices for different future delivery days and must choose when to commit to selling. Prices for each fixed delivery date are assumed to follow a martingale. The proposed approach begins with a Bellman…

FuturesStatisticsExecution
Quant Q&A

The discussion explains why currency spreads can widen sharply around 22:00 GMT, corresponding to 17:00 in New York. Forex trading is decentralized, and liquidity can fall when major financial centers hand activity over or close for the day. Contributors…

ForexMarket microstructureExecution
Quant Q&A

The document explains how borrowing and financing support ETF market making, creation and redemption, and arbitrage when ETF prices diverge from their underlying holdings. Market makers may finance temporary inventory, borrow securities, use repo, or provide…

EquitiesArbitrageExecutionMarket microstructure
Quant Q&A

The document describes how practitioners can approximate a digital option using a narrow call spread around its strike. Buying the lower-strike call and selling the upper-strike call creates a payoff concentrated between the strikes; as the gap narrows, the…

OptionsDerivatives pricingVolatilityExecution
Quant Q&A

The document outlines ways high-frequency traders can structure equity trading to manage commissions and exchange fees. One route is direct exchange access through a broker identifier, allowing a firm to pay or receive the exchange’s active or passive fees…

High-frequency tradingExecutionMarket microstructureEquities