AkShare 金融数据
AkShare 金融数据:获取中国 A 股市场实时行情、历史 K 线、财务报表、基金期货等金融数据,支持股票、债券、期权等多品种数据查询。 含 14 条反模式约束。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
30 条不可违反的约束
WHENWhen implementing HTTP request functions that fetch external data
ACTIONImplement retry logic with exponential backoff to handle transient network failures
CONSEQUENCEWithout retry logic, transient network failures or temporary server issues will cause complete request failures, resulting in missing data and failed workflows
WHENWhen implementing HTTP request functions
ACTIONSet a timeout value for each HTTP request to prevent indefinite hanging
CONSEQUENCEWithout timeout, a blocked connection can hang indefinitely, freezing the entire application and preventing data collection from other sources
WHENWhen implementing HTTP request functions
ACTIONValidate that HTTP response status codes indicate success before processing data
CONSEQUENCEWithout status code validation, error responses (404, 500, etc.) may be processed as valid data, leading to corrupted downstream analysis and incorrect financial calculations
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。