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,510 documents

Machine Learning for Trading

This notebook trains Skip-gram Word2Vec on labeled financial news sentences and explains how its vectors represent words that occur in similar contexts. It describes the roles of vector size, context window, minimum frequency, prediction mode, negative…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook demonstrates fine-tuning three transformer checkpoints for three-class financial sentence sentiment and evaluating them with accuracy, macro F1, and confusion matrices. It uses a stratified train, validation, and test split so class imbalance…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook explains how to design a search tool for a forecasting agent so evidence has a consistent structure, a traceable origin, and an auditable path into the model. A shared client protocol returns typed results across providers and includes a cutoff…

Machine learningBacktestingSentiment
Machine Learning for Trading

This notebook evaluates four news-derived signals—weighted surprise, average sentiment, sentiment change, and article coverage—against forward stock returns. It computes a daily cross-sectional Spearman information coefficient, summarizes its mean,…

EquitiesSentimentStatisticsFactor investing
Machine Learning for Trading

This notebook evaluates four signals derived from news text: weighted surprise, average sentiment, sentiment momentum, and article coverage. It uses forward returns prepared by an earlier feature-building step, then calculates a daily cross-sectional…

EquitiesSentimentStatisticsFactor investing
Machine Learning for Trading

This notebook compares Polymarket’s crypto-settled event contracts with the regulated Kalshi venue as sources of alternative data. It explains how access rules, settlement assets, position limits, and listing policies shape which participants influence…

CryptoSentimentStatisticsEvent-driven
Machine Learning for Trading

This notebook presents a multi-round forecasting debate between bull and bear roles. Each side argues for a higher or lower probability of an event, sees the other side’s prior argument in later rounds, and reports a probability and supporting evidence. The…

Machine learningStatisticsSentimentRisk management
Machine Learning for Trading

This notebook implements an ESG headline workflow that selects news with keywords, assigns each selected headline to an environmental, social, or governance category, and scores sampled headlines with FinBERT sentiment. It measures the selected pool’s…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook applies token-level SHAP to a pinned FinBERT model that classifies financial text as negative, neutral, or positive. It wraps model inference to preserve the checkpoint’s label order, then explains class probabilities by measuring how masked…

Machine learningSentimentStatistics
Machine Learning for Trading

This record documents a multi-agent pipeline that estimates whether the United States will enter a recession by the end of 2026. Agents search for economic indicators and forecasts, form individual probabilities, compare rationales through debate, and pass…

US marketsStatisticsSentiment
Machine Learning for Trading

This notebook runs three otherwise identical research agents on a recession question, either by replaying a saved capture or by running live models and search in parallel. It records each agent’s probability, confidence, evidence-gathering activity, and…

Machine learningStatisticsSentimentBacktesting
Machine Learning for Trading

This notebook turns financial headlines into stock-level signals and evaluates them against forward returns. It embeds headlines, measures news surprise as semantic distance from a rolling embedding baseline, and combines surprise with sentiment direction to…

EquitiesFactor investingSentimentMachine learning
Machine Learning for Trading

This notebook runs or replays a panel of identical research agents answering a shared forecasting question, then inspects their forecasts, search activity, and conversation traces. Separate per-agent tracing preserves attribution during parallel calls. The…

Machine learningStatisticsSentimentBacktesting
Machine Learning for Trading

This notebook evaluates a pretrained financial sentiment model on FinMarBa headlines and explains why the result is not a clean test of sentiment transfer. FinBERT was trained against human judgments of text sentiment, while FinMarBa’s negative, neutral, and…

Machine learningSentimentEquitiesStatistics
Machine Learning for Trading

This notebook presents a pipeline for turning financial headlines into stock-level signals. It cleans and standardizes a news corpus, removes exact and prefix-matched duplicates within ticker-date groups, and uses sentence embeddings to represent headline…

EquitiesMachine learningSentimentFactor investing
Machine Learning for Trading

This notebook builds a forecasting agent that alternates between web searches and probability forecasts. A small two-method language-model interface lets the same loop use a mock, local, or commercial provider. The agent receives a prediction-market question…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook explains how to extract insider transactions from raw SEC Form 4 XML for quantitative equity research. It uses an XML parser to keep each trade’s code, date, share count, price, and direction attached to its transaction block, while separately…

EquitiesEvent-drivenSentimentStatistics
Machine Learning for Trading

This notebook applies pretrained FinBERT to financial headlines from FinMarBa and examines why its accuracy is far below figures reported for its Financial PhraseBank evaluation. The central diagnostic is label provenance: PhraseBank labels reflect…

Machine learningSentimentStatistics
Strategy library

This document outlines a simple visual workflow that retrieves a Fear and Greed classification, routes the result through conditional branches, and sends trade instructions to an execution node. A scheduled trigger starts the process; the workflow fetches…

SentimentCryptoExecutionTechnical indicators
Strategy library

This workflow proposes using holders of a successful token as a starting group for discovering other assets they own. It filters holders by token ownership share and portfolio value, removes addresses labeled as exchanges, project treasuries, or protocol…

CryptoDeFiOn-chain dataSentiment
Strategy library

This workflow describes a bidirectional grid for cryptocurrency perpetual futures. From an initial reference price, it places long levels below and short levels above; positions are opened as price reaches grid steps and are intended to close when price…

CryptoPerpetual futuresGrid tradingSentiment
Strategy library

The strategy uses an exchange’s Bitcoin futures short-position series as a sentiment input and applies RSI to that series to identify turning points. It proposes short exposure when the RSI of short positions crosses above a high threshold and long exposure…

CryptoFuturesSentimentTechnical indicators
Strategy library

This short-term futures approach monitors Binance liquidation data, filters small events, and compares recent liquidation volume with its historical average using a Z-score. A surge with a strongly one-sided liquidation mix creates a candidate signal. The…

CryptoFuturesPerpetual futuresTrend following
Strategy library

This workflow describes an automated crypto perpetual-futures system that combines short- and long-term EMA crossovers with news sentiment. It evaluates completed candles to identify golden or death crosses, then gathers recent RSS coverage and has an AI…

CryptoPerpetual futuresTrend followingSentiment