股票量化代码,包括通过qmt、同花顺问题和东财api等获取金融数据,以及处理量化这些数据。
查看库中的函数文档,请前往:https://wd.sanrenjz.com/yuhanbolh/about
代码是从多个渠道获取金融数据,在运行过程中提示没有什么模块,就用pip安装什么模块。 但迅投的xtdata和xttrade是不能通过pip安装的,需要把官网http://dict.thinktrader.net/nativeApi/download_xtquant.html 下载,然后放到python的...\Lib\site-packages路径中。
需要证券开户开QMT的可以联系我,微信:yuhanbo758
联系我们
主站:三人聚智-余汉波 - QMT量化、效率工具和财经知识的搬运工
程序小店(个人开发的所有程序,包括开源和不开源):首页 | 三人聚智-余汉波程序小店
文档站点(财经、代码和库文档等):余汉波 文档 | 财经、python与效率工具的知识搬运工
python 程序管理工具下载:sanrenjz - 三人聚智-余汉波
schedule akshare scipy yfinance pywencai baostock pytdx MetaTrader5 yuhanbolh
安装
pip install --upgrade yuhanbolh
自动发布到 PyPI
仓库的 .github/workflows/publish.yml 会在代码推送到 main 后自动完成以下操作:
- 查询 PyPI 上
yuhanbolh的当前版本。 - 按每位逢十进一的规则生成下一版本,例如
0.6.8 → 0.6.9 → 0.7.0。 - 构建并校验 wheel 和源码发行包。
- 自动提交
setup.py中的新版本、创建v版本号标签并发布到 PyPI。
首次使用前,需要在 GitHub 仓库中完成一次配置:
- 打开
Settings → Secrets and variables → Actions,新增仓库 Secret:PYPI_API_TOKEN。 - Secret 的值填写从 PyPI
Account settings → API tokens创建的 API Token(建议限定到yuhanbolh项目)。 - 打开
Settings → Actions → General → Workflow permissions,选择Read and write permissions。
自动生成的版本提交带有 [skip ci],不会递归触发下一次发布。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yuhanbolh-0.6.2.tar.gz.
File metadata
- Download URL: yuhanbolh-0.6.2.tar.gz
- Upload date:
- Size: 63.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b80edebfb66d325ee6871b12b43f27337c1af4d6ed6d609e5813fd9415f8c4a
|
|
| MD5 |
392de26f4f2dcb3c6bcaae329b7e8df9
|
|
| BLAKE2b-256 |
038a5de3cf694c75b03b08b305208e8a83b84702211798e7bf7f9ee35569c068
|
File details
Details for the file yuhanbolh-0.6.2-py3-none-any.whl.
File metadata
- Download URL: yuhanbolh-0.6.2-py3-none-any.whl
- Upload date:
- Size: 67.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7d5afcb526a54625d94ff4493bda0234b3a8466226d7a1f57af9297b1f6026c
|
|
| MD5 |
3db1931b145e46c6466179ce41839045
|
|
| BLAKE2b-256 |
8903b381076a190e9c92897f4ba080750d98a6d517832a4a556c4b6daeba12b7
|