Kraken · Schema

Position

Position schema from Kraken Spot REST API

CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedOAuthPublic APIs

Properties

Name Type Description
ordertxid string
posstatus string
pair string
time number
type string
ordertype string
cost string
fee string
vol string
vol_closed string
margin string
value string
net string
terms string
rollovertm string
misc string
oflags string
View JSON Schema on GitHub

JSON Schema

spot-rest-position-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-schema/spot-rest-position-schema.json",
  "title": "Position",
  "description": "Position schema from Kraken Spot REST API",
  "type": "object",
  "properties": {
    "ordertxid": {
      "type": "string",
      "example": "OQCLML-BW3P3-BUCMWZ"
    },
    "posstatus": {
      "type": "string",
      "example": "string"
    },
    "pair": {
      "type": "string",
      "example": "XBTUSD"
    },
    "time": {
      "type": "number",
      "example": "2026-05-30T00:00:00Z"
    },
    "type": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ],
      "example": "buy"
    },
    "ordertype": {
      "type": "string",
      "example": "limit"
    },
    "cost": {
      "type": "string",
      "example": "0.01"
    },
    "fee": {
      "type": "string",
      "example": "0.01"
    },
    "vol": {
      "type": "string",
      "example": "0.01"
    },
    "vol_closed": {
      "type": "string",
      "example": "0.01"
    },
    "margin": {
      "type": "string",
      "example": "0.01"
    },
    "value": {
      "type": "string",
      "example": "string"
    },
    "net": {
      "type": "string",
      "example": "string"
    },
    "terms": {
      "type": "string",
      "example": "string"
    },
    "rollovertm": {
      "type": "string",
      "example": "string"
    },
    "misc": {
      "type": "string",
      "example": "string"
    },
    "oflags": {
      "type": "string",
      "example": "string"
    }
  }
}