OANDA · Schema

AccountChanges

An AccountChanges Object is used to represent the changes to an Account's Orders, Trades and Positions since a specified Account TransactionID in the past.

ForexFX TradingCFD TradingFinancial-ServicesTrading APIs

Properties

Name Type Description
ordersCreated array The Orders created. These Orders may have been filled, cancelled or triggered in the same period.
ordersCancelled array The Orders cancelled.
ordersFilled array The Orders filled.
ordersTriggered array The Orders triggered.
tradesOpened array The Trades opened.
tradesReduced array The Trades reduced.
tradesClosed array The Trades closed.
positions array The Positions changed.
transactions array The Transactions that have been generated.
View JSON Schema on GitHub

JSON Schema

AccountChanges.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "AccountChanges",
  "description": "An AccountChanges Object is used to represent the changes to an Account's Orders, Trades and Positions since a specified Account TransactionID in the past.",
  "type": "object",
  "properties": {
    "ordersCreated": {
      "type": "array",
      "description": "The Orders created. These Orders may have been filled, cancelled or triggered in the same period.",
      "items": {
        "$ref": "#/definitions/Order"
      }
    },
    "ordersCancelled": {
      "type": "array",
      "description": "The Orders cancelled.",
      "items": {
        "$ref": "#/definitions/Order"
      }
    },
    "ordersFilled": {
      "type": "array",
      "description": "The Orders filled.",
      "items": {
        "$ref": "#/definitions/Order"
      }
    },
    "ordersTriggered": {
      "type": "array",
      "description": "The Orders triggered.",
      "items": {
        "$ref": "#/definitions/Order"
      }
    },
    "tradesOpened": {
      "type": "array",
      "description": "The Trades opened.",
      "items": {
        "$ref": "#/definitions/TradeSummary"
      }
    },
    "tradesReduced": {
      "type": "array",
      "description": "The Trades reduced.",
      "items": {
        "$ref": "#/definitions/TradeSummary"
      }
    },
    "tradesClosed": {
      "type": "array",
      "description": "The Trades closed.",
      "items": {
        "$ref": "#/definitions/TradeSummary"
      }
    },
    "positions": {
      "type": "array",
      "description": "The Positions changed.",
      "items": {
        "$ref": "#/definitions/Position"
      }
    },
    "transactions": {
      "type": "array",
      "description": "The Transactions that have been generated.",
      "items": {
        "$ref": "#/definitions/Transaction"
      }
    }
  }
}

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