DataQuant 1.2.7
相对 1.2.6 的更新说明。
新增
- 港股:
hknew.get_order逐笔委托。 - 银行间债券 19 个接口:
- 合约基础:
ibank.all_instruments、ibank.instruments、ibank.get_issue_term - 债券专属:
ibank.get_call_info、ibank.get_put_info、ibank.get_cash_flow、ibank.get_accrued_interest_eod、ibank.get_credit_rating、ibank.get_quote、ibank.get_cb_valuation、ibank.get_cfets_valuation、ibank.get_indicators - 变动与事件:
ibank.get_interest_rate、ibank.get_size、ibank.get_special_notice、ibank.is_suspended - 分类与公告:
ibank.get_announcement、ibank.get_nature - 收益率曲线:
ibank.get_yield_curve
- 合约基础:
- 场内债券 6 个接口:
bond.all_instruments、bond.instruments、bond.get_issue_term、bond.get_quote、bond.get_cb_valuation、bond.get_indicators。范围是沪深交易所债券,排除可转债和交易所 ABS。
修复
fund.get_daily_units:部分场内基金日度总份额为空时,用流通份额补齐总份额与基金规模。- 优化数据查询重试,提升请求稳定性。
- 行情接口自动过滤不存在的证券代码,有效代码仍正常返回。
get_order、get_deal、get_tick,以及港股 hk / hknew 的快照、逐笔、碎股、经纪队列、指数快照:开始与结束时间必须同为 8 位或同为 14 位,长度不一致直接报错。get_tick期货出参补充avg_px(均价)。- 证券代码只接受字符串或列表。日期空字符串报错;不传、整数和斜杠日期仍可用。返回类型只接受 0 或 1。填写不存在的返回列时,在查询前报错。
- 数值没有值时为空数,文本没有值时为空。分钟行情没有结算价时不再用 0 表示。未摘牌日期仍为空字符串。
- 查询没有行时统一返回
None。 - 14 位起止时间查询时,返回时刻收敛到该起止内,结束秒的毫秒不再越界。
- 可转债:
convertible.get_close_price收盘净价、全价列名改为clean_price_close、dirty_price_close;convertible.get_indicators收盘全价改为dirty_price_close,到期收益率改为ytm_close。待偿期years_to_maturity不变。
Metadata
Release files for dataquant 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dataquant-1.2.7-py3-none-any.whl | Python 3 | none | any | Details for dataquant-1.2.7-py3-none-any.whl |
Release files / dataquant-1.2.7-py3-none-any.whl
| Download URL | dataquant-1.2.7-py3-none-any.whl |
|---|---|
| Size | 375.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
babe56dcd41cb5c85afc2b35d5ecf7099ffc11abc73dc77d9cd6c8d8d6381d34
|
|
BLAKE2b-256 checksum How to use checksums |
47432aa2ca234237652507dc48159ccf96d5306fb916fac14e60027fc3a9e439
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.15
|
Security for dataquant 1.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.