원클릭으로
kraken-rebalancing
Portfolio rebalancing to maintain target allocations across assets.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Portfolio rebalancing to maintain target allocations across assets.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Connect MCP clients to kraken-cli for native tool calling without subprocess wrappers.
Install kraken-cli, create API credentials, and go from paper trading to live in under five minutes.
Discover staking strategies, allocate funds, and track earn positions.
Place, manage, and monitor futures orders across the full lifecycle.
Test strategy logic on paper trading before touching live funds.
Promote a validated paper strategy to live trading with safety checks.
| name | kraken-rebalancing |
| version | 1.0.0 |
| description | Portfolio rebalancing to maintain target allocations across assets. |
| metadata | {"openclaw":{"category":"finance"},"requires":{"bins":["kraken"]}} |
Use this skill for:
Example target: 50% BTC, 30% ETH, 20% SOL (by USD value).
The agent maintains these weights and compares against current holdings.
kraken balance -o json 2>/dev/null
kraken ticker BTCUSD ETHUSD SOLUSD -o json 2>/dev/null
For each asset:
Set a minimum trade threshold (e.g., $50) to avoid placing tiny orders that waste fees.
kraken paper init --balance 10000 -o json 2>/dev/null
# Initial buys to establish positions
kraken paper buy BTCUSD 0.05 -o json 2>/dev/null
kraken paper buy ETHUSD 1.0 -o json 2>/dev/null
kraken paper buy SOLUSD 10 -o json 2>/dev/null
kraken paper status -o json 2>/dev/null
# After price drift, rebalance
# Sell overweight asset, buy underweight asset
kraken paper sell BTCUSD 0.005 -o json 2>/dev/null
kraken paper buy SOLUSD 2 -o json 2>/dev/null
kraken paper status -o json 2>/dev/null
kraken order sell BTCUSD 0.005 --type market --validate -o json 2>/dev/null
kraken order buy SOLUSD 2 --type market --validate -o json 2>/dev/null
kraken order sell BTCUSD 0.005 --type market -o json 2>/dev/null
kraken order buy SOLUSD 2 --type market -o json 2>/dev/null
kraken balance -o json 2>/dev/null
Periodically compare current weights to targets. Trigger rebalance when any asset drifts beyond a threshold (e.g., 5% absolute drift):
# Agent checks balance and prices on a schedule
# If |current_weight - target_weight| > 0.05 for any asset → rebalance
For lower fees, use limit orders instead of market:
PRICE=$(kraken ticker SOLUSD -o json 2>/dev/null | jq -r '.[].a[0]')
kraken order buy SOLUSD 2 --type limit --price $PRICE -o json 2>/dev/null
Check fills before declaring rebalance complete:
kraken open-orders -o json 2>/dev/null
kraken pairs).