Get stats of DCA Bot

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

Permission: BOTS_READ Security: SIGNED

GET

/ver1/bots/stats

Query Parameters

account_id integer Filters entities linked to the specified 3Commas exchange account

bot_id integer Filters entities linked to the specified DCA Bot

Use endpoint User connected exchanges and wallets list to get value for parameter account_id in 3Commas.

Parameters response

overall_stats array Shows cumulative profit or loss by currency for all trading activity

today_stats array Shows today's profit or loss by currency

profits_in_usd integer Contains detailed profit and loss data in USD

overall_usd_profit string Cumulative USD profit or loss from all trading activity

today_usd_profit string USD profit or loss accumulated for the current day

active_deals_usd_profit string USD profit or loss from active (unclosed) deals

funds_locked_in_active_deals string Total funds, in USD, currently allocated to active deals

Example request

GET /ver1/bots/stats

Example Response and errors

Status: 200 OK

```json { "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 } } ```

Last updated

Was this helpful?