History

Get a position from history

Keytrading trading::read
Throttlehistory
Cost1 /request
Answers<span class="st st-ok">200</span> <span class="st st-warn">401</span> <span class="st st-warn">403</span> <span class="st st-warn">404</span> <span class="st st-hold">423</span> <span class="st st-hold">429</span> <span class="st st-warn">451</span>
Idempotenttrue
get/v3/history/positions/{id}

Request

  • Base URL: https://api.paper.novig.com
  • URL: https://api.paper.novig.com/v3/history/positions/{id}
  • Auth: API key in header Novig-Key-Id and API key in header Novig-Signature and API key in header Novig-Timestamp

Path parameters

idstring uuid required

Position ID.

Response

The position.

coststring required

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

marketIdstring uuid required
outcomeIdstring uuid required
payoutstring

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

pnlstring

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

positionIdstring uuid required

Position ID.

qtyinteger required

Contracts held.

resettledboolean required

true if the market was graded again after it settled.

resultstring required

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

settledTsinteger

When the market settled. Absent until the market settles.

status'OPEN' | 'CLOSED' | 'SETTLED' required

Lifecycle status of a market.

Changes

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