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

164 documents

Lumibot

This page catalogs trading bot examples built around AI agents, ranging from copying reported investor or insider holdings to sentiment signals, agent debates, options strategies, intraday rules, and macro or sector portfolio discussions. It outlines…

Machine learningBacktestingOptionsEquities
Lumibot

This documentation explains the strategy initialization lifecycle in Lumibot. The initialize method runs once when a strategy starts and can set operating parameters such as iteration interval and how long before the close trading should stop. It can also…

BacktestingExecution
Lumibot

This code describes a deterministic replay process for trading on congressional disclosures. It uses each disclosure’s public publication time to decide whether the information was available, explicitly avoiding the transaction date as the signal timestamp.…

EquitiesEvent-drivenRisk managementPosition sizing
Lumibot

This documentation explains how to use Polygon as a historical price-data source for LumiBot backtests across stocks, options, forex, and cryptocurrencies. It describes supplying an API key, selecting a backtest date range, and running a simple example…

BacktestingMulti-assetEquitiesOptions
Lumibot

This framework overview explains lifecycle methods: functions the trading engine calls at defined points to initialize and run a strategy. A user-defined strategy must implement the trading-iteration method, which the engine calls repeatedly and which is…

ExecutionBacktesting
Lumibot

This reference explains two strategy lifecycle hooks for handling setup before trading begins. The before-market-open hook runs each day before the market opens; an example use is canceling outstanding orders. If a strategy launches after the market has…

Execution
Lumibot

The document outlines an intraday SPY strategy that buys after price dips at least 0.15% below VWAP and then returns above it. A research agent checks minute bars hourly beginning at 10:00 ET, while a trading agent enters when the bounce is identified and no…

EquitiesMean reversionExecutionRisk management
Lumibot

This example describes an AI-assisted value-investing workflow inspired by Warren Buffett’s public approach. One agent reviews filings and assesses business quality, cash generation, balance-sheet strength, and durability. A second challenges the valuation…

EquitiesFactor investingMachine learningRisk management
Lumibot

This guide catalogs implementation mistakes that can distort trading decisions or break a Lumibot strategy. It explains why backtests should use simulated time and completed candles, why persistent assets belong in strategy variables, and how to handle…

BacktestingOptionsCryptoExecution
Lumibot

This example describes an AI trading team modeled on concentrated investing. A quality researcher selects a high-quality large-cap company, an activist bull develops the case for catalysts and value creation, and a short-seller challenges the thesis on…

EquitiesPosition sizingPortfolio constructionRisk management
Lumibot

This documentation explains why a trading strategy may need its own view of the current date and time. The strategy's clock reflects the simulated point in time during a backtest and the relevant time during live trading. This matters when historical logic…

BacktestingExecution
Lumibot

This example describes a daily SPY strategy that assigns market analysis and order decisions to separate AI agents. The research agent compares the latest completed daily close with its 20-bar average and reports the date, observed prices, evidence for and…

Machine learningTrend followingRisk managementExecution
Lumibot

This document is a QuantStats tear sheet comparing a strategy labeled “vwap-plain” with SPY over January 4–9, 2026. It reports a 0% total return for the strategy, a 0.12% maximum drawdown, a 0.76 Sharpe ratio, and 50% time in the market. The benchmark’s…

EquitiesTechnical indicatorsBacktestingRisk management
Lumibot

This guide explains how to inspect an AI agent’s decisions during backtests and live or paper trading. It describes per-run Parquet records, per-call JSON traces, summary logs, and machine-readable artifacts. These records expose prompts, tool calls and…

BacktestingExecutionRisk management
Lumibot

The document describes Lumibot as a Python framework for creating rule-based strategies, AI-assisted trading systems, and hybrid approaches. Conventional Python logic can handle indicators, schedules, position sizing, and risk controls, while AI agents can…

BacktestingExecutionMachine learningRisk management
Lumibot

The document explains how to use selected LumiBot components in standalone scripts or notebooks without constructing a trading strategy. Examples cover querying FRED macroeconomic series with a historical information vintage, retrieving price bars through…

EquitiesTechnical indicatorsBacktestingExecution
Lumibot

This document presents a QuantStats tear sheet for an automated strategy labeled “orb-plain,” compared with SPY over January 4–9, 2026. It reports return and risk statistics, including a 0% total return for the strategy, a 0.67% maximum drawdown, a 0.55…

EquitiesBreakoutBacktestingRisk management
Lumibot

The document explains what LumiBot’s HTML backtest tear sheet and companion machine-readable metrics file contain. It lists return and risk measures such as annualized and total return, Sharpe and Sortino ratios, return over maximum drawdown, maximum…

BacktestingRisk managementPortfolio constructionStatistics
Lumibot

This document is a QuantStats tear sheet comparing an AI trading strategy with SPY over a brief January 2026 backtest, using Yahoo data. It reports a 1% total return for each, with the strategy showing a higher annualized return estimate but also a larger…

BacktestingStatisticsRisk managementEquities
Lumibot

This report compares an AI-driven portfolio built from a named set of large-company stocks with SPY over a very short backtest window. It presents standard performance and risk measures, including returns, drawdown, Sharpe and Sortino ratios, benchmark…

EquitiesBacktestingRisk managementUS markets
Lumibot

This example demonstrates a daily-iteration stock strategy that submits limit buy and sell orders alongside two trailing stop sell orders. The orders target the same symbol, while the trailing exits use either a percentage retracement or a fixed price…

EquitiesExecutionRisk managementBacktesting
Lumibot

This documentation explains the built-in tools available to LumiBot agents for market research, account inspection, trading, memory, and notifications. It separates research agents from agents allowed to place or change orders: disabling trading removes…

ExecutionRisk managementBacktestingOptions
Lumibot

The document explains what strategy trade exports contain and how to use them when reviewing a backtest. HTML and tabular files report order timing and prices, the traded asset, cash balances, raw portfolio value, and a cash-adjusted equity series intended…

BacktestingOptionsRisk management
Lumibot

The document describes a daily macro trading process built around distinct research perspectives. Separate agents assess economic growth, inflation and interest rates, and debt, liquidity, currency, and central bank policy. A disagreement agent challenges…

Machine learningMulti-assetPortfolio constructionBacktesting