Get Profit Stats by Date

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

Permission: BOTS_READ Security: SIGNED

GET

/ver1/bots/stats_by_date

Query Parameters

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

bot_id integer Filters entities linked to the specified ID DCA Bot entity

date string required Specific days for which profit data is requested for this bot or account

Parameters response

profits_in_usd object [TBD]

USDT string Cumulative USD profit or loss from all trading activity

usd_profit string USD profit from deals for a specific day

btc_profit string BTC profit from deals for a specific day

Example Request

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

Example Response and errors

Status: 200 OK

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

Last updated

Was this helpful?