Skip to main content
GET
Get realized return per trading day

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-organization-id
string<uuid> | null

Organization UUID, required for service tokens. Ignored for users and API keys.

Query Parameters

account_id
string<uuid>

Trading account ID. Omit to report every account the organization has in environment

environment
enum<string>
required

Required broker environment. Includes disabled and deleted accounts. A named account must belong to this environment.

Available options:
paper,
live
start
string<date-time>

Range start in New York. Raised to the plan history window, then rounded back to Sunday. Defaults to the week containing end

end
string<date-time>

Range end, widened forward to the Saturday of the week containing it. Defaults to now, so sending neither bound returns the current week

symbol
string

Report the realized return on this symbol alone. Normalized to uppercase. Omitted, the return covers the whole book

next_cursor
string

Start of the next page as YYYY-MM-DD, taken from a previous response. Overrides start

Response

Daily returns retrieved

data
object[]
required

Whole weeks, oldest first.

next_cursor
string | null

The Sunday the next page starts at, as YYYY-MM-DD, or null once the requested range is exhausted. Pass it back as next_cursor.

Unlike the keyset cursors on the list endpoints this is a plain date: it is a week boundary the caller can already work out, so there is nothing to be gained by making it opaque.