eToro · Schema
Mirror
Social TradingCopy TradingInvestingMarket DataPortfolio ManagementFintechTradingStocksCryptocurrencyETFs
Properties
| Name | Type | Description |
|---|---|---|
| mirrorID | integer | Unique identifier for the mirror |
| CID | integer | Customer ID associated with the mirror |
| parentCID | integer | Customer ID of the trader being copied |
| stopLossPercentage | number | The precentage of the mirror value that the StopLossAmount represented at the time of the last edit. Adding or removing funds from the mirror will trigger recalculation of StopLossAmount based on this |
| isPaused | boolean | Indication if the mirror is currently paused, restricting open of additional positions inside the mirror |
| copyExistingPositions | boolean | Indication if mirror originally copied all parent existing position on mirror registration |
| availableAmount | number | Available to trade USD balance in the mirror. This balance is reserved for mirror operations |
| stopLossAmount | number | USD value of the mirror at which MirrorStopLoss will be triggered and cause liquidation of the mirror. Adding or removing funds from the mirror will trigger recalculation of this value based on StopLo |
| initialInvestment | number | USD amount initially invested in the mirror |
| depositSummary | number | Total USD amount deposited into the mirror after initial investment |
| withdrawalSummary | number | Total USD amount withdrawn from the mirror |
| positions | array | List of currently open trading positions in the mirror |
| parentUsername | string | Username of the trader being copied |
| closedPositionsNetProfit | number | Total USD net profit of all positions that closed in the mirror |
| startedCopyDate | string | Date and time when the mirror trading was initiated |
| pendingForClosure | boolean | Indication if the mirror is in closure process |
| parentMirrors | array | Parent mirrors for this mirror (if any) |
| mirrorCalculationType | integer | (Obsolete) Mirror positions weights calculation methodology |
| ordersForOpen | array | Active orders in the mirror to open positions |
| ordersForClose | array | Active orders in the mirror to close positions |
| ordersForCloseMultiple | array | Active orders in the mirror to close positions |
| mirrorStatusID | integer | Current status of the mirror. 0 - Active, 1 - Paused, 2 - Pending Closure, 3 - In Alignment Process |
| delayedOrderForClose | array | Delayed orders for closing positions |
| delayedOrderForOpen | array | Delayed orders for opening positions |
| entryOrders | array | Entry orders awaiting execution in the mirror |
| exitOrders | array | Exit orders awaiting execution in the mirror |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/Mirror.json",
"title": "Mirror",
"type": "object",
"properties": {
"mirrorID": {
"type": "integer",
"description": "Unique identifier for the mirror"
},
"CID": {
"type": "integer",
"description": "Customer ID associated with the mirror"
},
"parentCID": {
"type": "integer",
"description": "Customer ID of the trader being copied"
},
"stopLossPercentage": {
"type": "number",
"format": "float",
"description": "The precentage of the mirror value that the StopLossAmount represented at the time of the last edit. Adding or removing funds from the mirror will trigger recalculation of StopLossAmount based on this value compared to the current mirror value"
},
"isPaused": {
"type": "boolean",
"description": "Indication if the mirror is currently paused, restricting open of additional positions inside the mirror"
},
"copyExistingPositions": {
"type": "boolean",
"description": "Indication if mirror originally copied all parent existing position on mirror registration"
},
"availableAmount": {
"type": "number",
"format": "float",
"description": "Available to trade USD balance in the mirror. This balance is reserved for mirror operations"
},
"stopLossAmount": {
"type": "number",
"format": "float",
"description": "USD value of the mirror at which MirrorStopLoss will be triggered and cause liquidation of the mirror. Adding or removing funds from the mirror will trigger recalculation of this value based on StopLossPercentage compared to the current mirror value"
},
"initialInvestment": {
"type": "number",
"format": "float",
"description": "USD amount initially invested in the mirror"
},
"depositSummary": {
"type": "number",
"format": "float",
"description": "Total USD amount deposited into the mirror after initial investment"
},
"withdrawalSummary": {
"type": "number",
"format": "float",
"description": "Total USD amount withdrawn from the mirror"
},
"positions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Position"
},
"description": "List of currently open trading positions in the mirror"
},
"parentUsername": {
"type": "string",
"description": "Username of the trader being copied"
},
"closedPositionsNetProfit": {
"type": "number",
"format": "float",
"description": "Total USD net profit of all positions that closed in the mirror"
},
"startedCopyDate": {
"type": "string",
"format": "date-time",
"description": "Date and time when the mirror trading was initiated"
},
"pendingForClosure": {
"type": "boolean",
"description": "Indication if the mirror is in closure process"
},
"parentMirrors": {
"type": "array",
"items": {
"type": "object"
},
"description": "Parent mirrors for this mirror (if any)"
},
"mirrorCalculationType": {
"type": "integer",
"description": "(Obsolete) Mirror positions weights calculation methodology"
},
"ordersForOpen": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OrderForOpen"
},
"description": "Active orders in the mirror to open positions"
},
"ordersForClose": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OrderForClose"
},
"description": "Active orders in the mirror to close positions"
},
"ordersForCloseMultiple": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OrderForCloseMultiple"
},
"description": "Active orders in the mirror to close positions"
},
"mirrorStatusID": {
"type": "integer",
"description": "Current status of the mirror. 0 - Active, 1 - Paused, 2 - Pending Closure, 3 - In Alignment Process"
},
"delayedOrderForClose": {
"type": "array",
"items": {
"type": "object"
},
"description": "Delayed orders for closing positions"
},
"delayedOrderForOpen": {
"type": "array",
"items": {
"type": "object"
},
"description": "Delayed orders for opening positions"
},
"entryOrders": {
"type": "array",
"items": {
"type": "object"
},
"description": "Entry orders awaiting execution in the mirror"
},
"exitOrders": {
"type": "array",
"items": {
"type": "object"
},
"description": "Exit orders awaiting execution in the mirror"
}
}
}