{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rcqsignals-com/json-schema/rcqsignals-com-signal-request-schema.json",
  "title": "SignalRequest",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rcqsignals-com-openapi.json#/components/schemas/SignalRequest",
  "properties": {
    "direction": {
      "type": "string",
      "title": "Direction"
    },
    "confidence": {
      "type": "number",
      "title": "Confidence",
      "default": 0.75
    },
    "entry_price": {
      "type": "number",
      "title": "Entry Price"
    },
    "entry_order_type": {
      "type": "string",
      "title": "Entry Order Type",
      "default": "limit"
    },
    "stop_trigger": {
      "type": "number",
      "title": "Stop Trigger"
    },
    "stop_limit": {
      "type": "number",
      "title": "Stop Limit"
    },
    "take_profit": {
      "type": "number",
      "title": "Take Profit"
    },
    "trail_ref": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trail Ref"
    },
    "timestamp": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timestamp"
    },
    "signal_id": {
      "type": "string",
      "title": "Signal Id",
      "default": ""
    },
    "strategy_id": {
      "type": "string",
      "title": "Strategy Id",
      "default": "btc-4h-command"
    }
  },
  "type": "object",
  "required": [
    "direction",
    "entry_price",
    "stop_trigger",
    "stop_limit",
    "take_profit"
  ]
}