feat(FEAT-MO-001): 接入TDX市场宽度板块与成交额趋势

This commit is contained in:
2026-08-18 17:37:36 +08:00
parent 82619489a9
commit ff8ada8316
21 changed files with 616 additions and 69 deletions
+22 -5
View File
@@ -5,9 +5,9 @@
"properties": {
"advancing": { "type": "number" },
"declining": { "type": "number" },
"unchanged": { "type": "number" }
"unchanged": { "nullable": true, "type": "number" }
},
"required": ["advancing", "declining", "unchanged"],
"required": ["advancing", "declining"],
"type": "object"
},
"BreadthResponseDto": {
@@ -42,9 +42,12 @@
},
"FundDataDto": {
"properties": {
"items": { "items": { "type": "string" }, "type": "array" }
"changePercent": { "type": "number" },
"currentAmount": { "type": "number" },
"previousAmount": { "type": "number" },
"unit": { "example": "亿元", "type": "string" }
},
"required": ["items"],
"required": ["currentAmount", "previousAmount", "changePercent", "unit"],
"type": "object"
},
"FundsResponseDto": {
@@ -130,11 +133,25 @@
},
"SectorDataDto": {
"properties": {
"items": { "items": { "type": "string" }, "type": "array" }
"items": {
"items": { "$ref": "#/components/schemas/SectorQuoteDto" },
"type": "array"
}
},
"required": ["items"],
"type": "object"
},
"SectorQuoteDto": {
"properties": {
"changePercent": { "nullable": true, "type": "number" },
"code": { "type": "string" },
"direction": { "enum": ["up", "down", "flat"], "type": "string" },
"name": { "type": "string" },
"tradeDate": { "type": "string" }
},
"required": ["code", "name", "direction", "tradeDate"],
"type": "object"
},
"SectorsResponseDto": {
"properties": {
"asOf": { "format": "date-time", "type": "string" },