GET

/api/v1/bots/dca//deals-stats

Permission: BOTS_READSecurity: BEARER_JWT

Returns comprehensive statistics on active, completed, and panic-sold deals, along with total realized and unrealized profit data across the bot lifetime.

Path Parameters

iduuid required

Unique UUID identifier of the DCA Bot entity.

Response Parameters

13
bot_iduuid

Unique UUID identifier of the DCA Bot.

bot_namestring

User-assigned name of the DCA Bot.

pairstring

Trading pair assigned to the bot (e.g. ETH/USDT).

activeinteger

The number of currently active (open) deals.

completedinteger

The total number of successfully completed deals.

panic_soldinteger

The number of deals closed immediately at market price (panic sold).

from_currency_is_dollarsboolean

Shows whether the base/quote currency for profit calculation is USD/USDT.

completed_deals_usd_profitstring

The total profit from completed deals in USD.

completed_deals_btc_profitstring

The total profit from completed deals in BTC.

funds_locked_in_active_dealsstring

The total funds currently locked in active deals, in USD.

btc_funds_locked_in_active_dealsstring

The total funds currently locked in active deals, in BTC.

active_deals_usd_profitstring

The current unrealized profit or loss from active deals in USD.

active_deals_btc_profitstring

The current unrealized profit or loss from active deals in BTC.

Example Request

GETGET /api/v1/bots/dca/7c9e6679-7425-40de-944b-e07fc1f90ae7/deals-stats

Example Responses

Returns deal counts, profit sums, and locked collateral in USD and BTC.

dca_bot_deals_stats_200.json
200 OK
{
  "bot_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "bot_name": "ETH DCA Momentum",
  "pair": "ETH/USDT",
  "active": 1,
  "completed": 83,
  "panic_sold": 0,
  "from_currency_is_dollars": true,
  "completed_deals_usd_profit": "148.50",
  "completed_deals_btc_profit": "0.00228461",
  "funds_locked_in_active_deals": "150.00",
  "btc_funds_locked_in_active_deals": "0.00230769",
  "active_deals_usd_profit": "1.72",
  "active_deals_btc_profit": "0.00002646"
}