{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/AssetsHistoryAsset.json",
  "title": "AssetsHistoryAsset",
  "type": "object",
  "required": [
    "instrumentId",
    "symbol",
    "investedPct",
    "valuePct"
  ],
  "properties": {
    "instrumentId": {
      "type": "integer"
    },
    "symbol": {
      "type": "string",
      "description": "Trading symbol for this instrument (e.g. AAPL, TSLA)"
    },
    "investedPct": {
      "type": "number",
      "description": "Amount invested in this instrument as a ratio of realized equity. Decimal fraction: 0.5 = 50%."
    },
    "valuePct": {
      "type": "number",
      "description": "Current value of this instrument as a ratio of total equity. Decimal fraction: 0.5 = 50%."
    }
  }
}