Skip to main content

Quantitative finance and stock analysis using Python

Project description

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.4.

读者直接“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金融量化

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qstock-1.3.6.tar.gz (151.8 kB view details)

Uploaded Source

File details

Details for the file qstock-1.3.6.tar.gz.

File metadata

  • Download URL: qstock-1.3.6.tar.gz
  • Upload date:
  • Size: 151.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for qstock-1.3.6.tar.gz
Algorithm Hash digest
SHA256 f7e57ac103e42290135c3e49ae89bcd97fcfe36420f93a72be101fa94569e810
MD5 fa7b27ad30cbccb4d9e681af928253af
BLAKE2b-256 4d17863687c9f8a66f326d1761d417f17849fac0d59b9f965d5ebfe7e718ee3c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page