GET

/api/v1/bots/dca/stats

Permission: BOTS_READSecurity: BEARER_JWT

Returns comprehensive profit metrics, active deal counts, and locked fund analytics across all DCA Bots, a specific bot, or a specific exchange connection.

Query Parameters

2
bot_iduuid

Filter analytics to a single specific DCA Bot entity.

connection_iduuid

Filter analytics to a single linked exchange connection account.

Response Parameters

total_botsinteger

Total count of DCA bots created by the authenticated user.

active_botsinteger

Count of DCA bots currently in running state.

stopped_botsinteger

Count of DCA bots currently in stopped state.

total_tradesinteger

Cumulative count of completed deals across all filtered bots.

active_deals_countinteger

Number of deals currently open and active on exchanges.

profits_in_usdobject

USD-aggregated profit, loss, and capital utilization metrics.

profits_in_usd.overall_usd_profitnumber

Cumulative USD profit or loss from all trading activity.

profits_in_usd.today_usd_profitnumber

USD profit or loss accumulated during the current calendar day.

profits_in_usd.active_deals_usd_profitnumber

Unrealized USD profit or loss from currently open positions.

profits_in_usd.funds_locked_in_active_dealsnumber

Total USD amount of capital currently engaged in active orders.

overall_statsobject

Cumulative profit broken down by quote currency.

today_statsobject

Today's profit broken down by quote currency.

Example Request

GETGET /api/v1/bots/dca/stats

Example Responses

Returns overall and daily stats along with USD-converted profit analytics.

get_dca_bot_stats_200.json
200 OK
{
  "total_bots": 5,
  "active_bots": 3,
  "stopped_bots": 2,
  "total_trades": 142,
  "active_deals_count": 3,
  "profits_in_usd": {
    "overall_usd_profit": 148.5,
    "today_usd_profit": 12.35,
    "active_deals_usd_profit": 1.72,
    "funds_locked_in_active_deals": 450
  },
  "overall_stats": {
    "USDT": 148.5
  },
  "today_stats": {
    "USDT": 12.35
  }
}