From 055da97a79dbea25800daed972ab743a41ff8c71 Mon Sep 17 00:00:00 2001 From: ramseshk Date: Tue, 4 Aug 2026 09:04:05 +0000 Subject: [PATCH] Fix fee tiers to match official Hyperliquid docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Perps tiers 4-6 had wrong volume thresholds, taker rates, and incorrect negative maker rebates (HL only has rebates via staking). Changes (matching https://hyperliquid.gitbook.io/.../trading/fees): Tier 4: $250M→$500M vol, taker 0.025%→0.028% Tier 5: $750M→$2B vol, taker 0.020%→0.026%, maker -0.002%→0.000% Tier 6: $2.5B→$7B vol, taker 0.015%→0.024%, maker -0.004%→0.000% UI dropdown labels updated to match. Chart refresh enhanced with resize+fitContent after recalc for smooth transitions. --- config/fee_tiers.py | 6 +++--- dashboard/static/index.html | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/fee_tiers.py b/config/fee_tiers.py index db90141..3716df1 100644 --- a/config/fee_tiers.py +++ b/config/fee_tiers.py @@ -16,9 +16,9 @@ PERPS_TIERS = { 1: {"name": "VIP 1", "volume": 5_000_000, "taker": 0.00040, "maker": 0.00012}, 2: {"name": "VIP 2", "volume": 25_000_000, "taker": 0.00035, "maker": 0.00008}, 3: {"name": "VIP 3", "volume": 100_000_000,"taker": 0.00030, "maker": 0.00004}, - 4: {"name": "VIP 4", "volume": 250_000_000,"taker": 0.00025, "maker": 0.00000}, - 5: {"name": "VIP 5", "volume": 750_000_000,"taker": 0.00020, "maker": -0.00002}, - 6: {"name": "VIP 6", "volume": 2_500_000_000,"taker":0.00015,"maker": -0.00004}, + 4: {"name": "VIP 4", "volume": 500_000_000, "taker": 0.00028, "maker": 0.00000}, + 5: {"name": "VIP 5", "volume": 2_000_000_000, "taker": 0.00026, "maker": 0.00000}, + 6: {"name": "VIP 6", "volume": 7_000_000_000, "taker": 0.00024, "maker": 0.00000}, } # ── Spot fee tiers (base rates) ── diff --git a/dashboard/static/index.html b/dashboard/static/index.html index aa322fe..b1f7842 100644 --- a/dashboard/static/index.html +++ b/dashboard/static/index.html @@ -166,9 +166,9 @@ footer a{color:#3f3f4a;text-decoration:none}footer a:hover{color:var(--tx)} - - - + + +