Grid trading places buy and sell orders at regular price intervals (the "grid"). When price moves up, sell orders execute. When price moves down, buy orders execute. This captures profit from price oscillation.
Grid Parameters
Parameter
Description
lowerPrice
Bottom of the grid range
upperPrice
Top of the grid range
gridLevels
Number of grid lines (more = tighter spacing)
orderSize
Size per order in quote currency
Example Setup
A grid from $40,000 to $44,000 with 10 levels creates orders every $400: