getFMartLimit
Validate input parameters for futures Martingale bots and retrieve allowable ranges for price, leverage, margin, and more to avoid creation errors.
Instructions
Validates the input parameters for creating a futures Martingale bot and returns the allowable ranges for each parameter (price float percentage, add position ratio, add position count, initial margin, round TP percentage, stop-loss, entry price, leverage).
Use this endpoint before calling /v5/fmartingalebot/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: 100 requests per second per IP.
Agent hint: Call this endpoint first to get valid parameter ranges before creating a Martingale bot. If check_code is non-zero, the specific validation error is indicated by the code value. The response ranges tell you the exact min/max values allowed for each parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| martingale_mode | Yes | ||
| leverage | Yes | ||
| price_float_percent | No | ||
| add_position_percent | No | ||
| add_position_num | No | ||
| init_margin | No | ||
| round_tp_percent | No | ||
| sl_percent | No | ||
| entry_price | No | ||
| need_to_slippage | No | ||
| app_name | No |