Skip to main content

DCA Bot deals stats

GET
/ver1/bots/:bot_id/deals_stats
Permission: BOTS_READ
Security: SIGNED

Returns data on active and created deals, as well as profit data for the entire period for the DCA Bot.


Path Parameters

bot_idintegerrequired

Unique 3Commas ID for this DCA Bot entity.

Example Request

GET
/ver1/bots/12345678/deals_stats

Response Parameters

activeinteger

The number of currently active deals.

completedinteger

The total number of completed deals.

panic_soldinteger

The number of deals closed at market price.

from_currency_is_dollarsboolean

Shows whether the base currency for profit calculation is USD.

More attributes

Example Response

{
"active": 1,
"completed": 83,
"panic_sold": 0,
"from_currency_is_dollars": true,
"completed_deals_usd_profit": "10.75875754",
"completed_deals_btc_profit": "0.00014222663277458617764387880566349063980977",
"funds_locked_in_active_deals": "169.701896364",
"btc_funds_locked_in_active_deals": "0.001762864967028976210730336302468929",
"active_deals_usd_profit": "-11.150934036",
"active_deals_btc_profit": "-0.000115836012342202235229626437817425"
}