Check spot grid parameters
pionex_bot_check_spot_grid_paramsValidate spot grid bot parameters and estimate investment without creating an order; errors return min/max investment and slippage for correction.
Instructions
Check spot grid parameters
Validate spot grid bot creation parameters and estimate investment values without creating an order. Weight: 1.
Pass a positive quote_total_investment to receive full estimate fields.
The current market price is fetched automatically — open_price is not required.
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 |
| Integer part of | No |
| Decimal part of | No |
|
| No |
|
| No |
|
| No |
|
| No |
| Grid range too narrow or | Yes |
|
| Yes |
|
| Yes |
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base": "<base>",
"quote": "<quote>",
"buOrderData": "<buOrderData>"
},
"name": "pionex_bot_check_spot_grid_params"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency | |
| quote | Yes | Quote currency | |
| buOrderData | Yes |