createFGridBot
Automates futures grid trading by placing grid orders within a specified price range. Set parameters including symbol, grid count, leverage, and initial investment to execute the strategy.
Instructions
Creates a single futures grid trading bot. The bot will automatically place grid orders within the specified price range.
Required parameters include symbol, grid_mode, price range, grid count, leverage, grid type, and initial investment. Optional parameters include TP/SL settings, entry price trigger, and trailing stop.
Before calling this endpoint, use /v5/fgridbot/validate to validate parameter ranges. The response check_code indicates specific validation errors if the creation fails.
Rate limit: 10 requests per second per UID. Subject to compliance wall and KYC verification.
Agent hint: Always call validateFGridInput first to verify parameters are in range. If status_code is non-zero, check the check_code for the specific error. The bot_id in a successful response is needed for subsequent operations like getFGridDetail or closeFGridBot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| grid_mode | Yes | ||
| min_price | Yes | ||
| max_price | Yes | ||
| cell_number | Yes | ||
| leverage | Yes | ||
| grid_type | Yes | ||
| total_investment | Yes | ||
| take_profit_per | No | ||
| stop_loss_per | No | ||
| entry_price | No | ||
| source | No | ||
| followed_grid_id | No | ||
| toolsDiscoveryParameter | No | ||
| stop_loss_price | No | ||
| take_profit_price | No | ||
| tp_sl_type | No | ||
| block_source | No | ||
| create_type | No | ||
| init_bonus | No | ||
| business_remark | No | ||
| trailing_stop_per | No | ||
| move_up_price | No | ||
| move_down_price | No | ||
| channel | No |