Check futures grid parameters
pionex_bot_check_futures_grid_paramsValidate futures grid bot parameters and estimate investment values before creation. Checks base, trend, grid type, price range, and returns errors or a valid investment range.
Instructions
Check futures grid parameters
Validate futures grid bot creation parameters and estimate investment values without creating an order. Weight: 1.
Pass a positive quote_investment to receive full estimate fields.
The current market price is fetched automatically — open_price is not required.
Extra Margin Modes (controlled by extra_margin):
|
| |
| Trading capital only | Total input (auto-split into trading capital + extra margin) |
| User-specified extra margin, on top of | Typically omitted; system auto-calculates |
| = | < |
| = | Auto-calculated (= |
| Range for trading capital (excl. extra margin) | Range for total input (incl. extra margin) |
FailedWithData: For errors marked "Yes" below, the response includes a data field
even when result=false, containing min_investment, max_investment, and slippage
so the client can display the valid investment range.
Validation error messages (returned in message when result is false):
Message | Cause | Includes data |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| No |
|
| Yes |
|
| Yes |
| Grid range too narrow or | Yes |
|
| Yes |
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency, must end with `.PERP` | |
| quote | Yes | Quote currency | |
| buOrderData | Yes |