{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tradingview/json-schema/tradingview-streaming-daily-bar-response-schema.json",
  "title": "StreamingDailyBarResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tradingview-broker-rest-api-openapi.yml#/components/schemas/StreamingDailyBarResponse",
  "allOf": [
    {
      "$ref": "#/$defs/StreamingDailyBarType"
    },
    {
      "type": "object",
      "description": "Daily bar",
      "properties": {
        "id": {
          "description": "Symbol",
          "type": "string"
        },
        "o": {
          "description": "Open.",
          "type": "number"
        },
        "h": {
          "description": "High.",
          "type": "number"
        },
        "l": {
          "description": "Low.",
          "type": "number"
        },
        "c": {
          "description": "Close.",
          "type": "number"
        },
        "v": {
          "description": "Volume.",
          "type": "number"
        },
        "t": {
          "description": "Unix timestamp in seconds. Timestamp time should be always 00:00 at the start of the day.",
          "type": "number"
        }
      },
      "required": [
        "id",
        "o",
        "h",
        "l",
        "c",
        "v",
        "t"
      ]
    }
  ],
  "$defs": {
    "StreamingDailyBarType": {
      "title": "StreamingDailyBarType",
      "type": "object",
      "description": "Daily Bar",
      "properties": {
        "f": {
          "description": "Should always be `d`.",
          "type": "string"
        }
      },
      "required": [
        "f"
      ]
    }
  }
}