Kraken CLI
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...
Latest: v1.2.0
Fix: include bin/openclaw-kraken and config/ that were dropped by clawhub publish bug; fix bash 4.2+ shebang for macOS
fork of@oscraters/kraken-cli
Full description
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.
OpenClaw Kraken
Use {baseDir}/bin/openclaw-kraken for Kraken Spot REST tasks.
Use when
- The user wants Kraken market data.
- The user wants Kraken account state from private REST endpoints.
- The user wants guarded order placement, funding, earn, futures, subaccount, or websocket actions through a local Bash tool instead of ad hoc curl commands.
Rules
- Never print API secrets, signatures, or raw auth headers.
- Read secrets from the environment only. In OpenClaw, inject them via secret refs rather than plaintext config.
- Refuse to run if required config is missing or malformed.
- Use configured base URLs only. Do not accept arbitrary destination URLs.
- Preserve stdout for API results; use
--jqor--compactwhen structured formatting is needed. - Prefer read-only endpoints unless the user clearly asked for a state-changing action.
- For state-changing aliases such as trading, withdrawal, earn allocation, or subaccount transfer operations, require
--confirm.
Commands
market timemarket ticker --pair XBTUSDaccount balancefunding deposit-methods --asset ETHearn strategies --ascending truefutures call market.tickersws 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 --confirmcall funding.withdraw-info --asset ETH --key MyWallet --amount 0.5
Configuration
- Non-secret config is read from environment or
OPENCLAW_KRAKEN_CONFIG. - Secrets must be provided via environment variables that OpenClaw resolves from secret refs.
- See
{baseDir}/README.mdfor examples.
