Get Grid Bot Detail
Get Grid Bot Detail
Descriptionâ
Query the detailed information of a specified strategy, including parameter configuration, current status, accumulated profit, etc.
HTTP Requestâ
- GET /api/v3/trade/grid/bot-detail
- Rate limit: 10/sec/UID
- Permission: UTA trade (read-only)
Request
curl "https://api.bitget.com/api/v3/trade/grid/bot-detail?botId=11" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request Parametersâ
| Parameters | Type | Required | Description |
|---|---|---|---|
| botId | String | Yes | Grid bot ID |
Response Parametersâ
| Parameters | Type | Description |
|---|---|---|
| botId | String | Grid bot ID |
| symbol | String | Trading pair |
| status | String | Statusinit: Initializingwaiting: Waiting to startrunning: Runningterminating: Terminatingterminated: Terminated |
| totalProfit | String | Total profit, in USDT |
| roi | String | ROI, in decimal form |
| gridProfit | String | Grid profit, in USDT |
| gridProfitRate | String | Grid profit rate |
| unpairedProfit | String | Unpaired profit, in USDT |
| unpairedProfitRate | String | Unpaired profit rate |
| margin | String | Margin, only for futures |
| arbitrageAPR | String | Arbitrage APR |
| totalAPR | String | Total APR |
| createdTime | String | Creation time |
| runningTime | String | Running duration, in ms |
| currentBaseBalance | String | Current base coin balance |
| currentQuoteBalance | String | Current quote coin balance |
| initialBaseHoldings | String | Initial base coin holdings |
| initialQuoteHoldings | String | Initial quote coin holdings |
| reservedBaseTradingFee | String | Reserved base coin trading fee |
| reservedQuoteTradingFee | String | Reserved quote coin trading fee |
| gridStartPrice | String | Grid start price |
| gridType | String | Grid typelongshortnetural |
| maxPrice | String | Grid upper limit price |
| minPrice | String | Grid lower limit price |
| gridNum | String | Number of grids |
| gridOrderMode | String | Grid order modearithmeticgeometric |
| baseInvestmentCoin | String | Base coin of investment |
| baseInvestmentAmount | String | Base coin investment amount |
| quoteInvestmentCoin | String | Quote coin of investment |
| quoteInvestmentAmount | String | Quote coin investment amount |
| slippage | String | Slippage1%2%none |
| triggerCondition | String | Trigger conditioninstantpricersiboll |
| triggerParams | Array | Trigger parameters |
| > indicatorLength | String | Indicator period |
| > threshold | String | Threshold |
| > multiplier | String | Multiplier |
| > interval | String | Interval |
| triggerPrice | String | Trigger price |
| terminationCondition | String | Termination conditionrsiboll |
| terminationParams | Array | Termination parameters |
| > indicatorLength | String | Indicator period |
| > threshold | String | Threshold |
| > multiplier | String | Multiplier |
| > interval | String | Interval |
| terminationSell | String | Whether to sell on terminationyesno |
| stopLoss | String | Stop-loss price |
| takeProfit | String | Take-profit price |
| hodlMode | String | HODL modeyesno |
| autoTransferProfits | String | Auto transfer profityesno |