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
Quantopian lectures
45 documents
Binance API docs
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

57 documents

FMZ forum

This tutorial explains how to add reusable template libraries to trading strategies and use a cryptocurrency spot-trading library. It demonstrates calling library buy and sell functions from interactive controls, while the template handles details such as…

CryptoSpot marketsExecutionMarket microstructure
FMZ forum

This tutorial develops an earlier cryptocurrency spot hedging bot for trading price spreads between two exchanges. It adds optional spot margin mode switching for Binance, separate trigger thresholds for trades in each direction, chart lines and live spread…

CryptoSpot marketsArbitrageExecution
FMZ forum

This guide outlines an event-driven framework for monitoring and trading many Binance spot pairs quoted in a selected base currency. It recommends using the aggregated ticker WebSocket feed instead of repeatedly polling individual pairs, while noting that…

CryptoSpot marketsExecutionMarket microstructure
FMZ forum

A trader reports that a live ETH/USDT setup returns a ticker whose raw exchange data identifies the symbol as ETCUSDT, with a last price far below the ETH price shown in the Binance app. The example also shows an account response containing a raw information…

CryptoSpot marketsExecutionMarket microstructure
FMZ forum

This document introduces a digital-asset trading library that combines an existing spot-trading template with futures support for OKCoin and BitVC. Its main teaching is operational: futures orders require contract selection and position-aware handling that…

CryptoFuturesSpot marketsExecution
FMZ forum

This document describes a multi-coin spot strategy for Binance and OK accounts, with configurable entry sizes, add-on signals, take-profit signals, and order execution. It distinguishes market-style tracking from limit orders: tracking can respond to…

CryptoSpot marketsGrid tradingPosition sizing
FMZ forum

This personal account reflects on years of involvement in cryptocurrency markets, including altcoins, leveraged trading, decentralized finance schemes, and token mining promotions. Its main lesson is caution: the author describes a market where inexperienced…

CryptoRisk managementSentimentSpot markets
FMZ forum

This tutorial explains how the OKCoin spot API’s market orders interpret the amount parameter. It describes a backtest example that estimates a buy quantity from the latest price, then submits a market buy with a cash-denominated amount. The author contrasts…

CryptoSpot marketsExecution
FMZ forum

This document outlines a basic program structure for a long-only spot cryptocurrency strategy. It separates the trading signal from the operational framework: the example has manual commands to open or close a position, while the user is expected to add the…

CryptoSpot marketsExecutionPosition sizing
FMZ forum

This support post describes a reported failure in an automated XRP withdrawal after a Binance maintenance update. The user received an error indicating an unauthorized IP address, although they said the IP remained on the exchange’s allowlist. The original…

CryptoExecutionSpot markets
FMZ forum

The author explains why Bitcoin markets can suit systematic trading, citing continuous access, low entry barriers, active spot and futures markets, and opportunities across platforms. The main lesson is to understand the economic reason a strategy should…

CryptoArbitrageFuturesSpot markets
FMZ forum

This tutorial describes a simple spot arbitrage approach across two cryptocurrency exchanges: buy on the venue with the lower price and sell on the one with the higher price when the spread is large enough to cover trading costs. It explains that the…

CryptoSpot marketsArbitrageExecution
FMZ forum

This note explains two cash-and-carry approaches to perpetual futures funding. When funding is positive, it buys spot and shorts the perpetual contract to collect payments from longs. When funding is negative, it describes borrowing and selling spot while…

CryptoArbitragePerpetual futuresSpot markets
FMZ forum

This tutorial outlines the design of a simple cryptocurrency spot grid strategy. It defines an equal-difference grid around an initial price, with grid levels extending both above and below that starting point. Each level stores its price and whether a buy…

CryptoGrid tradingSpot markets
FMZ forum

The document explains how to connect TradingView alerts to an FMZ Quant bot using the platform’s extended API. It describes creating an API key with only the command permission needed, then configuring an alert webhook to call the bot’s command interface…

ExecutionTechnical indicatorsFuturesSpot markets
FMZ forum

The document presents a dynamic-balance strategy for a crypto and fiat account. It compares the marked value of the coin holdings with the fiat balance, using bid and ask prices adjusted by a spread parameter. When the coin side is valued above the fiat…

CryptoSpot marketsMean reversionPosition sizing
FMZ forum

The document describes a cash-and-carry strategy for crypto perpetual futures. When a perpetual contract trades above spot and its funding rate is positive, the trader sells the perpetual and buys an equivalent amount of spot, aiming to collect funding…

CryptoArbitragePerpetual futuresSpot markets
FMZ forum

This tutorial shows how to change the active cryptocurrency pair during a running trading program. It states that exchanges generally support runtime pair changes, with an exception for Huobi ETH because it uses a separate API address, and notes that the…

CryptoSpot marketsExecution
FMZ forum

This teaching example outlines a basic arbitrage strategy for digital-asset spot markets across multiple exchanges. It gathers account balances and quotes, adjusts buy and sell prices for exchange fees, and compares venues to find opportunities to buy on a…

CryptoSpot marketsArbitrageExecution
FMZ forum

The document presents exchange limit order data as a way to monitor large crypto traders. It distinguishes resting limit orders from market orders, then describes tracking unusually large orders by price, size, direction, and duration. Its central premise is…

CryptoMarket microstructureFuturesSpot markets
FMZ forum

This annotated educational strategy describes hedging cryptocurrency spot exposure across multiple exchanges. It aims to exploit price differences by buying on the venue with the lower effective price and selling on the venue with the higher effective price,…

CryptoSpot marketsArbitrageMarket microstructure
FMZ forum

This tutorial extends a basic grid strategy to several cryptocurrency spot pairs and focuses on the engineering decisions needed to run it. It covers retrieving aggregated quotes and account balances, tracking assets and performance by pair, and assigning…

CryptoSpot marketsGrid tradingExecution
FMZ forum

This article explains a contrarian rebalancing strategy that keeps a Bitcoin position and cash at roughly equal market values. It begins with the broader stock-and-bond allocation idea, then applies it to a BTC account. When the asset values diverge beyond a…

CryptoSpot marketsMean reversionPortfolio construction
FMZ forum

This article explains a contrarian rebalancing strategy that maintains a target allocation between cash and Bitcoin. When Bitcoin’s value rises enough to move the portfolio away from its target balance, the strategy sells some BTC; when it falls enough, it…

CryptoSpot marketsMean reversionPortfolio construction