Crypto High-Frequency Trading with Trade Flow and Order-Book Signals
Summary
This article describes a crypto perpetual-futures strategy that combines short-term trend detection with passive market making. It uses aggregated trades to estimate the size and frequency of buyer- and seller-initiated activity, while order-book depth and spread inform quote placement. Recent trade prices relative to side-specific averages help classify short-term direction; when the signal and spread conditions align, the strategy posts maker orders and seeks to close positions quickly rather than hold inventory.
The implementation discussion covers WebSocket streams for depth, trades, positions, and order updates, along with concurrent tasks and latency monitoring. Order size is scaled to recent activity, and quote prices are estimated from depth needed to absorb a chosen quantity. The author recommends tracking realized close returns, rebate dependence, fill and failure rates, and execution delays. The article reports that historical profitability declined over time and says recent modifications still earn modestly, but supplies no rigorous performance record. It stresses that rebates, speed, market selection, and constant adaptation matter, and warns that its simplified examples are not ready for direct deployment.
Key ideas
- The strategy combines short-term directional signals with passive maker orders.
- Trade size and frequency provide complementary measures of buyer and seller activity.
- Order-book depth helps estimate quote prices and likely market impact.
- Latency, fill rates, realized returns, and rebate dependence are important monitoring measures.
- Competition and changing market conditions can erode profitability, and the examples are incomplete.
Tags
Cited by
- Strategies Hummingbot PMMSimpleController (by hummingbot, Apache-2.0) faithful port: 2+2-level symmetric pure market making on WLDUSDT.BINANCE 1m, 1%/2% spreads around mid, per-level triple-barrier executors (SL 3%, limit TP 2%, 45-min time limit, 1.5%/0.3% trailing stop), 5-min refresh, 15-s cooldown, 20x
- Hypotheses Hummingbot PMMSimpleController (by hummingbot, Apache-2.0) faithful port: 2+2-level symmetric pure market making on WLDUSDT.BINANCE 1m, 1%/2% spreads around mid, per-level triple-barrier executors (SL 3%, limit TP 2%, 45-min time limit, 1.5%/0.3% trailing stop), 5-min refresh, 15-s cooldown, 20x
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.