Skip to main content

Crypto currency extension for VeighNa quant trading framework.

Project description

VeighNa框架的CryptoCurrency扩展模块

关于使用VeighNa框架进行Crypto交易的话题,新开了一个Github Discussions论坛,欢迎通过这里来进行讨论交流。

说明

针对CryptoCurrency相关交易功能的VeighNa开源量化交易平台扩展插件。

目前主要添加了对于Crypto交易所的枚举值支持:

  • Exchange(位于vnpy.trader.constant)
    • BINANCE
    • BITFINEX
    • BITSTAMP
    • BYBIT
    • COINBASE
    • DERIBIT
    • DYDX
    • FTX
    • GATEIO
    • HUOBI
    • OKEX

安装

安装需要基于3.0.0版本的【VeighNa】。

下载解压后在cmd中运行:

python setup.py install

使用

在需要加载Crypto交易接口的启动脚本run.py文件的头部,加上如下代码即可:

import vnpy_crypto
vnpy_crypto.init()

上述代码会自动替换原生框架中的Exchange等枚举值,实现对Crypto交易所的支持。

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_crypto-0.1.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

vnpy_crypto-0.1.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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