OANDA · Schema

PricingHeartbeat

A PricingHeartbeat object is injected into the Pricing stream to ensure that the HTTP connection remains active.

ForexFX TradingCFD TradingFinancial-ServicesTrading APIs

Properties

Name Type Description
type string The string "HEARTBEAT"
time string The date/time when the Heartbeat was created.
View JSON Schema on GitHub

JSON Schema

PricingHeartbeat.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PricingHeartbeat",
  "description": "A PricingHeartbeat object is injected into the Pricing stream to ensure that the HTTP connection remains active.",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The string \"HEARTBEAT\""
    },
    "time": {
      "type": "string",
      "description": "The date/time when the Heartbeat was created.",
      "format": "The RFC 3339 representation is a string conforming to https://tools.ietf.org/rfc/rfc3339.txt. The Unix representation is a string representing the number of seconds since the Unix Epoch (January 1st, 1970 at UTC). The value is a fractional number, where the fractional part represents a fraction of a second (up to nine decimal places)."
    }
  }
}