eToro · Schema

OrderForOpen

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
orderId integer Unique identifier for the order
orderType integer Type of order executed
statusId integer Status of the order
cid integer Customer ID associated with the order
openDateTime string The timestamp when the order was opened.
lastUpdate string The last update timestamp of the order.
instrumentId integer The unique identifier of the financial instrument to trade.
amount number The amount of money to invest in the trade.
amountInUnits number The number of units to trade.
isBuy boolean True for a buy (long) order, false for a sell (short) order.
leverage integer The leverage multiplier for the trade.
stopLossRate number The stop-loss rate at which the trade will automatically close to limit losses.
takeProfitRate number The take-profit rate at which the trade will automatically close to secure profits.
isTslEnabled boolean Indicates whether a trailing stop-loss is enabled.
isDiscounted boolean Indicates if the order is eligible for a discount.
mirrorId integer ID related to mirrored trades, if applicable.
frozenAmount number Amount frozen for the order.
totalExternalCosts number Total external costs associated with the trade.
isNoTakeProfit boolean True if no take-profit is set for this order.
isNoStopLoss boolean True if no stop-loss is set for this order.
lotCount number The number of lots in the order.
openPositionActionType integer Position open reason.
externalOperation object External operation details, if any.
View JSON Schema on GitHub

JSON Schema

OrderForOpen.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/OrderForOpen.json",
  "title": "OrderForOpen",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "integer",
      "description": "Unique identifier for the order"
    },
    "orderType": {
      "type": "integer",
      "description": "Type of order executed"
    },
    "statusId": {
      "type": "integer",
      "description": "Status of the order"
    },
    "cid": {
      "type": "integer",
      "description": "Customer ID associated with the order"
    },
    "openDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the order was opened."
    },
    "lastUpdate": {
      "type": "string",
      "format": "date-time",
      "description": "The last update timestamp of the order."
    },
    "instrumentId": {
      "type": "integer",
      "description": "The unique identifier of the financial instrument to trade."
    },
    "amount": {
      "type": "number",
      "format": "float",
      "description": "The amount of money to invest in the trade."
    },
    "amountInUnits": {
      "type": "number",
      "format": "float",
      "description": "The number of units to trade."
    },
    "isBuy": {
      "type": "boolean",
      "description": "True for a buy (long) order, false for a sell (short) order."
    },
    "leverage": {
      "type": "integer",
      "description": "The leverage multiplier for the trade."
    },
    "stopLossRate": {
      "type": "number",
      "format": "float",
      "description": "The stop-loss rate at which the trade will automatically close to limit losses."
    },
    "takeProfitRate": {
      "type": "number",
      "format": "float",
      "description": "The take-profit rate at which the trade will automatically close to secure profits."
    },
    "isTslEnabled": {
      "type": "boolean",
      "description": "Indicates whether a trailing stop-loss is enabled."
    },
    "isDiscounted": {
      "type": "boolean",
      "description": "Indicates if the order is eligible for a discount."
    },
    "mirrorId": {
      "type": "integer",
      "description": "ID related to mirrored trades, if applicable."
    },
    "frozenAmount": {
      "type": "number",
      "format": "float",
      "description": "Amount frozen for the order."
    },
    "totalExternalCosts": {
      "type": "number",
      "format": "float",
      "description": "Total external costs associated with the trade."
    },
    "isNoTakeProfit": {
      "type": "boolean",
      "description": "True if no take-profit is set for this order."
    },
    "isNoStopLoss": {
      "type": "boolean",
      "description": "True if no stop-loss is set for this order."
    },
    "lotCount": {
      "type": "number",
      "format": "float",
      "description": "The number of lots in the order."
    },
    "openPositionActionType": {
      "type": "integer",
      "description": "Position open reason."
    },
    "externalOperation": {
      "type": "object",
      "description": "External operation details, if any.",
      "nullable": true
    }
  }
}

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/OrderForOpen"
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.