用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/krakenfx/kraken-cli --skill kraken-fee-optimization命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | kraken-fee-optimization |
| version | 1.0.0 |
| description | Minimize trading fees through maker orders, volume tiers, and fee-aware execution. |
| metadata | {"openclaw":{"category":"finance"},"requires":{"bins":["kraken"]}} |
Use this skill for:
Check current 30-day volume and fee rates:
kraken volume --pair BTCUSD -o json 2>/dev/null
The response includes volume (30-day USD equivalent) and fees / fees_maker arrays showing the tier schedule.
At starter tier: 0.26% taker, 0.16% maker. The difference compounds over many trades.
Force maker execution by rejecting orders that would immediately fill:
kraken order buy BTCUSD 0.001 --type limit --price 50000 --oflags post -o json 2>/dev/null
If the order would cross the spread and fill as taker, it is rejected instead. This guarantees maker fees on every fill.
By default, fees are deducted from the received currency. Override with:
kraken order buy BTCUSD 0.001 --type limit --price 50000 --oflags fciq -o json 2>/dev/null
| Flag | Fee taken from |
|---|---|
fciq | Quote currency (e.g., USD) |
fcib | Base currency (e.g., BTC) |
Paying fees in quote currency preserves your base asset balance, useful when accumulating.
Higher 30-day volume unlocks lower fees. Track progress:
kraken volume -o json 2>/dev/null
If close to the next tier threshold, consolidating trading activity (rather than splitting across exchanges) can push you into a cheaper bracket.
kraken futures feeschedules -o json 2>/dev/null
Futures fee volumes:
kraken futures fee-schedule-volumes -o json 2>/dev/null
When buying a fixed dollar amount, account for fees in the volume calculation:
# $100 buy at starter taker rate (0.26%)
# Effective spend: $100 / 1.0026 = $99.74 worth of BTC
# Fee: ~$0.26
For precise accounting, check the fee field in the trade response after execution.
Batch orders share a single API call, reducing overhead. Use when placing related orders:
kraken order batch orders.json --pair BTCUSD -o json 2>/dev/null
--validate before submitting live orders.kraken feedback.Capture the spot-futures price spread with delta-neutral basis trades.
基于 SOC 职业分类