Skip to main content

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​

ParametersTypeRequiredDescription
botIdStringYesGrid bot ID

Response Parameters​

ParametersTypeDescription
botIdStringGrid bot ID
symbolStringTrading pair
statusStringStatus
init: Initializing
waiting: Waiting to start
running: Running
terminating: Terminating
terminated: Terminated
totalProfitStringTotal profit, in USDT
roiStringROI, in decimal form
gridProfitStringGrid profit, in USDT
gridProfitRateStringGrid profit rate
unpairedProfitStringUnpaired profit, in USDT
unpairedProfitRateStringUnpaired profit rate
marginStringMargin, only for futures
arbitrageAPRStringArbitrage APR
totalAPRStringTotal APR
createdTimeStringCreation time
runningTimeStringRunning duration, in ms
currentBaseBalanceStringCurrent base coin balance
currentQuoteBalanceStringCurrent quote coin balance
initialBaseHoldingsStringInitial base coin holdings
initialQuoteHoldingsStringInitial quote coin holdings
reservedBaseTradingFeeStringReserved base coin trading fee
reservedQuoteTradingFeeStringReserved quote coin trading fee
gridStartPriceStringGrid start price
gridTypeStringGrid type
long
short
netural
maxPriceStringGrid upper limit price
minPriceStringGrid lower limit price
gridNumStringNumber of grids
gridOrderModeStringGrid order mode
arithmetic
geometric
baseInvestmentCoinStringBase coin of investment
baseInvestmentAmountStringBase coin investment amount
quoteInvestmentCoinStringQuote coin of investment
quoteInvestmentAmountStringQuote coin investment amount
slippageStringSlippage
1%
2%
none
triggerConditionStringTrigger condition
instant
price
rsi
boll
triggerParamsArrayTrigger parameters
> indicatorLengthStringIndicator period
> thresholdStringThreshold
> multiplierStringMultiplier
> intervalStringInterval
triggerPriceStringTrigger price
terminationConditionStringTermination condition
rsi
boll
terminationParamsArrayTermination parameters
> indicatorLengthStringIndicator period
> thresholdStringThreshold
> multiplierStringMultiplier
> intervalStringInterval
terminationSellStringWhether to sell on termination
yes
no
stopLossStringStop-loss price
takeProfitStringTake-profit price
hodlModeStringHODL mode
yes
no
autoTransferProfitsStringAuto transfer profit
yes
no
arbitrageCountStringArbitrage count
terminationReasonStringTermination reason
MANUAL_END: Manually terminated
NEW_WAIT: Waiting to start
ACCOUNT_BALANCE_LACKING_END: Terminated due to insufficient available funds
STOP_PROFIT_END: Terminated by take-profit
STOP_LOSS_END: Terminated by stop-loss
CANCEL_END: Terminated by cancellation
SYSTEM_END: Cancelled due to order placement failure
FOLLOW_END: Terminated by follow
SUBSCRIBE_STOP_PROFIT_END: Terminated by subscription take-profit
SUBSCRIBE_STOP_LOSS_END: Terminated by subscription stop-loss
PLACE_ORDER_FAIL_END: Terminated by consecutive order placement failures
SYMBOL_DOWN_END: Terminated due to trading pair delisting
SUB_ACCOUNT_TRANSFER_FAIL: Terminated due to fund transfer failure
HIGHEST_PRICE_END: Terminated at highest price
BOTTOM_PRICE_END: Terminated at lowest price
BURST_END: Terminated by liquidation
MOVE_GRID_FAIL: Terminated due to grid move failure
EXPIRE_TIME_END: Terminated by scheduled expiration
HANDLE_SUB_POSITION_END: Terminated by manual position reduction
STOP_PRICE_ACHIEVE: Terminated upon reaching stop price
ADL_END: Terminated by ADL
AUTO_CONVERT_END: Terminated by auto-conversion
CONDITION_TRIGGER_END: Terminated by condition trigger
ADL_CONVERT_END: Terminated by ADL reduction
CANCEL_DELIVERY_ORDER: Cancelled due to delivery
BASIS_RATE_TRIGGER: Terminated by basis rate trigger
EARN_REDEEM_FAIL: Terminated due to earn redemption failure
SYSTEM_CANCEL: Cancelled by system
SYMBOL_RSTOCK_SPLIT: Cancelled due to stock split/reverse split

How was your Reading Experience with us?

★
★
★
★
â˜