Trading 212 · Schema

Investments

Trading 212 Investments schema

InvestingFinanceTradingStocksPortfolioCommission-FreeISA

Properties

Name Type Description
currentValue number Current value of all the investments.
realizedProfitLoss number The all-time realised profit loss from all of the trades executed.
totalCost number The cost basis of your current investments. The total amount of funds you've invested in the shares you currently own.
unrealizedProfitLoss number The potential profit/loss of your current investments, showing how much you could gain or lose if you were to sell them now.
View JSON Schema on GitHub

JSON Schema

Investments.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/Investments.json",
  "title": "Investments",
  "description": "Trading 212 Investments schema",
  "properties": {
    "currentValue": {
      "description": "Current value of all the investments.",
      "type": "number"
    },
    "realizedProfitLoss": {
      "description": "The all-time realised profit loss from all of the trades executed.",
      "type": "number"
    },
    "totalCost": {
      "description": "The cost basis of your current investments. The total amount of funds you've invested in the shares you currently own.",
      "type": "number"
    },
    "unrealizedProfitLoss": {
      "description": "The potential profit/loss of your current investments, showing how much you could gain or lose if you were to sell them now.",
      "type": "number"
    }
  },
  "type": "object"
}