Skip to main content

CoinAPI datafeed for vn.py quant trading framework.

Project description

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

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_coinapi-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: vnpy_coinapi-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for vnpy_coinapi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f57c603f3b1340ea25da0621f50732ef2689dffda94cc219aaf6ec5360b8b18d
MD5 0e77b9a73488e3b2cf031f69ab380e68
BLAKE2b-256 f06a4d4aff9b81ba13fb85c45e43cabda9f8db8dddfeb5734d50f5772bc79205

See more details on using hashes here.

Supported by

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