Grid Trading
Overview
Grid trading is a rules-based strategy that places a series of buy and sell orders at predefined price intervals within a range. It aims to harvest volatility without predicting direction, buying lower and selling higher as price oscillates through the grid.
Required Parameters
- Platform: Jupiter, AsterDEX, or Hyperliquid (more to come)
- Wallet: The wallet that will execute trades
- Base Asset: The token to trade (e.g., Ethereum)
- Quote Asset: Typically USDC or USDT
- Lower Band: The lowest price point in the grid
- Upper Band: The highest price point in the grid
- Grid Spacing: Distance between each price level, in percentage
- Total Investment: Total allocation in quote/base asset value
Advanced Features
Compounding
Each completed trade compounds into the next. After accounting for any fees, the executed proceeds are rolled into subsequent orders to maximize capital efficiency and potential profitability.
Trailing Up
If market price moves above the upper band, the grid can trail upward: a new step is added above the current top step, while the lowest step is removed. You can set a maximum number of trailing steps or leave it unlimited.
Trailing Down
If market price moves below the lower band, the grid can trail downward: a new step is added below the current bottom step, while the highest step is removed. You can set a maximum number of trailing steps or leave it unlimited.
Pump Protection
Not yet implemented.