{ "$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" }