Long Grid Trading Between Fixed Price Bounds with Geometric or Arithmetic Levels
Summary
This long-only grid strategy operates between fixed upper and lower price bounds. It divides the range into configurable levels, using either geometric or arithmetic spacing, buys when price crosses down through a level, and sells on an upward crossing at the next level. The design has no trailing stop or conventional stop loss; it treats the grid boundaries and allocated investment as its structural risk limits. Settings include per-level sizing, pyramiding, commissions, slippage, and an optional backtest date window.
The displayed script is calibrated for a POL/USDT perpetual market on a 15-minute chart, with specific default bounds and grid settings. The supplied excerpt does not include the order-handling logic beyond the description, nor does it present backtest performance, so profitability cannot be assessed from this document. A bounded grid can accumulate inventory as price falls and may remain exposed if the market moves below the range; the code comments also characterize the default investment allocation as high conviction and advise scaling it down for lower risk. The approach depends on prices moving within or returning to the configured range.
Key ideas
- The strategy buys downward grid crossings and sells upward crossings to the next level.
- Grid levels can be spaced geometrically or arithmetically within fixed price bounds.
- The design omits trailing stops and conventional stop losses, relying on range bounds and allocated capital as risk constraints.
- The script includes settings for capital allocation, fees, slippage, pyramiding, and a backtest window.
- The excerpt reports no performance results, and exposure can build if price falls beyond the configured range.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.