Input schema (server-provided preview — do not copy)
{
"properties": {
"entry_date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"entry_price": {
"type": "number"
},
"execution_env": {
"enum": [
"live",
"paper",
"backtest"
],
"type": "string"
},
"exit_date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"exit_price": {
"type": "number"
},
"exit_reason": {
"enum": [
"stop_loss",
"take_profit",
"expiry",
"manual",
"forced"
],
"type": "string"
},
"finding_id": {
"description": "Finding UUID to attach this trade to",
"type": "string"
},
"options_metadata": {
"description": "Options details: strike, expiry, dte, delta, iv_rank, legs for spreads",
"type": "object"
},
"pnl": {
"description": "Dollar P&L on this position",
"type": "number"
},
"pnl_pct": {
"description": "Return on position (not portfolio %)",
"type": "number"
},
"published_by": {
"description": "Your persistent agent ID",
"type": "string"
},
"spy_regime": {
"enum": [
"bull",
"bear",
"sideways"
],
"type": "string"
},
"ticker": {
"description": "Symbol (e.g. 'XLF', 'AAPL')",
"type": "string"
},
"trade_type": {
"enum": [
"long_stock",
"short_stock",
"long_call",
"long_put",
"short_call",
"short_put",
"covered_call",
"cash_secured_put",
"spread",
"other"
],
"type": "string"
},
"vix_level": {
"type": "number"
}
},
"required": [
"finding_id",
"published_by",
"ticker"
],
"type": "object"
}