Skip to main content
Glama

Read historical or paper evidence

get_run_report
Read-onlyIdempotent

Read the status and bounded performance report for one run in the connected workspace. Returns the tested market, interval, revision (the tested code), strategy_revision (the strategy's current revision, accepted by start_backtest and update_strategy), recorded rules when verifiable, the run's adjustments and data note. Engine runs carry the spot buy-and-hold recorded with the run in simulation.metrics.buy_and_hold; old-engine runs keep their paired baseline. Paper reads require paper:read and do not start, stop, qualify, or modify a bot. Legacy runs without supported assumptions are labeled. Does not return raw market feeds.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "run_id": "<run_id>"
    },
    "name": "get_run_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes

Output Schema

NameRequiredDescriptionDefault
modeYes
costsNo
errorNo
queueNo
venueYes
end_tsYes
run_idYes
statusYes
symbolYes
app_urlYes
last_tsYes
metricsYes
baselineYes
intervalYes
revisionYes
start_tsYes
data_noteNo
next_stepNo
parametersNo
simulationNo
adjustmentsNo
assumptionsYes
limitationsYes
strategy_idYes
tested_rulesYes
engine_versionYes
paper_setup_urlNo
strategy_versionYes
strategy_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "boolean"
      +      },
      +      {
      +        "type": "null"
      +      },
      +      {
      +        "items": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "__schema1": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "boolean"
      +      },
      +      {
      +        "type": "null"
      +      },
      +      {
      +        "items": {
      +          "$ref": "#/$defs/__schema1"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": {
      +          "$ref": "#/$defs/__schema1"
      +        },
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / properties / adjustments
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / costs
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "fees_paid": {
      +          "type": "number"
      +        },
      +        "fills": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "fees_paid",
      +        "fills"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / data_note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / next_step
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / paper_setup_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / parameters
      Added value: +{
      +  "additionalProperties": {
      +    "$ref": "#/$defs/__schema0"
      +  },
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / simulation
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "assumptions": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "execution_window_model": {
      +          "enum": [
      +            "candle_metadata",
      +            "declared_calendar"
      +          ],
      +          "type": "string"
      +        },
      +        "fee_bps": {
      +          "type": "string"
      +        },
      +        "initial_capital": {
      +          "type": "string"
      +        },
      +        "reporting_currency": {
      +          "type": "string"
      +        },
      +        "slippage_bps": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "initial_capital",
      +        "reporting_currency",
      +        "fee_bps",
      +        "slippage_bps",
      +        "execution_window_model"
      +      ],
      +      "type": "object"
      +    },
      +    "corporate_actions": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "applied_count": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "latest_chunk_settlements": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "after_fill_sequence": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "cost_basis_reporting": {
      +                "decimalBounds": {
      +                  "ge": 0,
      +                  "maxDigits": 42
      +                },
      +                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                "type": "string"
      +              },
      +              "entry_fee_basis_reporting": {
      +                "decimalBounds": {
      +                  "ge": 0,
      +                  "maxDigits": 42
      +                },
      +                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                "type": "string"
      +              },
      +              "observed_at": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "order_adjustments": {
      +                "default": [],
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "order_id": {
      +                      "maxLength": 128,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "quantity_after": {
      +                      "anyOf": [
      +                        {
      +                          "decimalBounds": {
      +                            "gt": 0,
      +                            "maxDigits": 42
      +                          },
      +                          "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "quantity_before": {
      +                      "anyOf": [
      +                        {
      +                          "decimalBounds": {
      +                            "gt": 0,
      +                            "maxDigits": 42
      +                          },
      +                          "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "trigger_after": {
      +                      "anyOf": [
      +                        {
      +                          "decimalBounds": {
      +                            "gt": 0,
      +                            "maxDigits": 42
      +                          },
      +                          "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "trigger_before": {
      +                      "anyOf": [
      +                        {
      +                          "decimalBounds": {
      +                            "gt": 0,
      +                            "maxDigits": 42
      +                          },
      +                          "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "order_id",
      +                    "quantity_after",
      +                    "quantity_before",
      +                    "trigger_after",
      +                    "trigger_before"
      +                  ],
      +                  "title": "SplitOrderAdjustment",
      +                  "type": "object"
      +                },
      +                "maxItems": 256,
      +                "type": "array"
      +              },
      +              "phase": {
      +                "const": "applied",
      +                "default": "applied",
      +                "type": "string"
      +              },
      +              "position_after": {
      +                "decimalBounds": {
      +                  "maxDigits": 42
      +                },
      +                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                "type": "string"
      +              },
      +              "position_before": {
      +                "decimalBounds": {
      +                  "maxDigits": 42
      +                },
      +                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                "type": "string"
      +              },
      +              "record": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "effective_at": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "event_id": {
      +                    "maxLength": 128,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "instrument": {
      +                    "maxLength": 128,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "published_at": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "ratio_new": {
      +                    "decimalBounds": {
      +                      "gt": 0,
      +                      "maxDigits": 42
      +                    },
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  },
      +                  "ratio_old": {
      +                    "decimalBounds": {
      +                      "gt": 0,
      +                      "maxDigits": 42
      +                    },
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  },
      +                  "record_id": {
      +                    "maxLength": 128,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "const": "active",
      +                    "default": "active",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "effective_at",
      +                  "event_id",
      +                  "instrument",
      +                  "published_at",
      +                  "ratio_new",
      +                  "ratio_old",
      +                  "record_id",
      +                  "state"
      +                ],
      +                "title": "ActiveStockSplit",
      +                "type": "object"
      +              },
      +              "sequence": {
      +                "maximum": 9007199254740991,
      +                "minimum": 1,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "after_fill_sequence",
      +              "cost_basis_reporting",
      +              "entry_fee_basis_reporting",
      +              "observed_at",
      +              "order_adjustments",
      +              "phase",
      +              "position_after",
      +              "position_before",
      +              "record",
      +              "sequence"
      +            ],
      +            "title": "SplitSettlement",
      +            "type": "object"
      +          },
      +          "maxItems": 8,
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "applied_count",
      +        "latest_chunk_settlements"
      +      ],
      +      "type": "object"
      +    },
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "adjustments": {
      +          "default": [],
      +          "items": {
      +            "maxLength": 300,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "maxItems": 64,
      +          "type": "array"
      +        },
      +        "coverage": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "bars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "expectedBars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "expectedExecutionBars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "feedId": {
      +                "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                "type": "string"
      +              },
      +              "firstAvailableAt": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "firstMissingOpen": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "lastAvailableAt": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "missingBars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "missingEvaluationBars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "missingExecutionBars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "requiredWarmupBars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "sourceDigest": {
      +                "pattern": "^[0-9a-f]{64}$",
      +                "type": "string"
      +              },
      +              "warmupBars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "bars",
      +              "expectedBars",
      +              "expectedExecutionBars",
      +              "feedId",
      +              "firstAvailableAt",
      +              "firstMissingOpen",
      +              "lastAvailableAt",
      +              "missingBars",
      +              "missingEvaluationBars",
      +              "missingExecutionBars",
      +              "requiredWarmupBars",
      +              "sourceDigest",
      +              "warmupBars"
      +            ],
      +            "title": "SimulationFeedCoverage",
      +            "type": "object"
      +          },
      +          "maxItems": 32,
      +          "type": "array"
      +        },
      +        "details": {
      +          "default": [],
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "barOpenTime": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "digest": {
      +                "anyOf": [
      +                  {
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "instrument": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "minutes": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "unavailable": {
      +                "type": "boolean"
      +              },
      +              "version": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "barOpenTime",
      +              "digest",
      +              "instrument",
      +              "minutes",
      +              "unavailable",
      +              "version"
      +            ],
      +            "title": "SimulationDetailEntry",
      +            "type": "object"
      +          },
      +          "maxItems": 10000,
      +          "type": "array"
      +        },
      +        "funding": {
      +          "default": [],
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "digest": {
      +                "pattern": "^[0-9a-f]{64}$",
      +                "type": "string"
      +              },
      +              "fromTime": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "instrument": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "periods": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "fromTime": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "kind": {
      +                      "enum": [
      +                        "actual",
      +                        "estimated",
      +                        "pre_perp"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "source": {
      +                      "anyOf": [
      +                        {
      +                          "maxLength": 64,
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "toTime": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "fromTime",
      +                    "kind",
      +                    "source",
      +                    "toTime"
      +                  ],
      +                  "title": "SimulationFundingPeriod",
      +                  "type": "object"
      +                },
      +                "maxItems": 64,
      +                "type": "array"
      +              },
      +              "records": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "toTime": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "digest",
      +              "fromTime",
      +              "instrument",
      +              "periods",
      +              "records",
      +              "toTime"
      +            ],
      +            "title": "SimulationFundingEntry",
      +            "type": "object"
      +          },
      +          "maxItems": 16,
      +          "type": "array"
      +        },
      +        "sources": {
      +          "default": [],
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "barSize": {
      +                "maxLength": 32,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "bars": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "digest": {
      +                "pattern": "^[0-9a-f]{64}$",
      +                "type": "string"
      +              },
      +              "feedId": {
      +                "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                "type": "string"
      +              },
      +              "fromOpenTime": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "instrument": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "toOpenTime": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "version": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "barSize",
      +              "bars",
      +              "digest",
      +              "feedId",
      +              "fromOpenTime",
      +              "instrument",
      +              "toOpenTime",
      +              "version"
      +            ],
      +            "title": "SimulationSourceEntry",
      +            "type": "object"
      +          },
      +          "maxItems": 256,
      +          "type": "array"
      +        },
      +        "warnings": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "enum": [
      +                  "modeled_publication",
      +                  "modeled_open",
      +                  "raw_equity",
      +                  "warmup_shortfall",
      +                  "missing_bars",
      +                  "missing_execution_bars",
      +                  "missing_funding",
      +                  "estimated_funding",
      +                  "session_gap_liquidation",
      +                  "settlement_fills",
      +                  "data_corrected",
      +                  "data_gap"
      +                ],
      +                "type": "string"
      +              },
      +              "feedId": {
      +                "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                "type": "string"
      +              },
      +              "message": {
      +                "maxLength": 2000,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "feedId",
      +              "message"
      +            ],
      +            "title": "SimulationDataWarning",
      +            "type": "object"
      +          },
      +          "maxItems": 256,
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "coverage",
      +        "warnings"
      +      ],
      +      "title": "SimulationDataManifest",
      +      "type": "object"
      +    },
      +    "error": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "initialization": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "activation_at": {
      +          "anyOf": [
      +            {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "evaluated_at": {
      +          "anyOf": [
      +            {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "policy": {
      +          "enum": [
      +            "requested_start",
      +            "recorded_start"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "policy",
      +        "activation_at",
      +        "evaluated_at"
      +      ],
      +      "type": "object"
      +    },
      +    "kind": {
      +      "const": "event_simulation",
      +      "type": "string"
      +    },
      +    "latest_decisions": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "event": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "corporate_action": {
      +                "anyOf": [
      +                  {
      +                    "oneOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "phase": {
      +                            "const": "published",
      +                            "default": "published",
      +                            "type": "string"
      +                          },
      +                          "record": {
      +                            "oneOf": [
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "effective_at": {
      +                                    "maximum": 9007199254740991,
      +                                    "minimum": 0,
      +                                    "type": "integer"
      +                                  },
      +                                  "event_id": {
      +                                    "maxLength": 128,
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "instrument": {
      +                                    "maxLength": 128,
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "published_at": {
      +                                    "maximum": 9007199254740991,
      +                                    "minimum": 0,
      +                                    "type": "integer"
      +                                  },
      +                                  "ratio_new": {
      +                                    "decimalBounds": {
      +                                      "gt": 0,
      +                                      "maxDigits": 42
      +                                    },
      +                                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                    "type": "string"
      +                                  },
      +                                  "ratio_old": {
      +                                    "decimalBounds": {
      +                                      "gt": 0,
      +                                      "maxDigits": 42
      +                                    },
      +                                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                    "type": "string"
      +                                  },
      +                                  "record_id": {
      +                                    "maxLength": 128,
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "state": {
      +                                    "const": "active",
      +                                    "default": "active",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "effective_at",
      +                                  "event_id",
      +                                  "instrument",
      +                                  "published_at",
      +                                  "ratio_new",
      +                                  "ratio_old",
      +                                  "record_id",
      +                                  "state"
      +                                ],
      +                                "title": "ActiveStockSplit",
      +                                "type": "object"
      +                              },
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "effective_at": {
      +                                    "maximum": 9007199254740991,
      +                                    "minimum": 0,
      +                                    "type": "integer"
      +                                  },
      +                                  "event_id": {
      +                                    "maxLength": 128,
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "instrument": {
      +                                    "maxLength": 128,
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "published_at": {
      +                                    "maximum": 9007199254740991,
      +                                    "minimum": 0,
      +                                    "type": "integer"
      +                                  },
      +                                  "record_id": {
      +                                    "maxLength": 128,
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "state": {
      +                                    "const": "cancelled",
      +                                    "default": "cancelled",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "effective_at",
      +                                  "event_id",
      +                                  "instrument",
      +                                  "published_at",
      +                                  "record_id",
      +                                  "state"
      +                                ],
      +                                "title": "CancelledStockSplit",
      +                                "type": "object"
      +                              }
      +                            ]
      +                          }
      +                        },
      +                        "required": [
      +                          "phase",
      +                          "record"
      +                        ],
      +                        "title": "SplitPublication",
      +                        "type": "object"
      +                      },
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "after_fill_sequence": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "cost_basis_reporting": {
      +                            "decimalBounds": {
      +                              "ge": 0,
      +                              "maxDigits": 42
      +                            },
      +                            "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                            "type": "string"
      +                          },
      +                          "entry_fee_basis_reporting": {
      +                            "decimalBounds": {
      +                              "ge": 0,
      +                              "maxDigits": 42
      +                            },
      +                            "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                            "type": "string"
      +                          },
      +                          "observed_at": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "order_adjustments": {
      +                            "default": [],
      +                            "items": {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "order_id": {
      +                                  "maxLength": 128,
      +                                  "minLength": 1,
      +                                  "type": "string"
      +                                },
      +                                "quantity_after": {
      +                                  "anyOf": [
      +                                    {
      +                                      "decimalBounds": {
      +                                        "gt": 0,
      +                                        "maxDigits": 42
      +                                      },
      +                                      "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                },
      +                                "quantity_before": {
      +                                  "anyOf": [
      +                                    {
      +                                      "decimalBounds": {
      +                                        "gt": 0,
      +                                        "maxDigits": 42
      +                                      },
      +                                      "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                },
      +                                "trigger_after": {
      +                                  "anyOf": [
      +                                    {
      +                                      "decimalBounds": {
      +                                        "gt": 0,
      +                                        "maxDigits": 42
      +                                      },
      +                                      "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                },
      +                                "trigger_before": {
      +                                  "anyOf": [
      +                                    {
      +                                      "decimalBounds": {
      +                                        "gt": 0,
      +                                        "maxDigits": 42
      +                                      },
      +                                      "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                }
      +                              },
      +                              "required": [
      +                                "order_id",
      +                                "quantity_after",
      +                                "quantity_before",
      +                                "trigger_after",
      +                                "trigger_before"
      +                              ],
      +                              "title": "SplitOrderAdjustment",
      +                              "type": "object"
      +                            },
      +                            "maxItems": 256,
      +                            "type": "array"
      +                          },
      +                          "phase": {
      +                            "const": "applied",
      +                            "default": "applied",
      +                            "type": "string"
      +                          },
      +                          "position_after": {
      +                            "decimalBounds": {
      +                              "maxDigits": 42
      +                            },
      +                            "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                            "type": "string"
      +                          },
      +                          "position_before": {
      +                            "decimalBounds": {
      +                              "maxDigits": 42
      +                            },
      +                            "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                            "type": "string"
      +                          },
      +                          "record": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "effective_at": {
      +                                "maximum": 9007199254740991,
      +                                "minimum": 0,
      +                                "type": "integer"
      +                              },
      +                              "event_id": {
      +                                "maxLength": 128,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "instrument": {
      +                                "maxLength": 128,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "published_at": {
      +                                "maximum": 9007199254740991,
      +                                "minimum": 0,
      +                                "type": "integer"
      +                              },
      +                              "ratio_new": {
      +                                "decimalBounds": {
      +                                  "gt": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "ratio_old": {
      +                                "decimalBounds": {
      +                                  "gt": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "record_id": {
      +                                "maxLength": 128,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "state": {
      +                                "const": "active",
      +                                "default": "active",
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "effective_at",
      +                              "event_id",
      +                              "instrument",
      +                              "published_at",
      +                              "ratio_new",
      +                              "ratio_old",
      +                              "record_id",
      +                              "state"
      +                            ],
      +                            "title": "ActiveStockSplit",
      +                            "type": "object"
      +                          },
      +                          "sequence": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "required": [
      +                          "after_fill_sequence",
      +                          "cost_basis_reporting",
      +                          "entry_fee_basis_reporting",
      +                          "observed_at",
      +                          "order_adjustments",
      +                          "phase",
      +                          "position_after",
      +                          "position_before",
      +                          "record",
      +                          "sequence"
      +                        ],
      +                        "title": "SplitSettlement",
      +                        "type": "object"
      +                      }
      +                    ]
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              },
      +              "feed_ids": {
      +                "default": [],
      +                "items": {
      +                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "kind": {
      +                "enum": [
      +                  "start",
      +                  "bar",
      +                  "schedule",
      +                  "fill",
      +                  "order",
      +                  "corporate_action"
      +                ],
      +                "type": "string"
      +              },
      +              "observed_at": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "order": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "fill": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "closed_quantity": {
      +                                "decimalBounds": {
      +                                  "ge": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "equity_after": {
      +                                "decimalBounds": {
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "fee_reporting": {
      +                                "decimalBounds": {
      +                                  "ge": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "default": "0",
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "instrument": {
      +                                "maxLength": 128,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "notional_reporting": {
      +                                "decimalBounds": {
      +                                  "gt": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "observed_at": {
      +                                "maximum": 9007199254740991,
      +                                "minimum": 0,
      +                                "type": "integer"
      +                              },
      +                              "order_id": {
      +                                "maxLength": 128,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "position_after": {
      +                                "decimalBounds": {
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "price": {
      +                                "decimalBounds": {
      +                                  "gt": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "quantity": {
      +                                "decimalBounds": {
      +                                  "gt": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "quote_to_reporting": {
      +                                "decimalBounds": {
      +                                  "gt": 0,
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "realized_pnl": {
      +                                "decimalBounds": {
      +                                  "maxDigits": 42
      +                                },
      +                                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                                "type": "string"
      +                              },
      +                              "reduce_only": {
      +                                "default": false,
      +                                "type": "boolean"
      +                              },
      +                              "sequence": {
      +                                "maximum": 9007199254740991,
      +                                "minimum": 1,
      +                                "type": "integer"
      +                              },
      +                              "side": {
      +                                "enum": [
      +                                  "buy",
      +                                  "sell"
      +                                ],
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "closed_quantity",
      +                              "equity_after",
      +                              "fee_reporting",
      +                              "instrument",
      +                              "notional_reporting",
      +                              "observed_at",
      +                              "order_id",
      +                              "position_after",
      +                              "price",
      +                              "quantity",
      +                              "quote_to_reporting",
      +                              "realized_pnl",
      +                              "reduce_only",
      +                              "sequence",
      +                              "side"
      +                            ],
      +                            "title": "SettledFill",
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "default": null
      +                      },
      +                      "instrument": {
      +                        "maxLength": 128,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "observed_at": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "order_id": {
      +                        "maxLength": 128,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "reason": {
      +                        "anyOf": [
      +                          {
      +                            "maxLength": 500,
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "default": null
      +                      },
      +                      "status": {
      +                        "enum": [
      +                          "accepted",
      +                          "filled",
      +                          "cancelled",
      +                          "expired",
      +                          "rejected",
      +                          "adjusted"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "fill",
      +                      "instrument",
      +                      "observed_at",
      +                      "order_id",
      +                      "reason",
      +                      "status"
      +                    ],
      +                    "title": "OrderUpdate",
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              },
      +              "schedule_id": {
      +                "anyOf": [
      +                  {
      +                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              }
      +            },
      +            "required": [
      +              "corporate_action",
      +              "feed_ids",
      +              "kind",
      +              "observed_at",
      +              "order",
      +              "schedule_id"
      +            ],
      +            "title": "StrategyEvent",
      +            "type": "object"
      +          },
      +          "intents": {
      +            "items": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "expires_at": {
      +                      "anyOf": [
      +                        {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "default": null
      +                    },
      +                    "instrument": {
      +                      "maxLength": 128,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "kind": {
      +                      "const": "order",
      +                      "default": "order",
      +                      "type": "string"
      +                    },
      +                    "oco_group": {
      +                      "anyOf": [
      +                        {
      +                          "maxLength": 64,
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "default": null
      +                    },
      +                    "order_type": {
      +                      "default": "market",
      +                      "enum": [
      +                        "market",
      +                        "limit",
      +                        "stop"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "side": {
      +                      "enum": [
      +                        "buy",
      +                        "sell"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "size": {
      +                      "default": {
      +                        "fraction": "1",
      +                        "kind": "capital"
      +                      },
      +                      "oneOf": [
      +                        {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "fraction": {
      +                              "decimalBounds": {
      +                                "gt": 0,
      +                                "le": 1,
      +                                "maxDigits": 42
      +                              },
      +                              "default": "1",
      +                              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                              "type": "string"
      +                            },
      +                            "kind": {
      +                              "const": "capital",
      +                              "default": "capital",
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "fraction",
      +                            "kind"
      +                          ],
      +                          "title": "CapitalSize",
      +                          "type": "object"
      +                        },
      +                        {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "amount": {
      +                              "decimalBounds": {
      +                                "gt": 0,
      +                                "maxDigits": 42
      +                              },
      +                              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                              "type": "string"
      +                            },
      +                            "kind": {
      +                              "const": "budget",
      +                              "default": "budget",
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "amount",
      +                            "kind"
      +                          ],
      +                          "title": "BudgetSize",
      +                          "type": "object"
      +                        },
      +                        {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "kind": {
      +                              "const": "quantity",
      +                              "default": "quantity",
      +                              "type": "string"
      +                            },
      +                            "quantity": {
      +                              "decimalBounds": {
      +                                "gt": 0,
      +                                "maxDigits": 42
      +                              },
      +                              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "kind",
      +                            "quantity"
      +                          ],
      +                          "title": "QuantitySize",
      +                          "type": "object"
      +                        },
      +                        {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "fraction": {
      +                              "decimalBounds": {
      +                                "gt": 0,
      +                                "le": 1,
      +                                "maxDigits": 42
      +                              },
      +                              "default": "1",
      +                              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                              "type": "string"
      +                            },
      +                            "kind": {
      +                              "const": "position",
      +                              "default": "position",
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "fraction",
      +                            "kind"
      +                          ],
      +                          "title": "PositionSize",
      +                          "type": "object"
      +                        },
      +                        {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "kind": {
      +                              "const": "position_quantity",
      +                              "default": "position_quantity",
      +                              "type": "string"
      +                            },
      +                            "quantity": {
      +                              "decimalBounds": {
      +                                "gt": 0,
      +                                "maxDigits": 42
      +                              },
      +                              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "kind",
      +                            "quantity"
      +                          ],
      +                          "title": "PositionQuantitySize",
      +                          "type": "object"
      +                        }
      +                      ]
      +                    },
      +                    "trigger_price": {
      +                      "anyOf": [
      +                        {
      +                          "decimalBounds": {
      +                            "gt": 0,
      +                            "maxDigits": 42
      +                          },
      +                          "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "default": null
      +                    }
      +                  },
      +                  "required": [
      +                    "expires_at",
      +                    "instrument",
      +                    "kind",
      +                    "oco_group",
      +                    "order_type",
      +                    "side",
      +                    "size",
      +                    "trigger_price"
      +                  ],
      +                  "title": "OrderIntent",
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "const": "cancel",
      +                      "default": "cancel",
      +                      "type": "string"
      +                    },
      +                    "order_id": {
      +                      "maxLength": 128,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "order_id"
      +                  ],
      +                  "title": "CancelIntent",
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "const": "rebalance",
      +                      "default": "rebalance",
      +                      "type": "string"
      +                    },
      +                    "weights": {
      +                      "additionalProperties": {
      +                        "decimalBounds": {
      +                          "ge": 0,
      +                          "le": 1,
      +                          "maxDigits": 42
      +                        },
      +                        "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                        "type": "string"
      +                      },
      +                      "maxProperties": 16,
      +                      "properties": {},
      +                      "propertyNames": {
      +                        "maxLength": 128,
      +                        "minLength": 1
      +                      },
      +                      "title": "Weights",
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "weights"
      +                  ],
      +                  "title": "RebalanceIntent",
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "const": "cancel_rebalance",
      +                      "default": "cancel_rebalance",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind"
      +                  ],
      +                  "title": "CancelRebalanceIntent",
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "type": "array"
      +          },
      +          "note": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "event",
      +          "intents",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 8,
      +      "type": "array"
      +    },
      +    "measurement": {
      +      "type": "string"
      +    },
      +    "metrics": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "buy_and_hold": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "cash": {
      +                  "pattern": "^(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                  "type": "string"
      +                },
      +                "entered_at": {
      +                  "anyOf": [
      +                    {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "entry_price": {
      +                  "anyOf": [
      +                    {
      +                      "pattern": "^(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "final_equity": {
      +                  "anyOf": [
      +                    {
      +                      "pattern": "^(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "quantity": {
      +                  "pattern": "^(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                  "type": "string"
      +                },
      +                "started_at": {
      +                  "anyOf": [
      +                    {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "total_return_pct": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "started_at",
      +                "entered_at",
      +                "entry_price",
      +                "quantity",
      +                "cash",
      +                "final_equity",
      +                "total_return_pct"
      +              ],
      +              "type": "object"
      +            },
      +            "fees_paid": {
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "fill_count": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "final_equity": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "first_valuation_at": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "funding_pnl": {
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "initial_capital": {
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "kind": {
      +              "const": "event_simulation",
      +              "type": "string"
      +            },
      +            "last_valuation_at": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "liquidation_count": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "max_leverage_used": {
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "max_observed_drawdown_pct": {
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "open_positions": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "peak_equity": {
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "realized_pnl": {
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "reporting_currency": {
      +              "pattern": "^[A-Z][A-Z0-9]{1,15}$",
      +              "type": "string"
      +            },
      +            "schema_version": {
      +              "anyOf": [
      +                {
      +                  "const": 1,
      +                  "type": "number"
      +                },
      +                {
      +                  "const": 2,
      +                  "type": "number"
      +                }
      +              ]
      +            },
      +            "total_return_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "valuation_observations": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "schema_version",
      +            "reporting_currency",
      +            "initial_capital",
      +            "final_equity",
      +            "peak_equity",
      +            "total_return_pct",
      +            "max_observed_drawdown_pct",
      +            "fees_paid",
      +            "realized_pnl",
      +            "fill_count",
      +            "valuation_observations",
      +            "first_valuation_at",
      +            "last_valuation_at",
      +            "open_positions"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "mode": {
      +      "enum": [
      +        "backtest",
      +        "paper"
      +      ],
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "parameters": {
      +      "additionalProperties": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "pending_orders": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "eligible_at": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "id": {
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "intent": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "expires_at": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              },
      +              "instrument": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "kind": {
      +                "const": "order",
      +                "default": "order",
      +                "type": "string"
      +              },
      +              "oco_group": {
      +                "anyOf": [
      +                  {
      +                    "maxLength": 64,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              },
      +              "order_type": {
      +                "default": "market",
      +                "enum": [
      +                  "market",
      +                  "limit",
      +                  "stop"
      +                ],
      +                "type": "string"
      +              },
      +              "side": {
      +                "enum": [
      +                  "buy",
      +                  "sell"
      +                ],
      +                "type": "string"
      +              },
      +              "size": {
      +                "default": {
      +                  "fraction": "1",
      +                  "kind": "capital"
      +                },
      +                "oneOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "fraction": {
      +                        "decimalBounds": {
      +                          "gt": 0,
      +                          "le": 1,
      +                          "maxDigits": 42
      +                        },
      +                        "default": "1",
      +                        "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "capital",
      +                        "default": "capital",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "fraction",
      +                      "kind"
      +                    ],
      +                    "title": "CapitalSize",
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "amount": {
      +                        "decimalBounds": {
      +                          "gt": 0,
      +                          "maxDigits": 42
      +                        },
      +                        "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "budget",
      +                        "default": "budget",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "amount",
      +                      "kind"
      +                    ],
      +                    "title": "BudgetSize",
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "kind": {
      +                        "const": "quantity",
      +                        "default": "quantity",
      +                        "type": "string"
      +                      },
      +                      "quantity": {
      +                        "decimalBounds": {
      +                          "gt": 0,
      +                          "maxDigits": 42
      +                        },
      +                        "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "quantity"
      +                    ],
      +                    "title": "QuantitySize",
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "fraction": {
      +                        "decimalBounds": {
      +                          "gt": 0,
      +                          "le": 1,
      +                          "maxDigits": 42
      +                        },
      +                        "default": "1",
      +                        "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "position",
      +                        "default": "position",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "fraction",
      +                      "kind"
      +                    ],
      +                    "title": "PositionSize",
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "kind": {
      +                        "const": "position_quantity",
      +                        "default": "position_quantity",
      +                        "type": "string"
      +                      },
      +                      "quantity": {
      +                        "decimalBounds": {
      +                          "gt": 0,
      +                          "maxDigits": 42
      +                        },
      +                        "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "quantity"
      +                    ],
      +                    "title": "PositionQuantitySize",
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "trigger_price": {
      +                "anyOf": [
      +                  {
      +                    "decimalBounds": {
      +                      "gt": 0,
      +                      "maxDigits": 42
      +                    },
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              }
      +            },
      +            "required": [
      +              "expires_at",
      +              "instrument",
      +              "kind",
      +              "oco_group",
      +              "order_type",
      +              "side",
      +              "size",
      +              "trigger_price"
      +            ],
      +            "title": "OrderIntent",
      +            "type": "object"
      +          },
      +          "live_until": {
      +            "anyOf": [
      +              {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "quantity": {
      +            "anyOf": [
      +              {
      +                "decimalBounds": {
      +                  "gt": 0,
      +                  "maxDigits": 42
      +                },
      +                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "reserved_capital": {
      +            "decimalBounds": {
      +              "ge": 0,
      +              "maxDigits": 42
      +            },
      +            "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +            "type": "string"
      +          },
      +          "submitted_at": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "eligible_at",
      +          "id",
      +          "intent",
      +          "quantity",
      +          "reserved_capital",
      +          "submitted_at"
      +        ],
      +        "title": "PendingOrder",
      +        "type": "object"
      +      },
      +      "maxItems": 256,
      +      "type": "array"
      +    },
      +    "period": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "end_at": {
      +          "anyOf": [
      +            {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "last_observed_at": {
      +          "anyOf": [
      +            {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "start_at": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "start_at",
      +        "end_at",
      +        "last_observed_at"
      +      ],
      +      "type": "object"
      +    },
      +    "portfolio": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "cash": {
      +              "decimalBounds": {
      +                "maxDigits": 42
      +              },
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "fees_paid": {
      +              "decimalBounds": {
      +                "ge": 0,
      +                "maxDigits": 42
      +              },
      +              "default": "0",
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "fill_sequence": {
      +              "default": 0,
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "perpetual": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "funding_pnl": {
      +                      "decimalBounds": {
      +                        "maxDigits": 42
      +                      },
      +                      "default": "0",
      +                      "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                      "type": "string"
      +                    },
      +                    "funding_sequence": {
      +                      "default": 0,
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "isolated_margin": {
      +                      "decimalBounds": {
      +                        "maxDigits": 42
      +                      },
      +                      "default": "0",
      +                      "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                      "type": "string"
      +                    },
      +                    "liquidation_adjustments": {
      +                      "decimalBounds": {
      +                        "maxDigits": 42
      +                      },
      +                      "default": "0",
      +                      "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                      "type": "string"
      +                    },
      +                    "liquidation_sequence": {
      +                      "default": 0,
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "funding_pnl",
      +                    "funding_sequence",
      +                    "isolated_margin",
      +                    "liquidation_adjustments",
      +                    "liquidation_sequence"
      +                  ],
      +                  "title": "PerpetualLedger",
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "positions": {
      +              "default": [],
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "average_price_reporting": {
      +                    "decimalBounds": {
      +                      "gt": 0,
      +                      "maxDigits": 42
      +                    },
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  },
      +                  "cost_basis_reporting": {
      +                    "decimalBounds": {
      +                      "gt": 0,
      +                      "maxDigits": 42
      +                    },
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  },
      +                  "entry_fee_basis": {
      +                    "decimalBounds": {
      +                      "ge": 0,
      +                      "maxDigits": 42
      +                    },
      +                    "default": "0",
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  },
      +                  "instrument": {
      +                    "maxLength": 128,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "opened_at": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "quantity": {
      +                    "decimalBounds": {
      +                      "maxDigits": 42
      +                    },
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "average_price_reporting",
      +                  "cost_basis_reporting",
      +                  "entry_fee_basis",
      +                  "instrument",
      +                  "opened_at",
      +                  "quantity"
      +                ],
      +                "title": "Position",
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "realized_pnl": {
      +              "decimalBounds": {
      +                "maxDigits": 42
      +              },
      +              "default": "0",
      +              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +              "type": "string"
      +            },
      +            "reporting_currency": {
      +              "pattern": "^[A-Z][A-Z0-9]{1,15}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "cash",
      +            "fees_paid",
      +            "fill_sequence",
      +            "positions",
      +            "realized_pnl",
      +            "reporting_currency"
      +          ],
      +          "title": "PortfolioCheckpoint",
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "primary_market": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "interval": {
      +          "type": "string"
      +        },
      +        "symbol": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "symbol",
      +        "interval"
      +      ],
      +      "type": "object"
      +    },
      +    "progress_pct": {
      +      "anyOf": [
      +        {
      +          "maximum": 100,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "provenance": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "checkpoint_digest": {
      +          "anyOf": [
      +            {
      +              "pattern": "^[a-f0-9]{64}$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "chunks": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "request_digest": {
      +          "anyOf": [
      +            {
      +              "pattern": "^[a-f0-9]{64}$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "result_digest": {
      +          "anyOf": [
      +            {
      +              "pattern": "^[a-f0-9]{64}$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "chunks",
      +        "request_digest",
      +        "result_digest",
      +        "checkpoint_digest"
      +      ],
      +      "type": "object"
      +    },
      +    "rebalance": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "kind": {
      +              "const": "rebalance",
      +              "default": "rebalance",
      +              "type": "string"
      +            },
      +            "order_ids": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 16,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "phase": {
      +              "enum": [
      +                "reducing",
      +                "adding"
      +              ],
      +              "type": "string"
      +            },
      +            "submitted_at": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "weights": {
      +              "additionalProperties": {
      +                "decimalBounds": {
      +                  "ge": 0,
      +                  "le": 1,
      +                  "maxDigits": 42
      +                },
      +                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                "type": "string"
      +              },
      +              "maxProperties": 16,
      +              "properties": {},
      +              "propertyNames": {
      +                "maxLength": 128,
      +                "minLength": 1
      +              },
      +              "title": "Weights",
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "order_ids",
      +            "phase",
      +            "submitted_at",
      +            "weights"
      +          ],
      +          "title": "RebalanceState",
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "revision": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code_hash": {
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "current_code_hash": {
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "current_version": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "version": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "version",
      +        "code_hash",
      +        "current_version",
      +        "current_code_hash"
      +      ],
      +      "type": "object"
      +    },
      +    "run_id": {
      +      "type": "string"
      +    },
      +    "specification": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "conditional_fills": {
      +          "default": "live_range_touch",
      +          "enum": [
      +            "completed_bar_touch",
      +            "live_range_touch"
      +          ],
      +          "type": "string"
      +        },
      +        "conversions": {
      +          "default": [],
      +          "items": {
      +            "oneOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "assumption": {
      +                    "maxLength": 300,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "currency": {
      +                    "pattern": "^[A-Z][A-Z0-9]{1,15}$",
      +                    "type": "string"
      +                  },
      +                  "kind": {
      +                    "const": "fixed",
      +                    "default": "fixed",
      +                    "type": "string"
      +                  },
      +                  "rate": {
      +                    "decimalBounds": {
      +                      "gt": 0,
      +                      "maxDigits": 42
      +                    },
      +                    "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "assumption",
      +                  "currency",
      +                  "rate"
      +                ],
      +                "title": "FixedConversion",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "currency": {
      +                    "pattern": "^[A-Z][A-Z0-9]{1,15}$",
      +                    "type": "string"
      +                  },
      +                  "feed_id": {
      +                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                    "type": "string"
      +                  },
      +                  "inverted": {
      +                    "default": false,
      +                    "type": "boolean"
      +                  },
      +                  "kind": {
      +                    "const": "feed",
      +                    "default": "feed",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "currency",
      +                  "feed_id"
      +                ],
      +                "title": "FeedConversion",
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "maxItems": 16,
      +          "type": "array"
      +        },
      +        "execution_feeds": {
      +          "items": {
      +            "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +            "type": "string"
      +          },
      +          "maxItems": 16,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "feeds": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "adjustment": {
      +                "default": "raw",
      +                "enum": [
      +                  "raw",
      +                  "split_adjusted",
      +                  "total_return"
      +                ],
      +                "type": "string"
      +              },
      +              "allow_gaps": {
      +                "default": false,
      +                "type": "boolean"
      +              },
      +              "calendar": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "id": {
      +                "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                "type": "string"
      +              },
      +              "instrument": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "interval": {
      +                "maxLength": 32,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "lookback": {
      +                "default": 500,
      +                "maximum": 5000,
      +                "minimum": 1,
      +                "type": "integer"
      +              },
      +              "required_history": {
      +                "default": 1,
      +                "maximum": 5000,
      +                "minimum": 1,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "calendar",
      +              "id",
      +              "instrument",
      +              "interval"
      +            ],
      +            "title": "FeedSpec",
      +            "type": "object"
      +          },
      +          "maxItems": 32,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "fill_callback_orders": {
      +          "default": "next_trading_minute",
      +          "enum": [
      +            "next_execution_bar",
      +            "next_trading_minute"
      +          ],
      +          "type": "string"
      +        },
      +        "instruments": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "allow_short": {
      +                "default": false,
      +                "type": "boolean"
      +              },
      +              "asset_class": {
      +                "enum": [
      +                  "crypto",
      +                  "equity",
      +                  "etf",
      +                  "stock",
      +                  "index",
      +                  "commodity"
      +                ],
      +                "type": "string"
      +              },
      +              "base_currency": {
      +                "anyOf": [
      +                  {
      +                    "pattern": "^[A-Z][A-Z0-9]{1,15}$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              },
      +              "id": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "perpetual": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "contract": {
      +                        "const": "linear",
      +                        "type": "string"
      +                      },
      +                      "funding_interval_ms": {
      +                        "const": 3600000,
      +                        "type": "number"
      +                      },
      +                      "leverage": {
      +                        "maximum": 100,
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      },
      +                      "liquidation": {
      +                        "const": "hyperliquid_isolated_v1",
      +                        "type": "string"
      +                      },
      +                      "margin_mode": {
      +                        "const": "isolated",
      +                        "type": "string"
      +                      },
      +                      "margin_tiers": {
      +                        "items": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "lower_bound": {
      +                              "decimalBounds": {
      +                                "ge": 0,
      +                                "maxDigits": 42
      +                              },
      +                              "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                              "type": "string"
      +                            },
      +                            "max_leverage": {
      +                              "maximum": 100,
      +                              "minimum": 1,
      +                              "type": "integer"
      +                            }
      +                          },
      +                          "required": [
      +                            "lower_bound",
      +                            "max_leverage"
      +                          ],
      +                          "title": "MarginTier",
      +                          "type": "object"
      +                        },
      +                        "maxItems": 8,
      +                        "minItems": 1,
      +                        "type": "array"
      +                      },
      +                      "min_order_notional": {
      +                        "decimalBounds": {
      +                          "gt": 0,
      +                          "maxDigits": 42
      +                        },
      +                        "default": "10",
      +                        "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                        "type": "string"
      +                      },
      +                      "price_basis": {
      +                        "const": "execution_trades",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "contract",
      +                      "funding_interval_ms",
      +                      "leverage",
      +                      "liquidation",
      +                      "margin_mode",
      +                      "margin_tiers",
      +                      "price_basis"
      +                    ],
      +                    "title": "PerpetualSpec",
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null
      +              },
      +              "quantity_step": {
      +                "decimalBounds": {
      +                  "gt": 0,
      +                  "maxDigits": 42
      +                },
      +                "pattern": "^-?(0|[1-9][0-9]{0,41})(\\.[0-9]{1,18})?$",
      +                "type": "string"
      +              },
      +              "quote_currency": {
      +                "pattern": "^[A-Z][A-Z0-9]{1,15}$",
      +                "type": "string"
      +              },
      +              "symbol": {
      +                "maxLength": 64,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "venue": {
      +                "maxLength": 64,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "asset_class",
      +              "id",
      +              "quantity_step",
      +              "quote_currency",
      +              "symbol",
      +              "venue"
      +            ],
      +            "title": "InstrumentSpec",
      +            "type": "object"
      +          },
      +          "maxItems": 16,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "intrabar_ambiguity": {
      +          "default": "minute_detail_stop_first",
      +          "enum": [
      +            "reject",
      +            "minute_detail_stop_first"
      +          ],
      +          "type": "string"
      +        },
      +        "reporting_currency": {
      +          "default": "USD",
      +          "pattern": "^[A-Z][A-Z0-9]{1,15}$",
      +          "type": "string"
      +        },
      +        "schedules": {
      +          "default": [],
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "ambiguous_time": {
      +                "default": "first",
      +                "enum": [
      +                  "first",
      +                  "second"
      +                ],
      +                "type": "string"
      +              },
      +              "hour": {
      +                "maximum": 23,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "id": {
      +                "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                "type": "string"
      +              },
      +              "minute": {
      +                "maximum": 59,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "nonexistent_time": {
      +                "const": "skip",
      +                "default": "skip",
      +                "type": "string"
      +              },
      +              "timezone": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "weekdays": {
      +                "items": {
      +                  "maximum": 6,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "maxItems": 7,
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "hour",
      +              "id",
      +              "minute",
      +              "timezone",
      +              "weekdays"
      +            ],
      +            "title": "ScheduleSpec",
      +            "type": "object"
      +          },
      +          "maxItems": 16,
      +          "type": "array"
      +        },
      +        "schema_version": {
      +          "const": 2,
      +          "default": 2,
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "execution_feeds",
      +        "feeds",
      +        "instruments"
      +      ],
      +      "title": "SimulationSpec",
      +      "type": "object"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "strategy_id": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "run_id",
      +    "strategy_id",
      +    "name",
      +    "mode",
      +    "status",
      +    "error",
      +    "primary_market",
      +    "period",
      +    "progress_pct",
      +    "revision",
      +    "specification",
      +    "assumptions",
      +    "initialization",
      +    "parameters",
      +    "metrics",
      +    "portfolio",
      +    "pending_orders",
      +    "rebalance",
      +    "corporate_actions",
      +    "data",
      +    "latest_decisions",
      +    "provenance",
      +    "measurement"
      +  ],
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / properties / queue
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "estimated_wait_seconds": {
      +          "anyOf": [
      +            {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "poll_after_seconds": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "runs_ahead": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "runs_ahead",
      +        "estimated_wait_seconds",
      +        "poll_after_seconds"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / strategy_revision
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "run_id",
      -  "strategy_id",
      -  "mode",
      -  "status",
      -  "symbol",
      -  "interval",
      -  "venue",
      -  "engine_version",
      -  "strategy_version",
      -  "tested_rules",
      -  "revision",
      -  "start_ts",
      -  "end_ts",
      -  "last_ts",
      -  "metrics",
      -  "assumptions",
      -  "baseline",
      -  "limitations",
      -  "app_url"
      -]New value: +[
      +  "run_id",
      +  "strategy_id",
      +  "mode",
      +  "status",
      +  "symbol",
      +  "interval",
      +  "venue",
      +  "engine_version",
      +  "strategy_version",
      +  "tested_rules",
      +  "revision",
      +  "strategy_revision",
      +  "start_ts",
      +  "end_ts",
      +  "last_ts",
      +  "metrics",
      +  "assumptions",
      +  "baseline",
      +  "limitations",
      +  "app_url"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / assumptions / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "fee_bps": {
      -        "const": 10,
      -        "type": "number"
      -      },
      -      "initial_capital": {
      -        "const": 10000,
      -        "type": "number"
      -      },
      -      "slippage_bps": {
      -        "const": 1,
      -        "type": "number"
      -      },
      -      "version": {
      -        "const": 1,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "version",
      -      "initial_capital",
      -      "fee_bps",
      -      "slippage_bps"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fee_bps": {
      +            "const": 10,
      +            "type": "number"
      +          },
      +          "initial_capital": {
      +            "const": 10000,
      +            "type": "number"
      +          },
      +          "slippage_bps": {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          "version": {
      +            "const": 1,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "initial_capital",
      +          "fee_bps",
      +          "slippage_bps"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fee_bps": {
      +            "maximum": 1000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "initial_capital": {
      +            "const": 10000,
      +            "type": "number"
      +          },
      +          "slippage_bps": {
      +            "maximum": 1000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "version": {
      +            "const": 2,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "initial_capital",
      +          "fee_bps",
      +          "slippage_bps"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, and closed-world. The description adds real value beyond them: the paper:read auth scope requirement, the fact that legacy runs are labeled, the distinction between engine runs and old-engine runs regarding baselines, and explicit confirmation of no bot side effects. That is meaningful operational context layered on top of the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and useful, but the description then spends substantial length enumerating return values, including a specific path (simulation.metrics.buy_and_hold), even though an output schema exists. Some of that detail duplicates structured data and dilutes the operational guidance that matters most.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with an output schema and full annotations, the description covers the important ground: permissions, no side effects, legacy-run handling, and scope boundaries. Its only shortfall is not telling the agent where run_id comes from or how this differs from the sibling get_run_data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter, run_id, with 0% schema description coverage, so the description would ideally clarify it. It only implies the parameter through 'one run,' and adds no format, provenance, or sourcing guidance (e.g., where a run_id comes from). The parameter is largely self-evident, which keeps this from scoring lower, but it does not fully compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Read the status and bounded performance report for one run in the connected workspace.' It also enumerates the returned fields (market, interval, revision, strategy_revision, rules, adjustments), which makes the scope concrete. It does not explicitly distinguish itself from the sibling get_run_data, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied ('for one run') and one negative constraint is stated: the tool 'does not start, stop, qualify, or modify a bot' and 'does not return raw market feeds.' However, there is no explicit routing to alternatives such as get_run_data, and no statement of when this tool is preferable over that sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources