بنقرة واحدة
bitmex-recipe-fee-tier-progress
Track trading volume and commission rates.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Track trading volume and commission rates.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Price, funding, liquidation, and balance alerts using polling and WebSocket on bitmex-cli.
Autonomy progression for bitmex-cli agents: from read-only market data to autonomous fund management.
Delta-neutral basis trading between BitMEX perpetuals and fixed-date futures: entry, monitoring, and exit.
Dollar cost averaging on bitmex-cli: testnet-first, fixed qty per interval, limit orders, and position cap enforcement.
Error category handling, duplicate order prevention, retry logic, and partial fill management for bitmex-cli.
Minimize trading fees on bitmex-cli: maker vs taker, post-only orders, commission tiers, and fee audit.
| name | bitmex-recipe-fee-tier-progress |
| description | Track trading volume and commission rates. |
Check your current maker/taker commission rates, your 30-day trading volume, and calculate how much volume you need to reach the next fee tier.
BITMEX_API_KEY and BITMEX_API_SECRET set.jq and bc installed.# Returns a map of symbol → fees; index by symbol to get rates
bitmex account commission -o json \
| jq '.XBTUSD | {makerFee, takerFee, settlementFee}'
Rates are expressed as decimals (e.g. -0.00025 = -0.025% maker rebate, 0.00075 = 0.075% taker fee).
# Returns an array; first element has the totals
bitmex account volume -o json \
| jq '.[0] | {advUsd, advUsdContract, advUsdSpot}'
advUsd is the 30-day average daily volume in USD; multiply by 30 for total monthly volume.
ADV_USD=$(bitmex account volume -o json | jq '.[0].advUsd')
MONTHLY_VOL=$(echo "scale=2; $ADV_USD * 30" | bc)
echo "Estimated 30-day volume: \$${MONTHLY_VOL}"
Typical tier thresholds (verify current values at bitmex.com/wallet/fees):
| Tier | 30-day Volume (USD) | Maker | Taker |
|---|---|---|---|
| 1 | < $1M | -0.025% | 0.075% |
| 2 | $1M – $5M | -0.025% | 0.060% |
| 3 | $5M – $10M | -0.025% | 0.050% |
| 4 | > $10M | -0.025% | 0.040% |
NEXT_TIER_USD=5000000
GAP=$(echo "scale=2; $NEXT_TIER_USD - $MONTHLY_VOL" | bc)
echo "Volume needed for next tier: \$${GAP}"
On a 100,000 USD trade at current rates:
TRADE_SIZE=100000
MAKER_RATE=$(bitmex account commission -o json | jq '.XBTUSD.makerFee')
TAKER_RATE=$(bitmex account commission -o json | jq '.XBTUSD.takerFee')
MAKER_COST=$(echo "scale=4; $TRADE_SIZE * $MAKER_RATE" | bc)
TAKER_COST=$(echo "scale=4; $TRADE_SIZE * $TAKER_RATE" | bc)
echo "Maker cost/rebate on \$${TRADE_SIZE}: \$${MAKER_COST}"
echo "Taker cost on \$${TRADE_SIZE}: \$${TAKER_COST}"
A negative maker cost means BitMEX pays you a rebate for providing liquidity.