Skip to main content

qstock由“Python金融量化”公众号开发,试图打造成个人量化投研分析开源库,目前包括数据获取(data)、可视化(plot)、选股(stock)和量化回测(backtest)四个模块。其中数据模块(data)数据来源于东方财富网、同花顺、新浪财经等网上公开数据,数据爬虫部分参考了现有金融数据包tushare、akshare和efinance。qstock致力于为用户提供更加简洁和规整化的金融市场数据接口。可视化模块基于plotly.express和pyecharts包,为用户提供基于web的交互图形简单操作接口;选股模块提供了同花顺的技术选股和公众号策略选股,包括RPS、MM趋势、财务指标、资金流模型等,回测模块为大家提供向量化(基于pandas)和基于事件驱动的基本框架和模型。 qstock目前在pypi官网上发布,开源第一版本为1.1.0,目前更新至1.3.7.

读者直接“pip install qstock ”安装,或通过’pip install –upgrade qstock’进行更新。GitHub地址:https://github.com/tkfy920/qstock。

目前部分策略选股和策略回测功能仅供知识星球会员使用,会员可在知识星球置顶帖子上上获取qstock离线安装包。

相关教程:

【qstock开源了】数据篇之行情交易数据(https://mp.weixin.qq.com/s/p1lEsBVhrm5ej3YZl0BhOw) 【qstock数据篇】行业概念板块与资金流(https://mp.weixin.qq.com/s/hj4yuqFDBidAeSRucz6TwQ) 【qstock量化】数据篇之股票基本面数据(https://mp.weixin.qq.com/s/XznS8hFMEa47x1IElZXJaA) 【qstock量化】数据篇之宏观指标和财经新闻文本(https://mp.weixin.qq.com/s/vq7BJUCdHMkcgJYjsErpYQ) 【qstock量化】动态交互数据可视化(https://mp.weixin.qq.com/s/zmY4gsPDQ6xDDpC-fVBUPg)

更多干货请关注微信公众号:Python金融量化

Metadata

Release files for qstock 1.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qstock 1.3.8
File Size Uploaded Provenance
qstock-1.3.8.tar.gz 159.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qstock 1.3.8
File Interpreter ABI Platform
qstock-1.3.8-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 325.9 kB

Release files / qstock-1.3.8.tar.gz

Download URL qstock-1.3.8.tar.gz
Size 159.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0a2f30887272c5b12a8505922b453c24ba479c6caeaa261b31bd578d2776e593
BLAKE2b-256 checksum
How to use checksums
11a88d33e03e83bd9dab1128480b44496a50596016e01117035ecf1c748539ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / qstock-1.3.8-py2.py3-none-any.whl

Download URL qstock-1.3.8-py2.py3-none-any.whl
Size 166.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2653818c2d02fbdcd0fd443de2e47545a1d744043190ad2efb51dd8ca6b4f5cb
BLAKE2b-256 checksum
How to use checksums
915a3cece6d778ec336a655a4bdc58fbe93c05a6b50f3b467e641ef758b6aaf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for qstock 1.3.8

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page