Agent Skillskrakenfx/kraken-cli › kraken-fee-optimization

kraken-fee-optimization

GitHub

优化Kraken交易手续费,涵盖Maker/Taker费率理解、Post-Only订单确保Maker费率、30天交易量追踪以升级费率档位、费用货币选择及批量下单策略。

skills/kraken-fee-optimization/SKILL.md krakenfx/kraken-cli

Trigger Scenarios

用户询问如何降低交易手续费 需要执行限价单并避免Taker费用 查询当前交易量等级或费率结构 配置订单以指定费用扣除货币

Install

npx skills add krakenfx/kraken-cli --skill kraken-fee-optimization -g -y
More Options

Use without installing

npx skills use krakenfx/kraken-cli@kraken-fee-optimization

指定 Agent (Claude Code)

npx skills add krakenfx/kraken-cli --skill kraken-fee-optimization -a claude-code -g -y

安装 repo 全部 skill

npx skills add krakenfx/kraken-cli --all -g -y

预览 repo 内 skill

npx skills add krakenfx/kraken-cli --list

SKILL.md

Frontmatter
{
    "name": "kraken-fee-optimization",
    "version": "1.0.0",
    "metadata": {
        "openclaw": {
            "category": "finance"
        },
        "requires": {
            "bins": [
                "kraken"
            ]
        }
    },
    "description": "Minimize trading fees through maker orders, volume tiers, and fee-aware execution."
}

kraken-fee-optimization

Use this skill for:

  • understanding maker vs taker fee structures
  • using post-only orders to guarantee maker rates
  • tracking 30-day volume for tier progression
  • choosing fee currency to minimize cost

Fee Tiers

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.

Maker vs Taker

  • Taker: you remove liquidity (market orders, limit orders that fill immediately). Higher fee.
  • Maker: you add liquidity (limit orders that rest on the book). Lower fee, sometimes zero.

At starter tier: 0.26% taker, 0.16% maker. The difference compounds over many trades.

Post-Only Orders

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.

Fee Currency Selection

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.

Volume-Based Optimization

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.

Futures Fee Schedules

kraken futures feeschedules -o json 2>/dev/null

Futures fee volumes:

kraken futures fee-schedule-volumes -o json 2>/dev/null

Fee-Aware Order Sizing

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 for Fee Efficiency

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

Hard Rules

  • Order placement commands are dangerous. Never execute without explicit human approval.
  • Always --validate before submitting live orders.
  • Post-only orders can be rejected; handle rejection gracefully and retry.
  • If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with kraken feedback.

Version History

  • aa56e59 Current 2026-08-20 04:44
  • aa32814 2026-07-25 10:28

Same Skill Collection

skills/kraken-alert-patterns/SKILL.md
skills/kraken-autonomy-levels/SKILL.md
skills/kraken-basis-trading/SKILL.md
skills/kraken-dca-strategy/SKILL.md
skills/kraken-earn-staking/SKILL.md
skills/kraken-error-recovery/SKILL.md
skills/kraken-funding-carry/SKILL.md
skills/kraken-funding-ops/SKILL.md
skills/kraken-futures-risk/SKILL.md
skills/kraken-grid-trading/SKILL.md
skills/kraken-lab-experiment/SKILL.md
skills/kraken-liquidation-guard/SKILL.md
skills/kraken-market-intel/SKILL.md
skills/kraken-mcp-integration/SKILL.md
skills/kraken-multi-pair/SKILL.md
skills/kraken-order-types/SKILL.md
skills/kraken-paper-strategy/SKILL.md
skills/kraken-paper-to-live/SKILL.md
skills/kraken-playground/SKILL.md
skills/kraken-portfolio-intel/SKILL.md
skills/kraken-rate-limits/SKILL.md
skills/kraken-rebalancing/SKILL.md
skills/kraken-risk-operations/SKILL.md
skills/kraken-setup/SKILL.md
skills/kraken-spot-execution/SKILL.md
skills/kraken-stop-take-profit/SKILL.md
skills/kraken-subaccount-ops/SKILL.md
skills/kraken-tax-export/SKILL.md
skills/kraken-twap-execution/SKILL.md
skills/kraken-ws-streaming/SKILL.md
skills/recipe-basis-trade-entry/SKILL.md
skills/recipe-daily-pnl-report/SKILL.md
skills/recipe-drawdown-circuit-breaker/SKILL.md
skills/recipe-earn-yield-compare/SKILL.md
skills/recipe-emergency-flatten/SKILL.md
skills/recipe-fee-tier-progress/SKILL.md
skills/recipe-funding-rate-scan/SKILL.md
skills/recipe-futures-hedge-spot/SKILL.md
skills/recipe-launch-grid-bot/SKILL.md
skills/recipe-morning-market-brief/SKILL.md
skills/recipe-multi-pair-breakout-watch/SKILL.md
skills/recipe-paper-strategy-backtest/SKILL.md
skills/recipe-playground-dca-triggered/SKILL.md
skills/recipe-playground-dca/SKILL.md
skills/recipe-playground-price-alert/SKILL.md
skills/recipe-playground-rebalance/SKILL.md
skills/recipe-playground-webhook/SKILL.md
skills/recipe-portfolio-snapshot-csv/SKILL.md
skills/recipe-price-level-alerts/SKILL.md

Metadata

Files
0
Version
aa56e59
Hash
7f20d573
Indexed
2026-07-25 10:28

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-03 00:50
浙ICP备14020137号-1 $bản đồ khách truy cập$