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交易所的支持。
Metadata
Release files for vnpy-crypto 0.1.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 | |
|---|---|---|---|---|
| vnpy_crypto-0.1.0.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vnpy_crypto-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / vnpy_crypto-0.1.0.tar.gz
| Download URL | vnpy_crypto-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5047bf7af9d70935e3bef4b94f97e3a508221ad3c5f843500696e2d1a739c829
|
|
BLAKE2b-256 checksum How to use checksums |
2c38b021a6aa6fabf35becb6393f9111f049cb6a46b3ba38040f6ca5aa01b62a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / vnpy_crypto-0.1.0-py3-none-any.whl
| Download URL | vnpy_crypto-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c87dc2e356999ad277978a4a65608d63a98b8a971f5a994a1bdd0be85d5a697
|
|
BLAKE2b-256 checksum How to use checksums |
a805cedea8ba3607e1902c47c3e4a4a66d734bdf36be7b791ab0deec804db24c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for vnpy-crypto 0.1.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.