Skip to main content

BaoStock datafeed for vn.py quant trading framework.

Project description

vn.py框架的BaoStock数据服务接口

说明

基于baostock模块的0.8.8版本开发,支持以下中国金融市场的K线数据:

  • 股票:
    • SSE:上海证券交易所
    • SZSE:深圳证券交易所

安装

安装需要基于2.6.0版本以上的VN Studio

直接使用pip命令:

pip install vnpy_baostock

或者下载解压后运行:

python setup.py install

使用

在vn.py中使用BaoStock时,需要在全局配置中填写以下字段信息:

名称 含义 必填 举例
datafeed.name 名称 baostock
datafeed.username 用户名 anonymous
datafeed.password 密码 123456

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

vnpy_baostock-1.0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

vnpy_baostock-1.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file vnpy_baostock-1.0.2.tar.gz.

File metadata

  • Download URL: vnpy_baostock-1.0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vnpy_baostock-1.0.2.tar.gz
Algorithm Hash digest
SHA256 28cfa2c8ac695ad4e330b11f6374e4f0fbda16e106d937936f62133d464eedeb
MD5 f2ed139e2120c5aad4d6fba5db830da6
BLAKE2b-256 7af055783f432ea24422db6075ad88183290d0e97a41874519dfcbd36beea39e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vnpy_baostock-1.0.2.tar.gz:

Publisher: release.yml on flytrap/vnpy_baostock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vnpy_baostock-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: vnpy_baostock-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vnpy_baostock-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66c1a1712307099069e8f0f1c61d8a81c3084c52800a2d7f56c78a7f84e62e2b
MD5 8d10eeee9a332a4abeb5c1525f8520bd
BLAKE2b-256 a7bef609c02fcb51e73537cde92739a48bffe70fa2f0e73987ee2bbaf4a5c2b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for vnpy_baostock-1.0.2-py3-none-any.whl:

Publisher: release.yml on flytrap/vnpy_baostock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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