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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

5,018 documents

FMZ forum

The document explains how Bayesian decision theory assigns an observation to the class with the largest posterior probability. It separates the posterior into a class-conditional likelihood and a prior class probability. The prior can be estimated from class…

Machine learningStatistics
BigQuant

This study summary describes using recurrent neural networks, including long short-term memory cells, to forecast stock movements separately by industry. The rationale is that firms in one sector may share common influences, while industries can differ in…

EquitiesMachine learningFactor investingStatistics
BigQuant

This report summary describes using gene expression programming, a heuristic inspired by biological evolution, to discover price-volume factors from short-horizon data. Because many candidate factors had weakly monotonic group returns or no excess return in…

EquitiesFactor investingMachine learningStatistics
BigQuant

This article explains how to turn future returns into labels for supervised trading models, arguing that the label should match the instrument, trading horizon, liquidity, and costs of the intended strategy. It first describes using an n-period return as a…

Machine learningStatisticsBacktestingRisk management
BigQuant

The article compares two Chinese equity approaches built around market capitalization. The traditional strategy selects the smallest-cap stocks for a portfolio. The AI version uses a StockRanker ranking model with market capitalization as its sole feature.…

EquitiesFactor investingMachine learningBacktesting
MQL5 code base

The author describes an unfinished attempt to build a multiple logistic regression library in MQL5 that can handle a variable number of independent data columns. Earlier functions were hard-coded for particular numbers of predictors, which the author…

Machine learningStatistics
Quant course library

The document describes a graphical workflow for downloading historical bars, configuring a CTA strategy backtest, reviewing performance statistics, and inspecting trades on a candlestick chart. Data can come from a domestic market data service, an…

BacktestingFuturesOptionsCrypto
Quant Q&A

The document frames a model-selection problem for reinforcement-learning-based dynamic hedging of long-dated swaptions. The proposed application uses 2y2y and 4y2y swaptions, requiring simulated paths that update both a forward swap curve and an implied…

Fixed incomeOptionsVolatilityMachine learning
Quant Q&A

The document raises an econometric modeling question involving a GARCH(1,1) volatility equation and a fourth equation in a simultaneous system. A variable from the fourth equation enters the GARCH specification as an exogenous regressor, while the…

StatisticsVolatilityMachine learning
Quant Q&A

The document considers how to build a fundamental scoring model for a defined stock universe using metrics for size, growth, valuation, quality, and risk. It describes the practical challenge of collecting current, historical, and estimated Bloomberg fields,…

EquitiesFactor investingPortfolio constructionMachine learning
Quant Q&A

The document outlines ways to begin building a machine learning credit scoring model for a thesis, focusing on public datasets, example competitions, and learning materials. It points to credit default prediction tasks as sources of data and published…

Machine learningStatisticsUS markets
Quant Q&A

The document presents a QuantLib Python calibration attempt for a time dependent Heston model that fails with a Boost assertion. The code builds a volatility surface, creates a piecewise time dependent model, attaches an analytic pricing engine, and…

OptionsVolatilityDerivatives pricingMachine learning
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 addresses how a technically capable beginner can move from trading infrastructure and market knowledge toward designing strategies. It describes strategy as a broad category, ranging from simple rules based on price gaps to models using…

BacktestingMarket microstructureMachine learningStatistics
Quant Q&A

The document asks why a generalized linear model’s design matrix is assumed to have full column rank and whether maximum-likelihood estimation can proceed when it does not. The response connects rank deficiency to non-identifiability: if columns are linearly…

StatisticsMachine learning
Quant Q&A

The document asks whether an anomaly detector can be trained on normal gift-card activation transactions and then evaluated on anomalous cases. It also describes a setting with no reliable fraud labels and transaction-level fields such as merchant, location,…

Machine learningStatisticsEvent-drivenRisk management
Quant Q&A

The document discusses reward design for reinforcement learning applied to foreign exchange hedging. A typical objective combines portfolio gains with penalties for risk, such as variation in portfolio value, and for trading costs associated with changes in…

ForexMachine learningRisk managementExecution
Quant Q&A

The document gathers advice for a mathematician with statistics and programming experience who wants to enter quantitative finance without first joining a hedge fund. It recommends exploring quant roles at banks or in academia, building relationships with…

OptionsDerivatives pricingStatisticsMachine learning
Quant Q&A

The document considers feature choice for a multilayer perceptron that classifies financial price moves as buy, hold, or sell. The proposed inputs concatenate recent returns and transaction volumes, and the question is whether a vector containing more than…

Machine learningEquitiesStatistics
Quant Q&A

The document clarifies how tick imbalance bars are formed from transaction data. Each tick receives a direction of plus or minus one based on the change from the prior trade price; unchanged prices inherit the previous direction. The running sum of these…

Market microstructureStatisticsMachine learningExecution
Quant Q&A

The document presents a validation question for a machine-learning portfolio strategy evaluated out of time against a strong benchmark. Its custom rolling metric reflects portfolio value and additional state variables such as inventory and time. The observed…

Machine learningBacktestingStatisticsPortfolio construction
Quant Q&A

The document gathers suggestions for quantitative investigation of suspicious stock trading, including spoofing and possible information asymmetry. One proposed method builds behavioral attributes for each trader, such as trading frequency and volume, then…

EquitiesMachine learningStatisticsMarket microstructure
Quant Q&A

The document asks how to make a trading bot imitate a typical nonprofessional foreign exchange trader, including whether such traders can be treated as acting randomly regardless of market conditions. The response rejects assuming random behavior as a sound…

ForexMachine learningSentiment
Quant Q&A

The document asks how to evaluate predictions of asset returns when matching the sign of each forecast to the realized return matters more than explaining return magnitude. It gives a small example where ordinary least squares has low explanatory power,…

StatisticsMachine learningBacktesting