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
Release history Release notifications | RSS feed
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_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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5047bf7af9d70935e3bef4b94f97e3a508221ad3c5f843500696e2d1a739c829
|
|
| MD5 |
2ad0cab29619feb42ca78cab97c0ebc5
|
|
| BLAKE2b-256 |
2c38b021a6aa6fabf35becb6393f9111f049cb6a46b3ba38040f6ca5aa01b62a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c87dc2e356999ad277978a4a65608d63a98b8a971f5a994a1bdd0be85d5a697
|
|
| MD5 |
43729b08603eb9a903f8a634873e9c6a
|
|
| BLAKE2b-256 |
a805cedea8ba3607e1902c47c3e4a4a66d734bdf36be7b791ab0deec804db24c
|