OANDA · Example Payload

Settradedependentorders

ForexFX TradingCFD TradingFinancial ServicesTrading APIs

Settradedependentorders is an example object payload from OANDA, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummarymethodpathparametersresponses

Example Payload

setTradeDependentOrders.json Raw ↑
{
  "operationId": "setTradeDependentOrders",
  "summary": "Set Dependent Orders",
  "method": "PUT",
  "path": "/accounts/{accountID}/trades/{tradeSpecifier}/orders",
  "parameters": {},
  "responses": {
    "200": {
      "description": "The Trade's dependent Orders have been modified as requested.",
      "schema_ref": ""
    },
    "400": {
      "description": "The Trade's dependent Orders cannot be modified as requested.",
      "schema_ref": ""
    },
    "401": {
      "description": "",
      "schema_ref": ""
    },
    "404": {
      "description": "",
      "schema_ref": ""
    },
    "405": {
      "description": "",
      "schema_ref": ""
    }
  }
}