Last updated
Each grid can have a directional bias:
Neutral (default) Standard grid behavior — buys below, sells above, no directional bias
Long Buys across all levels at startup → builds long exposure → then runs the grid (buy below, sell above) with long bias
Short Sells across all levels at startup → builds short exposure → then runs the grid (buy below, sell above) with short bias
Changing direction triggers a partial reset:
Exposure and PnL are preserved
Orders are recalculated
Trailing automatically shifts the grid range when price moves beyond it.
How it works
If price moves beyond the range by more than one grid step:
The entire range shifts in that direction
The same logic applies in both upward and downward directions
Constraints
Upper bound: Trailing Up
Lower bound: Trailing Down
Example
Initial range: [90, 110] with grid step of 2
Trailing Up: 130
Price → 120 → New range: [100, 120]
Price → 135 → Capped at [110, 130]
Validation Rules
Trailing Down must be at least one grid step below the Price Lower Limit
Trailing Up must be at least one grid step above the Price Upper Limit
If price stops are set:
Lower Stop must be below Trailing Down
Upper Stop must be above Trailing Up
Last updated
