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 details)

Uploaded Python 2 Python 3

File details

Details for the file starviewshare-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for starviewshare-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2595577c36390ef2cc949a145d8457e59318651583ad626a56ce08a86932169f
MD5 efcf0d7dbf86f3d253b4653051bb5a40
BLAKE2b-256 50f35a6d21b53631f5d3605fabaa646063acf7bbf30f689d63b0e7a1da15bda8

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