Hummingbot 连接器

在 PredictAsiaX 市场上运行 Hummingbot 策略。该连接器不属于 Hummingbot 官方发布版本;此处作为 Hummingbot v2.18.0 的补丁分发。

功能说明

安装

git clone --branch v2.18.0 --depth 1 https://github.com/hummingbot/hummingbot.git
cd hummingbot
git switch -c predictasiax
curl -fsSLO https://docs.predictasiax.com/downloads/hummingbot/predictasiax-hummingbot-v2.18.0.patch
shasum -a 256 predictasiax-hummingbot-v2.18.0.patch
git apply predictasiax-hummingbot-v2.18.0.patch

然后以常规方式从该文件夹安装 Hummingbot(从源码或本地 Docker 构建;参见 Hummingbot 安装文档)。该连接器为纯 Python 实现,不引入额外依赖。在 Hummingbot 中运行 connect predictasiax 并粘贴你的 API 密钥(sk_live_...)。关于如何获取密钥,参见 快速入门;实盘交易需要使用 POST /v1/apply 获取的实盘密钥。

下载

predictasiax-hummingbot-v2.18.0.patch (171 KB, SHA-256 11ee15beebdfa1e0eace3b8c7eaf3f9be1bafdfe6a15bdde5fbbc80f9ff514ef)。适用于 Hummingbot v2.18.0。

挂出的双边报价同样可获得 USDT 津贴和 PAX 报价奖励。参见 做市商。