validateFGridInput
Validate futures grid bot input parameters and get allowable ranges for investment, profit, grid count, price bounds, leverage, and TP/SL to ensure valid bot creation.
Instructions
Validates the input parameters for creating a futures grid bot and returns the allowable ranges for each parameter (investment, profit, grid count, price bounds, leverage, TP/SL, etc.).
Use this endpoint before calling /v5/fgridbot/create to ensure parameters are within valid bounds. The response includes a check_code that indicates which parameter is out of range if validation fails.
Rate limit: 10 requests per second per UID.
Agent hint: Call this endpoint first to get valid parameter ranges before creating a grid bot. If check_code is non-zero, the specific validation error is indicated by the code value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| cell_number | Yes | ||
| min_price | Yes | ||
| max_price | Yes | ||
| leverage | Yes | ||
| grid_type | Yes | ||
| grid_mode | Yes | ||
| stop_loss_price | No | ||
| take_profit_price | No | ||
| tp_sl_type | No | ||
| entry_price | No | ||
| stop_loss_per | No | ||
| take_profit_per | No | ||
| trailing_stop_per | No | ||
| init_margin | No | ||
| move_up_price | No | ||
| move_down_price | No |