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

45 documents

Machine Learning for Trading

The document shows how to turn weekly Commitment of Traders reports into futures positioning features. It explains the trader categories in the financial futures and disaggregated commodity formats, and why participant groups matter when aggregate net…

FuturesCommoditiesSentimentTechnical indicators
Machine Learning for Trading

This document explains how to turn weekly Commitment of Traders reports into futures positioning features. It outlines the report categories for financial futures and physical commodities, describes how net positions reflect different participant roles, and…

FuturesCommoditiesSentimentStatistics
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
Machine Learning for Trading

This chapter surveys financial text representations, from dictionaries and word counts through TF-IDF, static embeddings, recurrent networks, and Transformers. It explains the trade-offs: simpler methods are fast, interpretable, and adaptable to finance,…

Machine learningSentimentStatisticsEquities
Machine Learning for Trading

This reference describes the Financial Phrasebank, a labeled collection of financial news sentences used to train or evaluate natural language processing models. Human annotators assign positive, neutral, or negative sentiment labels. The corpus is available…

SentimentMachine learning
Machine Learning for Trading

This notebook shows how to turn quarterly SEC 10-Q Management’s Discussion and Analysis text into two candidate equity signals. FinBERT scores text chunks for positive, neutral, or negative tone; chunk scores are aggregated into average sentiment and…

EquitiesMachine learningSentimentStatistics
Machine Learning for Trading

This notebook compares three ways to classify financial-news sentences as positive, neutral, or negative: TF-IDF word and phrase features with logistic regression, averaged static word vectors with a classifier, and a pretrained FinBERT sentiment model.…

Machine learningSentimentEquitiesStatistics