This article introduces an automated arbitrage approach that compares prices on Balancer, an Ethereum automated market maker, with prices on centralized order-book exchanges. It describes a bot that monitors for differences and can buy on one venue while…
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
1,625 documents
This tutorial outlines a mean-reversion approach to calendar spreads in ETC futures. It defines the spread as the weekly contract price minus the quarterly contract price, samples it on a five-minute cycle, and pairs the contracts in a one-to-one ratio. The…
The document introduces decentralized finance as blockchain based software that can perform functions commonly handled by financial institutions. It describes smart contracts supporting lending, trading, liquidity pools, risk management, derivatives,…
This example demonstrates subscribing to Binance USDⓈ-M futures book-ticker streams for multiple symbols over WebSocket. It opens a stream for each listed market, reads the latest messages in a loop, parses each JSON payload, and logs the best bid and ask…
This overview describes the 2018 Hummingbot whitepaper’s case for improving liquidity in digital asset markets. It introduces decentralized market making as a way for individuals and institutions to participate in a role often handled by centralized firms,…
The Pearson approach forms equity pairs by ranking stocks on the correlation of their monthly returns during a formation period. For each stock, it selects the most highly correlated peers and combines their returns into a benchmark portfolio, using either…
This overview surveys private fund investment approaches, outlining how managers combine asset selection, portfolio construction, and risk management. It covers equity long-only, long-short, and market-neutral strategies; managed futures trend and arbitrage…
The report argues that a sharp Bitcoin price decline and ETF redemptions reflected a concentrated unwind of cash and carry positions rather than broad institutional capitulation. It explains the trade: hold spot Bitcoin or ETF shares while shorting futures…
The document introduces Rho Protocol as an on-chain venue for trading crypto-native interest rates, especially perpetual funding rates and staking rates. It describes fixed-for-floating contracts as a way to hedge exposure to changing rates, similar to…
This engineering retrospective reviews Hummingbot’s 2023 work on exchange connectivity, code maintenance, strategy development, and external modules. Connector updates included refreshed gold and silver integrations with market-order support, and…
The document summarizes research on how high-frequency trading in equities affects liquidity in options on those stocks. The study combines Nasdaq HFT records with options transaction data and other market data for 103 stocks, then uses instrumental-variable…
This module describes selecting three partner stocks for each target in a four-stock vine-copula statistical arbitrage framework. It compares four approaches using ranked daily returns: a baseline that sums pairwise Spearman correlations, a multivariate…
The roadmap outlines planned upgrades to Hummingbot’s strategy framework, bot management tools, and core architecture. Its strategy plans include configurable scripts, reusable components for cross-exchange market making, dollar-cost averaging, statistical…
This introductory article explains cryptocurrency futures as contracts used to gain exposure to expected price movements without directly holding the underlying coins. It outlines long and short positioning, noting that short sellers aim to buy back at a…
This overview surveys a broad set of quantitative approaches, describing their basic mechanisms and the market settings or investor capabilities they may suit. It covers trend following, machine learning, arbitrage and market neutral methods, factor…
This guide surveys ten cryptocurrency trading bot platforms, describing their strategy types, free-plan restrictions, and usability. It introduces bots as software that connects to exchanges and executes predefined rules, then compares offerings that include…
This overview catalogs Python examples for the WonderTrader framework, including CTA strategies, futures and stock backtests, futures arbitrage, optimization, reinforcement learning, and high-frequency trading. It names Dual Thrust as a sample strategy used…
This document explains a software component for executing arbitrage between two markets or exchanges. The proposed workflow validates that the selected markets have compatible trading pairs, tracks the buy and sell orders, and estimates profitability after…
This article explains triangular arbitrage using three currencies and temporarily inconsistent exchange rates. It first illustrates how to compare a directly quoted cross rate with a synthetic rate derived through two other currency pairs. If the three…
This implementation describes a distance-based statistical arbitrage method for forming and trading equity pairs. In a training period, each price series is scaled using its own minimum and maximum, and candidate pairs are ranked by the sum of squared…
This implementation describes a bivariate Student-t copula for modeling dependence between two variables represented by uniform pseudo-observations. It explains sampling from a correlated Student-t distribution, evaluating copula density and cumulative…
This document raises implementation questions about trading two OKEX futures maturities through one exchange object. Its example switches between the this-week and quarterly contracts to request tickers over WebSocket, then switches again before submitting…
The article argues that Rust can suit quantitative trading infrastructure where large data workloads, dense computation, concurrency, and low latency matter. It attributes this fit to Rust’s performance, memory and thread safety guarantees, and lack of…
The document describes an Expert Advisor that compares EURGBP with a synthetic value derived from EURUSD and GBPUSD. It monitors quote delays for all three pairs and trades EURGBP when its price diverges from the synthetic equivalent, following a one-leg…