vn.py框架的CoinAPI数据服务接口
说明
基于CoinAPI开发,支持以下数字货币的K线数据:
- BITMEX
- OKEX
- HUOBI
- BITFINEX
- BINANCE
- BYBIT
- COINBASE
- DERIBIT
- BITSTAMP
- FTX
注意:需要使用相应的数据服务权限,可以通过该页面注册使用。
安装
安装需要基于2.6.0版本以上的VN Studio。
直接使用pip命令:
pip install vnpy_coinapi
或者下载解压后在cmd中运行:
python setup.py install
使用
在vn.py中使用CoinAPI时,需要在全局配置中填写以下字段信息:
| 名称 | 含义 | 必填 | 举例 |
|---|---|---|---|
| datafeed.name | 名称 | 是 | coinapi |
| datafeed.username | 用户名 | 否 | key |
| datafeed.password | 密码 | 是 | 1131329-896E-4FD2-9F-85DF1E8 |
Metadata
Release files for vnpy-coinapi 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vnpy_coinapi-1.0.0.tar.gz | 4.0 kB | Without provenance | Details for vnpy_coinapi-1.0.0.tar.gz |
Release files / vnpy_coinapi-1.0.0.tar.gz
| Download URL | vnpy_coinapi-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f57c603f3b1340ea25da0621f50732ef2689dffda94cc219aaf6ec5360b8b18d
|
|
BLAKE2b-256 checksum How to use checksums |
f06a4d4aff9b81ba13fb85c45e43cabda9f8db8dddfeb5734d50f5772bc79205
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4
|
Security for vnpy-coinapi 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.