OANDA · Example Payload

Get_Instruments_{Instrument}_Positionbook

ForexFX TradingCFD TradingFinancial ServicesTrading APIs

Get_Instruments_{Instrument}_Positionbook 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

get_instruments_{instrument}_positionBook.json Raw ↑
{
  "operationId": "",
  "summary": "Get Position Book",
  "method": "GET",
  "path": "/instruments/{instrument}/positionBook",
  "parameters": {},
  "responses": {
    "200": {
      "description": "The position book has been successfully provided.",
      "schema_ref": ""
    },
    "400": {
      "description": "",
      "schema_ref": ""
    },
    "401": {
      "description": "",
      "schema_ref": ""
    },
    "404": {
      "description": "",
      "schema_ref": ""
    },
    "405": {
      "description": "",
      "schema_ref": ""
    }
  }
}