OANDA · Schema

Instrument

Full specification of an Instrument.

ForexFX TradingCFD TradingFinancial-ServicesTrading APIs

Properties

Name Type Description
name string The name of the Instrument
type string The type of the Instrument
displayName string The display name of the Instrument
pipLocation integer The location of the "pip" for this instrument. The decimal position of the pip in this Instrument's price can be found at 10 ^ pipLocation (e.g. -4 pipLocation results in a decimal pip position of 10
displayPrecision integer The number of decimal places that should be used to display prices for this instrument. (e.g. a displayPrecision of 5 would result in a price of "1" being displayed as "1.00000")
tradeUnitsPrecision integer The amount of decimal places that may be provided when specifying the number of units traded for this instrument.
minimumTradeSize string The smallest number of units allowed to be traded for this instrument.
maximumTrailingStopDistance string The maximum trailing stop distance allowed for a trailing stop loss created for this instrument. Specified in price units.
minimumTrailingStopDistance string The minimum trailing stop distance allowed for a trailing stop loss created for this instrument. Specified in price units.
maximumPositionSize string The maximum position size allowed for this instrument. Specified in units.
maximumOrderUnits string The maximum units allowed for an Order placed for this instrument. Specified in units.
marginRate string The margin rate for this instrument.
commission object
View JSON Schema on GitHub

JSON Schema

Instrument.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Instrument",
  "description": "Full specification of an Instrument.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the Instrument",
      "format": "A string containing the base currency and quote currency delimited by a \"_\"."
    },
    "type": {
      "type": "string",
      "description": "The type of the Instrument",
      "enum": [
        "CURRENCY",
        "CFD",
        "METAL"
      ]
    },
    "displayName": {
      "type": "string",
      "description": "The display name of the Instrument"
    },
    "pipLocation": {
      "type": "integer",
      "description": "The location of the \"pip\" for this instrument. The decimal position of the pip in this Instrument's price can be found at 10 ^ pipLocation (e.g. -4 pipLocation results in a decimal pip position of 10 ^ -4 = 0.0001)."
    },
    "displayPrecision": {
      "type": "integer",
      "description": "The number of decimal places that should be used to display prices for this instrument. (e.g. a displayPrecision of 5 would result in a price of \"1\" being displayed as \"1.00000\")"
    },
    "tradeUnitsPrecision": {
      "type": "integer",
      "description": "The amount of decimal places that may be provided when specifying the number of units traded for this instrument."
    },
    "minimumTradeSize": {
      "type": "string",
      "description": "The smallest number of units allowed to be traded for this instrument.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    },
    "maximumTrailingStopDistance": {
      "type": "string",
      "description": "The maximum trailing stop distance allowed for a trailing stop loss created for this instrument. Specified in price units.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    },
    "minimumTrailingStopDistance": {
      "type": "string",
      "description": "The minimum trailing stop distance allowed for a trailing stop loss created for this instrument. Specified in price units.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    },
    "maximumPositionSize": {
      "type": "string",
      "description": "The maximum position size allowed for this instrument. Specified in units.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    },
    "maximumOrderUnits": {
      "type": "string",
      "description": "The maximum units allowed for an Order placed for this instrument. Specified in units.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    },
    "marginRate": {
      "type": "string",
      "description": "The margin rate for this instrument.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    },
    "commission": {
      "$ref": "#/definitions/InstrumentCommission"
    }
  }
}

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