Skip to main content

A finance tool to get stock,fund and futures data

Project description

starviewshare

观星量化--开源金融量化数据接口

starviewshare 中文名为观星量化, 是一个用于获取股票、ETF、期货数据的免费开源 Python 库。

特点:

  • 只需一行代码,可以自由切换底层数据源
  • 基于akshare、efinance、miniqmt打造
  • 免费开源

欢迎关注微信公众号"Python量化实战",与您分享更多资源和信息。关注后回复加群可以与小伙伴们一起讨论问题、贡献代码

Installation

  • 通过 pip 安装
pip install starviewshare
  • 通过 pip 更新
pip install starviewshare --upgrade

Examples

  • 验证安装是否成功:输出starviewshare版本
import starviewshare as svs
print(svs.__version__)

stock

  • 股票龙虎榜
import starviewshare as svs
svs.stock.get_daily_billboard()
start_date = '2023-12-08'
end_date = '2023-12-17'
svs.stock.get_daily_billboard(start_date=start_date,end_date=end_date)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

starviewshare-0.1.2-py2.py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 2 Python 3

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