Skip to main content

Get DCA Bot stats

GET
/ver1/bots/stats
Permission: BOTS_READ
Security: SIGNED

Returns profit and locked amount data on deals for all DCA Bots or an existing bot or an existing exchange account using their ID.


Query Parameters

account_idinteger

Filters entities linked to the specified 3Commas exchange account.

Use the list of connected exchanges and wallets endpoint to retrieve the value for the account_id parameter.

bot_idinteger

Filters entities linked to the specified DCA Bot.

Example Request

GET
/ver1/bots/stats

Response Parameters

overall_statsarray

Shows cumulative profit or loss by currency for all trading activity.

today_statsarray

Shows today's profit or loss by currency.

profits_in_usdinteger

Contains detailed profit and loss data in USD.

Hide child parametersShow child parameters
overall_usd_profitstring

Cumulative USD profit or loss from all trading activity.

today_usd_profitstring

USD profit or loss accumulated for the current day.

active_deals_usd_profitstring

USD profit or loss from active (unclosed) deals.

Example Response

{
"overall_stats": {
"USDT": "-47.47740906"
},
"today_stats": {
"USDT": "10.98885705"
},
"profits_in_usd": {
"overall_usd_profit": -47.48,
"today_usd_profit": 10.99,
"active_deals_usd_profit": 1.366505088,
"funds_locked_in_active_deals": 300.843218676
}
}