Skip to main content
GET
cURL

Authorizations

Novig-Key-Id
string
header
required

The key's UUID.

Novig-Signature
string
header
required

Standard padded base64 of the NOVIG-V3 signature.

Novig-Timestamp
string
header
required

Unix milliseconds. ±30 s.

Path Parameters

id
string<uuid>
required

Position ID.

Query Parameters

keyId
string<uuid>

The management key's own id reads the primary wallet. A subaccount key's id reads that subaccount. Only a management key may pass it.

Response

The position.

The response body of a personal read. A trading key or a session reads its own wallet, so the body is bare. A management key reads many, each under the key id that addresses it.

cost
string
required

Net dollars the wallet paid for them. The average entry price is 100 × cost / qty.

marketId
string<uuid>
required
outcomeId
string<uuid>
required
positionId
string<uuid>
required

Position ID.

qty
integer<int32>
required

Contracts held.

Required range: x >= 0
resettled
boolean
required

true if the market was graded again after it settled.

result
string
required

The grade of the outcome. It's TBD until the market settles.

status
enum<string>
required

Lifecycle status of a market.

Available options:
OPEN,
CLOSED,
SETTLED
payout
string

What the contracts are worth at result, in dollars. Absent while result is TBD.

pnl
string

payout minus cost, in dollars. Absent while result is TBD.

settledTs
integer<int64>

When the market settled. Absent until the market settles.