OANDA · Schema

OrderBookBucket

The order book data for a partition of the instrument's prices.

ForexFX TradingCFD TradingFinancial-ServicesTrading APIs

Properties

Name Type Description
price string The lowest price (inclusive) covered by the bucket. The bucket covers the price range from the price to price + the order book's bucketWidth.
longCountPercent string The percentage of the total number of orders represented by the long orders found in this bucket.
shortCountPercent string The percentage of the total number of orders represented by the short orders found in this bucket.
View JSON Schema on GitHub

JSON Schema

OrderBookBucket.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "OrderBookBucket",
  "description": "The order book data for a partition of the instrument's prices.",
  "type": "object",
  "properties": {
    "price": {
      "type": "string",
      "description": "The lowest price (inclusive) covered by the bucket. The bucket covers the price range from the price to price + the order book's bucketWidth.",
      "format": "A decimal number encodes as a string. The amount of precision provided depends on the Instrument."
    },
    "longCountPercent": {
      "type": "string",
      "description": "The percentage of the total number of orders represented by the long orders found in this bucket.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    },
    "shortCountPercent": {
      "type": "string",
      "description": "The percentage of the total number of orders represented by the short orders found in this bucket.",
      "format": "A decimal number encoded as a string. The amount of precision provided depends on what the number represents."
    }
  }
}

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