OANDA · Schema

PriceBucket

A Price Bucket represents a price available for an amount of liquidity

ForexFX TradingCFD TradingFinancial ServicesTrading APIs

Properties

Name Type Description
price string The Price offered by the PriceBucket
liquidity integer The amount of liquidity offered by the PriceBucket
View JSON Schema on GitHub

JSON Schema

PriceBucket.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PriceBucket",
  "description": "A Price Bucket represents a price available for an amount of liquidity",
  "type": "object",
  "properties": {
    "price": {
      "type": "string",
      "description": "The Price offered by the PriceBucket",
      "format": "A decimal number encodes as a string. The amount of precision provided depends on the Instrument."
    },
    "liquidity": {
      "type": "integer",
      "description": "The amount of liquidity offered by the PriceBucket"
    }
  }
}