OANDA · Schema

MT4TransactionHeartbeat

A TransactionHeartbeat object is injected into the Transaction 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 TransactionHeartbeat was created.
View JSON Schema on GitHub

JSON Schema

MT4TransactionHeartbeat.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "MT4TransactionHeartbeat",
  "description": "A TransactionHeartbeat object is injected into the Transaction 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 TransactionHeartbeat 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)."
    }
  }
}