fix(FEAT-MO-001): 修复TDX数据完整性与状态展示

This commit is contained in:
2026-08-18 19:30:34 +08:00
parent ff8ada8316
commit 49f6be9c43
20 changed files with 557 additions and 113 deletions
+15 -4
View File
@@ -7,7 +7,7 @@
"declining": { "type": "number" },
"unchanged": { "nullable": true, "type": "number" }
},
"required": ["advancing", "declining"],
"required": ["advancing", "declining", "unchanged"],
"type": "object"
},
"BreadthResponseDto": {
@@ -44,10 +44,21 @@
"properties": {
"changePercent": { "type": "number" },
"currentAmount": { "type": "number" },
"marketCount": { "maximum": 3, "minimum": 1, "type": "number" },
"previousAmount": { "type": "number" },
"previousTradeDate": { "example": "20260817", "type": "string" },
"tradeDate": { "example": "20260818", "type": "string" },
"unit": { "example": "亿元", "type": "string" }
},
"required": ["currentAmount", "previousAmount", "changePercent", "unit"],
"required": [
"currentAmount",
"previousAmount",
"changePercent",
"unit",
"marketCount",
"tradeDate",
"previousTradeDate"
],
"type": "object"
},
"FundsResponseDto": {
@@ -143,13 +154,13 @@
},
"SectorQuoteDto": {
"properties": {
"changePercent": { "nullable": true, "type": "number" },
"changePercent": { "type": "number" },
"code": { "type": "string" },
"direction": { "enum": ["up", "down", "flat"], "type": "string" },
"name": { "type": "string" },
"tradeDate": { "type": "string" }
},
"required": ["code", "name", "direction", "tradeDate"],
"required": ["code", "name", "changePercent", "direction", "tradeDate"],
"type": "object"
},
"SectorsResponseDto": {