Skip to main content

Get DCA Bot stats by date

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

Returns profit data for the specified DCA Bot(s) over a defined number of days.


Query Parameters

account_idinteger

Filters entities linked to the specified 3Commas exchange account.

bot_idinteger

Filters entities linked to the specified ID DCA Bot entity.

datestringrequired

Specific days for which profit data is requested for this bot or account.

Example Request

GET
/ver1/bots/stats_by_date?date=2024-11-06T04:00:00.000Z&bot_id=15577628

Response Parameters

profits_in_usdobject

Represents cumulative USD profits or losses from trading activities.

Hide child parametersShow child parameters
USDTstring

Cumulative USD profit or loss from all trading activity.

usd_profitstring

USD profit from deals for a specific day.

btc_profitstring

BTC profit from deals for a specific day.

Example Response

{
"stats": {
"USDT": "7.92064973"
},
"usd_profit": "7.92064973",
"btc_profit": "0.000103814744285414700639614134423823"
}