feat(FEAT-DS-001): 接入AKTools超短行情补充数据源

This commit is contained in:
2026-08-24 21:40:22 +08:00
parent 81c48af8cc
commit 6e8a05114e
42 changed files with 1449 additions and 36 deletions
+133
View File
@@ -182,6 +182,101 @@
"required": ["snapshotId", "asOf", "source", "status", "warnings", "data"],
"type": "object"
},
"ShortTermConclusionDataDto": {
"properties": {
"drivers": { "items": { "type": "string" }, "type": "array" },
"risks": { "items": { "type": "string" }, "type": "array" },
"verdict": { "type": "string" }
},
"required": ["verdict", "drivers", "risks"],
"type": "object"
},
"ShortTermConclusionResponseDto": {
"properties": {
"asOf": { "format": "date-time", "type": "string" },
"data": {
"allOf": [{ "$ref": "#/components/schemas/ShortTermConclusionDataDto" }],
"nullable": true,
"type": "object"
},
"snapshotId": { "type": "string" },
"source": { "enum": ["akshare"], "type": "string" },
"status": {
"enum": ["fresh", "delayed", "partial", "unavailable"],
"type": "string"
},
"tradeDate": { "example": "20260824", "type": "string" },
"warnings": { "items": { "type": "string" }, "type": "array" }
},
"required": ["snapshotId", "asOf", "source", "tradeDate", "status", "data", "warnings"],
"type": "object"
},
"ShortTermEmotionDataDto": {
"properties": {
"brokenBoardCount": { "nullable": true, "type": "number" },
"industries": {
"items": { "$ref": "#/components/schemas/ShortTermIndustryDto" },
"type": "array"
},
"limitUpCount": { "nullable": true, "type": "number" },
"maxBoard": { "nullable": true, "type": "number" },
"previousAverageChangePercent": {
"nullable": true,
"type": "number"
},
"previousDownCount": { "nullable": true, "type": "number" },
"previousFlatCount": { "nullable": true, "type": "number" },
"previousUpCount": { "nullable": true, "type": "number" },
"sealFundsAmount": {
"description": "封板资金,亿元",
"nullable": true,
"type": "number"
},
"tiers": {
"items": { "$ref": "#/components/schemas/ShortTermTierDto" },
"type": "array"
},
"tradeDate": { "example": "20260824", "type": "string" }
},
"required": ["tradeDate", "tiers", "industries"],
"type": "object"
},
"ShortTermEmotionResponseDto": {
"properties": {
"asOf": { "format": "date-time", "type": "string" },
"data": {
"allOf": [{ "$ref": "#/components/schemas/ShortTermEmotionDataDto" }],
"nullable": true,
"type": "object"
},
"snapshotId": { "type": "string" },
"source": { "enum": ["akshare"], "type": "string" },
"status": {
"enum": ["fresh", "delayed", "partial", "unavailable"],
"type": "string"
},
"tradeDate": { "example": "20260824", "type": "string" },
"warnings": { "items": { "type": "string" }, "type": "array" }
},
"required": ["snapshotId", "asOf", "source", "tradeDate", "status", "data", "warnings"],
"type": "object"
},
"ShortTermIndustryDto": {
"properties": {
"count": { "type": "number" },
"name": { "type": "string" }
},
"required": ["name", "count"],
"type": "object"
},
"ShortTermTierDto": {
"properties": {
"board": { "type": "number" },
"count": { "type": "number" }
},
"required": ["board", "count"],
"type": "object"
},
"SummaryDataDto": {
"properties": {
"drivers": { "items": { "type": "string" }, "type": "array" },
@@ -323,6 +418,44 @@
"tags": ["market-overview"]
}
},
"/api/v1/market-overview/short-term/conclusion": {
"get": {
"operationId": "ShortTermMarketController_getConclusion",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ShortTermConclusionResponseDto"
}
}
},
"description": ""
}
},
"tags": ["market-overview-short-term"]
}
},
"/api/v1/market-overview/short-term/emotion": {
"get": {
"operationId": "ShortTermMarketController_getEmotion",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ShortTermEmotionResponseDto"
}
}
},
"description": ""
}
},
"tags": ["market-overview-short-term"]
}
},
"/api/v1/market-overview/summary": {
"get": {
"operationId": "MarketOverviewController_getSummary",