Trading 212 · Schema

Position

Trading 212 Position schema

InvestingFinanceTradingStocksPortfolioCommission-FreeISA

Properties

Name Type Description
averagePricePaid number Average price paid, in instrument currency, per share.
createdAt string The ISO 8601 formatted date of when the position was opened.
currentPrice number Current price, in instrument currency, of a single share.
instrument object
quantity number Total quantity of shares owned.
quantityAvailableForTrading number Quantity of shares available for trading.
quantityInPies number Quantity of shares currently used in pie.
walletImpact object Collects the financial impact of the position on the user's wallet.
View JSON Schema on GitHub

JSON Schema

Position.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/Position.json",
  "title": "Position",
  "description": "Trading 212 Position schema",
  "properties": {
    "averagePricePaid": {
      "description": "Average price paid, in instrument currency, per share.",
      "type": "number"
    },
    "createdAt": {
      "description": "The ISO 8601 formatted date of when the position was opened.",
      "format": "date-time",
      "type": "string"
    },
    "currentPrice": {
      "description": "Current price, in instrument currency, of a single share.",
      "type": "number"
    },
    "instrument": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/Instrument"
    },
    "quantity": {
      "description": "Total quantity of shares owned.",
      "type": "number"
    },
    "quantityAvailableForTrading": {
      "description": "Quantity of shares available for trading.",
      "type": "number"
    },
    "quantityInPies": {
      "description": "Quantity of shares currently used in pie.",
      "type": "number"
    },
    "walletImpact": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/PositionWalletImpact",
      "description": "Collects the financial impact of the position on the user's wallet."
    }
  },
  "type": "object"
}