Portfolio

List your trades

A page of the key owner's own trades, newest first, with the result of each settled one. Private picks included. With no X-Arena-Org header this is the personal account. With the header it is that organization's paper sandbox, not the personal trade list, and organization.slug is set when the sandbox named one. Not cached.

get/portfolio/trades

Request

  • Base URL: https://arena-predictions.com/api/v1
  • URL: https://arena-predictions.com/api/v1/portfolio/trades
  • Auth: HTTP bearer

Query parameters

status'open' | 'settled' | 'sold' | 'void' | 'all'

settled: won or lost. void: a push or a cancelled market.

sincestring date-time

Opened at or after.

untilstring date-time

Opened before.

limitinteger
cursorstring

The nextCursor of the previous page. Opaque.

Headers

X-Arena-Orgstring

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.

Response

A page of trades.

countinteger required
nextCursorstring nullable required
venueDataboolean required
mode'paper' required

Changes

No recorded changes to this operation across all 1 revision of this API.