Skip to main content

Validate Neutral Grid Parameters

Validate Neutral Grid Parameters

Description​

Before creating a neutral grid strategy, validate whether the grid parameters (price range, number of grids, investment amount, etc.) are legal, without actually creating the strategy.

HTTP Request​

  • POST /api/v3/trade/grid/validate-neutral
  • Rate limit: 1/sec/UID
  • Permission: UTA trade (read & write)
Request
curl -X POST "https://api.bitget.com/api/v3/trade/grid/validate-neutral" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{
"category": "USDT-FUTURES",
"symbol": "BTCUSDT",
"maxPrice": "50000",
"minPrice": "30000",
"gridNum": "100",
"gridOrderMode": "arithmetic",
"leverage": "10",
"investmentAmount": [
{
"coin": "USDT",
"amount": "1000"
}
],
"triggerPrice": "40000",
"stopLoss": "20000",
"takeProfit": "60000",
"autoTransferProfits": "yes"
}'

Request Parameters​

ParametersTypeRequiredDescription
categoryStringYesBusiness line
USDT-FUTURES: USDT-margined futures
USDC-FUTURES: USDC-margined futures
symbolStringYesTrading pair
maxPriceStringYesUpper limit price
minPriceStringYesLower limit price
gridNumStringYesNumber of grids
gridOrderModeStringYesGrid order mode
arithmetic: Arithmetic
geometric: Geometric
leverageStringNoLeverage
investmentAmountArrayNoList of investment coins and amounts. For futures, only quote coin USDT/USDC is supported
> coinStringYesInvestment coin
> amountStringYesInvestment amount
triggerPriceStringNoTrigger price
stopLossStringNoStop-loss price
takeProfitStringNoTake-profit price
autoTransferProfitsStringNoAuto transfer profit

Response Parameters​

ParametersTypeDescription
validStringWhether validation passed
reasonStringReason for validation failure
minInvestmentStringMinimum investment amount

How was your Reading Experience with us?

★
★
★
★
â˜