Skip to main content
GET
Get an account's daily P&L

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Path Parameters

accountId
string
required

The account whose daily P&L to retrieve

Query Parameters

from
string
required

First trading day to include (YYYY-MM-DD)

Pattern: ^\d{4}-\d{2}-\d{2}$
to
string
required

Last trading day to include (YYYY-MM-DD), at most 400 days after from

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Success - one entry per trading day, oldest first

success
boolean
Example:

true

data
object