eToro · Schema

GetOrderInfoPositionExecution

Details of a position execution resulting from the order.

Social TradingCopy TradingInvestingMarket DataPortfolio ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
positionId integer The unique identifier of the executed position.
state string The current state of the position. Possible values: open, closed.
investedAmountCurrency number The invested amount in the account currency.
initialExposureAccountCurrency number The initial exposure in the account currency.
initialExposureAssetCurrency number The initial exposure in the asset currency.
addedFunds number Additional funds added to the position.
marginAccountCurrency number Margin held in the account currency.
marginAssetCurrency number Margin held in the asset currency.
remainingUnits number Remaining units in the position.
remainingContracts number Remaining contracts in the position.
stopLossRate number The stop-loss rate for the position.
takeProfitRate number The take-profit rate for the position.
openingData object
View JSON Schema on GitHub

JSON Schema

GetOrderInfoPositionExecution.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/GetOrderInfoPositionExecution.json",
  "title": "GetOrderInfoPositionExecution",
  "type": "object",
  "description": "Details of a position execution resulting from the order.",
  "properties": {
    "positionId": {
      "type": "integer",
      "format": "int64",
      "description": "The unique identifier of the executed position."
    },
    "state": {
      "type": "string",
      "description": "The current state of the position. Possible values: open, closed."
    },
    "investedAmountCurrency": {
      "type": "number",
      "format": "double",
      "description": "The invested amount in the account currency."
    },
    "initialExposureAccountCurrency": {
      "type": "number",
      "format": "double",
      "description": "The initial exposure in the account currency."
    },
    "initialExposureAssetCurrency": {
      "type": "number",
      "format": "double",
      "description": "The initial exposure in the asset currency."
    },
    "addedFunds": {
      "type": "number",
      "format": "double",
      "description": "Additional funds added to the position."
    },
    "marginAccountCurrency": {
      "type": "number",
      "format": "double",
      "description": "Margin held in the account currency."
    },
    "marginAssetCurrency": {
      "type": "number",
      "format": "double",
      "description": "Margin held in the asset currency."
    },
    "remainingUnits": {
      "type": "number",
      "format": "double",
      "description": "Remaining units in the position."
    },
    "remainingContracts": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "Remaining contracts in the position."
    },
    "stopLossRate": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The stop-loss rate for the position."
    },
    "takeProfitRate": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The take-profit rate for the position."
    },
    "openingData": {
      "$ref": "#/components/schemas/GetOrderInfoOpeningData"
    }
  }
}