This guide organizes US equity datasets into market data, company fundamentals, investor positioning, and firm characteristics. It inventories loaders for daily and intraday bars, options, and market microstructure records, as well as SEC filing text, XBRL…
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.
Search the library
5,018 documents
This notebook turns validation predictions from multiple model families into equal-weight, long-short portfolios. It ranks stocks by predicted return, buys the top names and shorts the bottom names, and sweeps several portfolio concentrations using a shared…
This document presents a staged process for linking company names from filings, news, and alternative data to securities. It distinguishes entity identifiers such as CIK and LEI from security identifiers such as FIGI, CUSIP, and ISIN, and explains why…
This document explains a supervised autoencoder factor model for predicting stock returns in an equity option analytics research setting. Unlike PCA, IPCA, and an unsupervised conditional autoencoder, its training objective combines reconstruction of the…
This notebook studies linear prediction models for a cross-section of CME futures products using feature columns grouped into related families, including carry, momentum, volatility, and rolling risk measures. Because columns within a family are often…
This educational analysis compares four neural network designs on the same task: predicting the next daily return from a recent window of returns. A pooled set of eight exchange-traded funds provides varied market exposures. The models differ in how they…
This notebook audits the complete set of canonical validation predictions for an FX pairs study. It checks model identity, artifact availability, completeness, configured-label coverage, and whether the assembled configurations match the declared menu.…
This notebook audits the registered validation predictions for an FX pairs study. It checks that the catalog includes the configured model population, complete prediction sets, available artifacts, and current model identities. It then summarizes predictive…
This notebook evaluates NLinear, a simple sequence model that subtracts the latest observed level from a lookback window and maps the resulting sequence to a forecast with a linear transformation. It fits the ETF model population on walk-forward folds and…
This case study fits linear models to predict returns and direction in crypto perpetual futures. Its feature matrix is dominated by variations of the perpetual premium, the gap between the contract and spot price that drives funding payments. It contrasts…
This notebook presents a conditional autoencoder for equity returns in which a neural network maps stock characteristics to nonlinear factor loadings, while another network extracts contemporaneous latent factors from characteristic-managed portfolio…
This notebook compares ways to hedge a short European call when rebalancing is discrete and trades incur proportional costs. It defines self-financing terminal P&L, then trains a neural hedger to minimize expected shortfall under Heston simulated prices. The…
This notebook compares single-objective hyperparameter tuning with a multiobjective search for LightGBM prediction models. The baseline maximizes validation information coefficient (IC). The NSGA-II search instead maximizes IC while minimizing normalized…
This chapter synthesizes nine case studies that take machine-learning signals through portfolio construction, trading costs, risk overlays, and frozen holdout evaluation. It treats each case study’s progression as the unit of analysis instead of ranking…
This notebook compares three linear time-series models, a Transformer encoder, and parameter-free forecasts on daily SPY returns. The linear approaches map a historical window to a multi-day forecast, with variants that separate a smooth component from its…
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…
This notebook examines whether gradient-boosted trees can find nonlinear relationships in NASDAQ-100 microstructure features that a linear model may miss. It focuses on the possibility that order-flow imbalance predicts returns differently depending on the…
This notebook explains an operator-style research agent for iterating on quantitative case studies. Instead of limiting the model to predefined forecasting actions, it gives it general tools for files, shell commands, registry queries, and data inspection.…
This notebook refits the configuration selected by earlier validation stages using pre-2021 history, then publishes predictions for a 2021 holdout. It retrieves the chosen configuration from a recorded candidate set or applies the same ranking rule when that…
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…
This notebook audits an annual-report corpus before it is indexed for financial research. It measures the delay between a fiscal period end and the public filing date, showing why point-in-time applications must use the publication date. It also identifies…
This notebook screens financial and model-based features for their relationship with the next eight-hour return of crypto perpetual contracts. For each settlement, it computes cross-sectional Spearman correlations across eligible contracts, then summarizes…
This notebook aggregates existing walk-forward model results across financial case studies to compare LSTM, NLinear, TSMixer, TCN, and PatchTST with linear, gradient-boosted, and tabular neural-network baselines. Its main measure is average daily Spearman…
This notebook examines why a model’s information coefficient does not determine the Sharpe ratio of a strategy built from its predictions. Across a set of case studies, it compares signal rankings with backtest outcomes and considers how entry rules,…