mirror of
https://github.com/dtzp555-max/memory-continuity.git
synced 2026-07-25 15:05:05 +00:00
Create geopolitical turbulence trapper project skeleton
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "StrategyAlert",
|
||||
"type": "object",
|
||||
"required": ["type", "severity", "target", "message"],
|
||||
"properties": {
|
||||
"type": {"type": "string", "enum": ["entry_zone", "danger_zone", "exit_zone", "ko_risk", "spread_widening", "event_shock", "vol_spike", "earnings_window"]},
|
||||
"severity": {"type": "string", "enum": ["info", "warning", "high", "critical"]},
|
||||
"target": {"type": "string"},
|
||||
"instrumentCode": {"type": ["string", "null"]},
|
||||
"message": {"type": "string"},
|
||||
"evidence": {"type": "array", "items": {"type": "string"}},
|
||||
"timestamp": {"type": ["string", "null"], "format": "date-time"}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "DerivativeCandidate",
|
||||
"type": "object",
|
||||
"required": ["underlying", "market", "instrumentType", "direction"],
|
||||
"properties": {
|
||||
"underlying": {"type": "string"},
|
||||
"market": {"type": "string", "enum": ["HK", "US", "AU"]},
|
||||
"instrumentType": {"type": "string", "enum": ["CBBC", "WARRANT", "OPTION", "LEAP"]},
|
||||
"direction": {"type": "string", "enum": ["bull", "bear", "call", "put", "combo"]},
|
||||
"code": {"type": "string"},
|
||||
"issuer": {"type": "string"},
|
||||
"callLevel": {"type": ["number", "null"]},
|
||||
"strike": {"type": ["number", "null"]},
|
||||
"expiry": {"type": ["string", "null"], "format": "date"},
|
||||
"entitlementRatio": {"type": ["number", "null"]},
|
||||
"bid": {"type": ["number", "null"]},
|
||||
"ask": {"type": ["number", "null"]},
|
||||
"spreadPct": {"type": ["number", "null"]},
|
||||
"volume": {"type": ["number", "null"]},
|
||||
"turnover": {"type": ["number", "null"]},
|
||||
"outstandingPct": {"type": ["number", "null"]},
|
||||
"verificationStatus": {"type": "string", "enum": ["unverified", "partial", "verified"]},
|
||||
"liquidityRisk": {"type": "string", "enum": ["low", "medium", "high", "critical"]},
|
||||
"notes": {"type": "string"}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "InstrumentRiskReview",
|
||||
"type": "object",
|
||||
"required": ["target", "instrumentType"],
|
||||
"properties": {
|
||||
"target": {"type": "string"},
|
||||
"instrumentType": {"type": "string"},
|
||||
"gapRisk": {"type": "string", "enum": ["low", "medium", "high", "critical"]},
|
||||
"koRisk": {"type": ["string", "null"], "enum": ["low", "medium", "high", "critical", null]},
|
||||
"ivRisk": {"type": ["string", "null"], "enum": ["low", "medium", "high", "critical", null]},
|
||||
"thetaRisk": {"type": ["string", "null"], "enum": ["low", "medium", "high", "critical", null]},
|
||||
"liquidityRisk": {"type": "string", "enum": ["low", "medium", "high", "critical"]},
|
||||
"executionRisk": {"type": "string", "enum": ["low", "medium", "high", "critical"]},
|
||||
"headlineRisk": {"type": "string", "enum": ["low", "medium", "high", "critical"]},
|
||||
"summary": {"type": "string"}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "TargetInstrumentUniverseItem",
|
||||
"type": "object",
|
||||
"required": ["id", "market", "symbol", "name", "category"],
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"market": {"type": "string", "enum": ["HK", "US", "AU", "MACRO"]},
|
||||
"symbol": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"category": {"type": "string", "enum": ["equity", "index", "commodity", "fx", "volatility"]},
|
||||
"themeTags": {"type": "array", "items": {"type": "string"}},
|
||||
"eventSensitivity": {"type": "object", "additionalProperties": {"type": "number"}},
|
||||
"notes": {"type": "string"}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user