Skip to main content
GET
Get your portfolio

Authorizations

Authorization
string
header
required

Authorization: Bearer arena_sk_... (the x-arena-key header is accepted too). Keys are made in Settings (https://arena-predictions.com/settings#api-keys) or with arena keys create, shown once, stored hashed.

Headers

X-Arena-Org
string

Organization id. When present, this call uses that organization's paper sandbox. When absent, the key owner's personal paper account. A value that is not an organization id is 400 invalid_request. An unknown organization is 404 organization_not_found and one this key cannot use is 403 organization_forbidden. The personal account is never the fallback. Paper only. This header does not select a Combine evaluation account.

Maximum string length: 63

Response

Your portfolio.

account
object | null
required

Null before the first trade.

positions
object[]
required
Maximum array length: 500
positionsCount
integer
required
positionsTruncated
boolean
required
orders
object[]
required
Maximum array length: 200
ordersCount
integer
required
ordersTruncated
boolean
required
asOf
string<date-time>
required
venueData
boolean
required
mode
string
required
Allowed value: "paper"
organization
object

Present when X-Arena-Org selected an organization sandbox. Absent on the personal account.