eToro · Schema

AggregatedPortfolioInstrumentAggregate

Aggregated data across all positions for a single instrument.

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
instrumentId integer eToro instrument identifier.
assetCurrency string ISO 4217 code of the instrument's base currency (e.g. 'USD', 'EUR').
totalMarginAccountCurrency number Sum of margins across all positions for this instrument, in account currency.
totalFees number Sum of transaction fees taken on positions of this instrument, in asset currency.
totalFeesAcctCcy number Sum of transaction fees taken on positions of this instrument, in account currency.
totalTaxes number Sum of taxes for this instrument, in asset currency.
totalTaxesAcctCcy number Sum of taxes for this instrument, in account currency.
totalMarginAssetCurrency number Sum of margins across all positions for this instrument, in asset currency.
pnlAssetCurrency number Unrealized P&L for this instrument in asset currency. Null when P&L calculation is not requested.
accountCurrencyRoePercent number Return on equity in account currency: accountCurrencyReturn / totalMarginAccountCurrency.
netContracts number Net contracts across all positions (positive = net long, negative = net short).
netUnits number Net units across all positions (positive = net long, negative = net short).
netCurrentExposureAssetCurrency number Net current market exposure in asset currency.
netCurrentExposureAccountCurrency number Net current market exposure in account currency.
netInitialExposureAccountCurrency number Net initial exposure at open in account currency.
accountCurrencyReturn number Unrealized P&L for this instrument in account currency.
liquidationValueAccountCurrency number Current liquidation value in account currency: totalMarginAccountCurrency + accountCurrencyReturn.
liquidationValueAssetCurrency number Current liquidation value in asset currency.
avgLeverage number Average leverage across all positions for this instrument.
avgOpenRate number Weighted average open rate across all positions for this instrument.
netAvgOpenRate number Direction-aware weighted average open rate (long contributions minus short).
avgConversionRate number Weighted average asset-to-account-currency conversion rate at position open.
View JSON Schema on GitHub

JSON Schema

AggregatedPortfolioInstrumentAggregate.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/AggregatedPortfolioInstrumentAggregate.json",
  "title": "AggregatedPortfolioInstrumentAggregate",
  "type": "object",
  "description": "Aggregated data across all positions for a single instrument.",
  "properties": {
    "instrumentId": {
      "type": "integer",
      "format": "int32",
      "description": "eToro instrument identifier."
    },
    "assetCurrency": {
      "type": "string",
      "description": "ISO 4217 code of the instrument's base currency (e.g. 'USD', 'EUR')."
    },
    "totalMarginAccountCurrency": {
      "type": "number",
      "format": "double",
      "description": "Sum of margins across all positions for this instrument, in account currency."
    },
    "totalFees": {
      "type": "number",
      "format": "double",
      "description": "Sum of transaction fees taken on positions of this instrument, in asset currency."
    },
    "totalFeesAcctCcy": {
      "type": "number",
      "format": "double",
      "description": "Sum of transaction fees taken on positions of this instrument, in account currency."
    },
    "totalTaxes": {
      "type": "number",
      "format": "double",
      "description": "Sum of taxes for this instrument, in asset currency."
    },
    "totalTaxesAcctCcy": {
      "type": "number",
      "format": "double",
      "description": "Sum of taxes for this instrument, in account currency."
    },
    "totalMarginAssetCurrency": {
      "type": "number",
      "format": "double",
      "description": "Sum of margins across all positions for this instrument, in asset currency."
    },
    "pnlAssetCurrency": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "Unrealized P&L for this instrument in asset currency. Null when P&L calculation is not requested."
    },
    "accountCurrencyRoePercent": {
      "type": "number",
      "format": "double",
      "description": "Return on equity in account currency: accountCurrencyReturn / totalMarginAccountCurrency."
    },
    "netContracts": {
      "type": "number",
      "format": "double",
      "description": "Net contracts across all positions (positive = net long, negative = net short)."
    },
    "netUnits": {
      "type": "number",
      "format": "double",
      "description": "Net units across all positions (positive = net long, negative = net short)."
    },
    "netCurrentExposureAssetCurrency": {
      "type": "number",
      "format": "double",
      "description": "Net current market exposure in asset currency."
    },
    "netCurrentExposureAccountCurrency": {
      "type": "number",
      "format": "double",
      "description": "Net current market exposure in account currency."
    },
    "netInitialExposureAccountCurrency": {
      "type": "number",
      "format": "double",
      "description": "Net initial exposure at open in account currency."
    },
    "accountCurrencyReturn": {
      "type": "number",
      "format": "double",
      "description": "Unrealized P&L for this instrument in account currency."
    },
    "liquidationValueAccountCurrency": {
      "type": "number",
      "format": "double",
      "description": "Current liquidation value in account currency: totalMarginAccountCurrency + accountCurrencyReturn."
    },
    "liquidationValueAssetCurrency": {
      "type": "number",
      "format": "double",
      "description": "Current liquidation value in asset currency."
    },
    "avgLeverage": {
      "type": "number",
      "format": "double",
      "description": "Average leverage across all positions for this instrument."
    },
    "avgOpenRate": {
      "type": "number",
      "format": "double",
      "description": "Weighted average open rate across all positions for this instrument."
    },
    "netAvgOpenRate": {
      "type": "number",
      "format": "double",
      "description": "Direction-aware weighted average open rate (long contributions minus short)."
    },
    "avgConversionRate": {
      "type": "number",
      "format": "double",
      "description": "Weighted average asset-to-account-currency conversion rate at position open."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/AggregatedPortfolioInstrumentAggregate"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.