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
Release history Release notifications | RSS feed
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.1.tar.gz
(4.3 kB
view hashes)