Skip to content
All library documents

A Short-Term Breakout Strategy Using Order-Book Quotes

Article FMZ digest · Author: 发明者量化-小小梦

Summary

This article presents a modified high-frequency crypto strategy for a single-direction perpetual contract. It builds a short-term reference price from several levels of the order book, tracks recent trade volume, and compares the latest reference price with recent extrema. A configurable threshold marks a bullish or bearish burst. The strategy then places a limit order at a selected book level; if the signal reverses while a position is open, it submits an order intended to reverse direction. It also periodically cancels outstanding orders and refreshes account information.

The author describes the code as a learning model for observing high-frequency behavior and market microstructure, not as a profitable system. A live observation notes that opening and closing positions can be difficult when market activity is low. The article reports no systematic backtest, performance statistics, or successful optimization. Its simple burst rule, order placement, and reversal logic leave execution quality and profitability uncertain, particularly in quiet or changing market conditions.

Key ideas

  • The signal identifies short-term upward or downward price bursts relative to recent quote-derived prices.
  • A weighted combination of order-book levels provides the strategy's reference price series.
  • Orders are placed at selected order-book levels, with cancellations used to clear stale orders.
  • A reversal signal can prompt an order in the opposite direction while a position is open.
  • The example is presented for study, and quiet markets can make entries and exits difficult.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.