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.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: vnpy_baostock-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for vnpy_baostock-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b1ec378b15df201d610b02e8d0c318598e3cce2e3bf908cabf6822fbad40a033
MD5 45677367c3e8ddcfde76156f92deeeb1
BLAKE2b-256 00b132f168dfca2ecf3fee9b8e27c8cb5e6733a149fcb4d5ab7e8e4dcc59c5b7

See more details on using hashes here.

Supported by

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