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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file vnpy_crypto-0.1.0.tar.gz.

File metadata

  • Download URL: vnpy_crypto-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for vnpy_crypto-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5047bf7af9d70935e3bef4b94f97e3a508221ad3c5f843500696e2d1a739c829
MD5 2ad0cab29619feb42ca78cab97c0ebc5
BLAKE2b-256 2c38b021a6aa6fabf35becb6393f9111f049cb6a46b3ba38040f6ca5aa01b62a

See more details on using hashes here.

File details

Details for the file vnpy_crypto-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vnpy_crypto-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for vnpy_crypto-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c87dc2e356999ad277978a4a65608d63a98b8a971f5a994a1bdd0be85d5a697
MD5 43729b08603eb9a903f8a634873e9c6a
BLAKE2b-256 a805cedea8ba3607e1902c47c3e4a4a66d734bdf36be7b791ab0deec804db24c

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