Skip to main content
GET
Get completed round-trip trades (server-derived)

Headers

authorization
string

Bearer <token>: the trader's own session, or a partner session token from POST /trade/partner/session

x-partner-app-id
string

Partner access: your partner app id

x-partner-app-secret
string

Partner access: your partner app secret (server-side only)

x-trader-api-key
string

Partner access: the trader's API key (hpk_...)

x-trader-email
string

Partner access, optional: the trader's sign-in email; must match the key's owner

x-partner-firm
string

Partner access, optional: organization id, slug or name; limits results to the trader's accounts at that firm

Query Parameters

accountId
string

Restrict to one trading account (default: all of the user's accounts)

since
string<date-time>

Only trades whose exit is at/after this time (for incremental refreshes)

Response

Completed trades

success
boolean
Example:

true

data
object