Required balances for launch
GET
/ver1/grid_bots/:id/required_balancesReturns the amount of funds required to launch the Grid Bot and details about the current balance state.
This endpoint works only for the spot exchange.
Response Parameters
The amount of funds missing in the base and quote currencies for the Grid Bot to operate as intended.
Hide child parametersShow child parameters
The total amount of funds required in base and quote currencies to launch the Grid Bot.
Hide child parametersShow child parameters
Indicates whether additional funds are required to balance the Grid Bot true
or not false
.
Indicates whether the bot can be balanced with the current available funds true
or not false
.
Example Responses
- 200 OK
- 404 Not Found
- 500 Internal Server Error
{
"missing_balance": {
"base": {
"quantity": "0.0",
"currency": "BTC"
},
"quote": {
"quantity": "8500.0",
"currency": "USDT"
}
},
"required_balance": {
"base": {
"quantity": "2.0",
"currency": "BTC"
},
"quote": {
"quantity": "18500.0",
"currency": "USDT"
}
},
"need_balancing": true,
"balancing_available": true,
"necessary_quantities": {
"quantity": "8500.0",
"currency": "USDT"
}
}
{
"error": "not_found",
"error_description": "Not Found"
}
{
"error": "grid_lines_not_marked",
"error_description": "Grid lines empty or not marked"
}