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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28cfa2c8ac695ad4e330b11f6374e4f0fbda16e106d937936f62133d464eedeb
|
|
| MD5 |
f2ed139e2120c5aad4d6fba5db830da6
|
|
| BLAKE2b-256 |
7af055783f432ea24422db6075ad88183290d0e97a41874519dfcbd36beea39e
|
Provenance
The following attestation bundles were made for vnpy_baostock-1.0.2.tar.gz:
Publisher:
release.yml on flytrap/vnpy_baostock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vnpy_baostock-1.0.2.tar.gz -
Subject digest:
28cfa2c8ac695ad4e330b11f6374e4f0fbda16e106d937936f62133d464eedeb - Sigstore transparency entry: 1632871340
- Sigstore integration time:
-
Permalink:
flytrap/vnpy_baostock@0650d4a420ca895aa8caf6b738c86d08bf199e31 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/flytrap
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0650d4a420ca895aa8caf6b738c86d08bf199e31 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66c1a1712307099069e8f0f1c61d8a81c3084c52800a2d7f56c78a7f84e62e2b
|
|
| MD5 |
8d10eeee9a332a4abeb5c1525f8520bd
|
|
| BLAKE2b-256 |
a7bef609c02fcb51e73537cde92739a48bffe70fa2f0e73987ee2bbaf4a5c2b8
|
Provenance
The following attestation bundles were made for vnpy_baostock-1.0.2-py3-none-any.whl:
Publisher:
release.yml on flytrap/vnpy_baostock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vnpy_baostock-1.0.2-py3-none-any.whl -
Subject digest:
66c1a1712307099069e8f0f1c61d8a81c3084c52800a2d7f56c78a7f84e62e2b - Sigstore transparency entry: 1632871455
- Sigstore integration time:
-
Permalink:
flytrap/vnpy_baostock@0650d4a420ca895aa8caf6b738c86d08bf199e31 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/flytrap
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0650d4a420ca895aa8caf6b738c86d08bf199e31 -
Trigger Event:
push
-
Statement type: