Skip to main content

一个股票行情工具包,可以用来获取股票历史k线数据

Project description

A util for stock market

简介

一个股票行情工具包,可以用来获取股票历史k线数据。

环境

python 3.x

安装

pip install openstock

使用

  • 初始化
from openstock.stock.client import StockClient
stock_client = StockClient()
  • 获取历史行情数据
stock_bars = stock_client.get_stock_bars(symbol="sz000002")
print(stock_bars)

Thanks

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

openstock-0.0.8.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openstock-0.0.8-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file openstock-0.0.8.tar.gz.

File metadata

  • Download URL: openstock-0.0.8.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for openstock-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b24e6216be7cdcd769f919402c4178aa05d1d30ef1b0cbf13a8848132093c21e
MD5 1d74cd5f3837ff868ebe288f27174f2e
BLAKE2b-256 c8f264f1592e43b954025f9154990f0f43fff5c68ec3625f0d55d71eefa4c338

See more details on using hashes here.

File details

Details for the file openstock-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: openstock-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for openstock-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b2e6d11d4d36d0e616614abfff3f6964d232fde6aac1eb4f52bf4652aaf50b2f
MD5 5b0ff2a2acf8ad590ad5bf674151e011
BLAKE2b-256 06187eac05debbecba7f7d29dc7f776e7464e289e49fe60c4615d840998ad1df

See more details on using hashes here.

Supported by

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