返回顶部
o

openclaw_kraken使用Bash CLI查询Kraken

Use a Bash CLI to query Kraken Spot and Futures APIs, inspect account state, run guarded trading and funding actions, and work with Kraken websocket payloads using OpenClaw-managed secrets.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
280
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

openclaw_kraken

OpenClaw Kraken

使用 {baseDir}/bin/openclaw-kraken 执行 Kraken 现货 REST 任务。

使用场景

  • - 用户需要获取 Kraken 市场数据。
  • 用户需要从私有 REST 端点获取 Kraken 账户状态。
  • 用户希望通过本地 Bash 工具(而非临时 curl 命令)执行受保护的订单下达、资金操作、理财、期货、子账户或 WebSocket 操作。

规则

  • - 绝不打印 API 密钥、签名或原始认证头信息。
  • 仅从环境变量读取密钥。在 OpenClaw 中,通过密钥引用注入,而非明文配置。
  • 如果所需配置缺失或格式错误,则拒绝执行。
  • 仅使用配置的基础 URL。不接受任意目标 URL。
  • 保留标准输出用于 API 结果;需要结构化格式时使用 --jq 或 --compact。
  • 除非用户明确要求执行状态变更操作,否则优先使用只读端点。
  • 对于交易、提现、理财分配或子账户转账等状态变更别名操作,需使用 --confirm。

命令

  • - market time
  • market ticker --pair XBTUSD
  • account balance
  • funding deposit-methods --asset ETH
  • earn strategies --ascending true
  • futures call market.tickers
  • ws spot-public --message-json {method:ping}
  • orders add --pair XBTUSD --side buy --type limit --volume 0.01 --price 25000 --time-in-force GTC --post-only true --confirm
  • call funding.withdraw-info --asset ETH --key MyWallet --amount 0.5

配置

  • - 非密钥配置从环境变量或 OPENCLAWKRAKENCONFIG 读取。
  • 密钥必须通过环境变量提供,OpenClaw 从密钥引用中解析。
  • 示例请参见 {baseDir}/README.md。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 kraken-cli-1776087844 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 kraken-cli-1776087844 技能

通过命令行安装

skillhub install kraken-cli-1776087844

下载

⬇ 下载 openclaw_kraken v1.0.0(免费)

文件大小: 15.94 KB | 发布时间: 2026-4-15 13:11

v1.0.0 最新 2026-4-15 13:11
Initial release—migrates Kraken crypto skill from Python scripts to a modular Bash CLI:

- Replaces Python implementation (kraken_api.py, kraken_cli.py) with Bash CLI under bin/openclaw-kraken and supporting shell/lib scripts.
- Adds structured documentation, including usage examples, caveats, and full command references for Spot, Earn, Funding, and Futures APIs.
- Introduces support for OpenClaw-managed secret injection and safer config/secret handling.
- All primary functions (market data, account state, funding, earn, orders) are implemented as Bash functions/scripts.
- Implements strict security and confirmation rules for state-changing operations.
- Includes comprehensive test scripts and configuration examples.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部