mcpField
H
hummingbot-heartbeat

hummingbot-heartbeat

github.com/hummingbotクラウド・DevOps32355 回インストール21 週間前に更新
リポジトリ

hummingbot-heartbeat について

hummingbot-heartbeatは、Hummingbotの状態レポートを毎時作成し、接続済みのチャットチャンネルへ送るOpenClawのcronスキルです。APIの稼働状況、Gateway、ボット、エグゼキューター、ポートフォリオ残高を確認します。

主な機能

  1. 01毎時の状態レポート
  2. 02API稼働状況の確認
  3. 03Gateway状態の確認
  4. 04ボットとエグゼキューターの状態
  5. 05ポートフォリオ残高の報告

活用シーン

  1. 01チャットチャンネルへの毎時更新送信
  2. 02API、Gateway、ボット状態の確認
  3. 03直近のポートフォリオ残高の確認

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/hummingbot/skills --skill hummingbot-heartbeat

インストール後、Claude Code で/hummingbot-heartbeatを入力して読み込まれたか確認します。

同梱ファイル.env.examplescripts/bot_status.py

詳細

hummingbot-heartbeat

1 時間ごとに実行され、接続されたチャットチャンネル(Telegram、Discord など)に整形された Hummingbot ステータスレポートを配信する OpenClaw cron スキルです。API のヘルス、Gateway コンテナ、アクティブなボット/コントローラー、エグゼキューター、ポートフォリオ残高をカバーします。

インストール

clawhub install hummingbot-heartbeat

または、スキルディレクトリに手動でクローンします。

クイックスタート

1. OpenClaw cron ジョブをセットアップする

OpenClaw エージェントに次のように依頼します:

「hummingbot-heartbeat cron ジョブをセットアップして」

エージェントはスキルのパスを解決し、openclaw cron に登録します。または手動で行います:

# Replace <SKILL_PATH> with the actual installed path
openclaw cron add \
  --name "hummingbot-heartbeat" \
  --description "Hourly Hummingbot status check" \
  --every 1h \
  --announce \
  --channel telegram \
  --message "Run this and send output verbatim: python3 <SKILL_PATH>/scripts/bot_status.py"
2. 手動で実行する(デバッグ)
python3 scripts/bot_status.py
python3 scripts/bot_status.py --json

設定

環境変数、またはスキルディレクトリ内の .env ファイルで設定します:

# .env (optional — defaults shown)
HUMMINGBOT_API_URL=http://localhost:8000
API_USER=admin
API_PASS=admin
変数デフォルト説明
HUMMINGBOT_API_URLhttp://localhost:8000Hummingbot API のベース URL
API_USERadminAPI ユーザー名
API_PASSadminAPI パスワード

要件

  • Python 3.9+
  • Hummingbot API が実行中であること(hummingbot-deploy スキルを参照)
  • Docker(任意 — Docker が利用できない場合、Gateway のステータスチェックはスキップされます)

出力例

🤖 Hummingbot Status — Feb 28, 2026 09:06 AM

**Infrastructure**
  API:     ✅ Up (v1.0.1)
  Gateway: ✅ Up 17 hours

**Active Bots:** none

**Active Executors:** none

**Portfolio** (total: $187.23)
  Token           Units       Price      Value
  ------------ ----------- ---------- ----------
  SOL            2.0639    $81.4996    $168.20
  USDC          19.0286     $1.0000     $19.03

チェック内容

チェックエンドポイント備考
API ヘルスGET /バージョンを返します
Gatewaydocker ps | grep gatewayDocker が利用できない場合はスキップされます
アクティブなボットGET /bot-orchestration/statusコントローラー設定を一覧表示します
アクティブなエグゼキューターPOST /executors/searchCLOSED/FAILED を除外します
ポートフォリオPOST /portfolio/history価格付きの最新残高

コメント