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.4.tar.gz (4.4 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.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vnpy_baostock-1.0.4.tar.gz
  • Upload date:
  • Size: 4.4 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.4.tar.gz
Algorithm Hash digest
SHA256 c9577190a3329de0e7ace2cb97902ef2cdb8fe8fbdbad4bb51d63f856c5d5694
MD5 fe4aaa0a4d6ad8ff2f93174ffaf9ae8d
BLAKE2b-256 51ebab02f0f6f60e83dfec59f8b47ca64597db2cda746b740ce7ac29ec9cdc5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vnpy_baostock-1.0.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: vnpy_baostock-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8ce78c43a6eb390b7a8f57cd715d04318207bf60fdca48907a2c106775fb8750
MD5 2635462208e714cee6a105b3b024a0b6
BLAKE2b-256 1ea1bccd35054cb2fdecd81c0e05b7e008205e2ecad115bbe5b2a3de6fdd434e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vnpy_baostock-1.0.4-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