eToro · Schema

CostBreakdown

Individual cost component (markup, fees, SDRT) in the requested order currency.

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
costType string Identifies which cost component this entry represents.
amount number The monetary value of this cost component, expressed in `currency`.
currency string ISO 4217 currency code in which `amount` is denominated.
View JSON Schema on GitHub

JSON Schema

CostBreakdown.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/CostBreakdown.json",
  "title": "CostBreakdown",
  "type": "object",
  "description": "Individual cost component (markup, fees, SDRT) in the requested order currency.",
  "properties": {
    "costType": {
      "type": "string",
      "description": "Identifies which cost component this entry represents.",
      "enum": [
        "markup",
        "marketSpread",
        "transactionFee",
        "overnightFee",
        "overWeekendFee",
        "sdrt"
      ]
    },
    "amount": {
      "type": "number",
      "format": "double",
      "description": "The monetary value of this cost component, expressed in `currency`."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code in which `amount` is denominated."
    }
  }
}