Funding rates explained: how perpetual futures stay close to spot
How a funding rate works on perpetual futures: who pays whom, how Hyperliquid calculates it, a worked example in dollars, and what it costs to hold.
8 min read
Free app for Mac and Windows
When Hyperliquid funding is positive, longs pay shorts every hour. Holding a coin on spot and shorting the same amount on its perp cancels out the price moves and collects that funding. Hypr Funding Arbitrage finds coins with both a spot and a perp market, enters when the yearly rate is above your threshold, keeps the two legs the same size, and exits when funding stays low. At 0.00125% an hour, funding is about 11% a year before fees.
Free · Mac (Apple silicon and Intel) and Windows 10/11 · Linux AppImage (opens in a new tab) · Source code (opens in a new tab)
Cannot withdraw
The app trades through its own API key. Hyperliquid does not let API keys withdraw or transfer.
Practice first
Live prices and $10,000 of pretend money. Nothing to connect.
Open source
Read every line on GitHub, or build it yourself.
Perpetual futures stay close to the spot price through funding: when the perp trades above spot, longs pay shorts. Holding the coin and shorting the perp leaves you with no net price exposure, so the funding is the return. It is paid hourly on Hyperliquid and changes every hour, so the app checks it constantly and only enters when the rate clears your threshold.
Entering and exiting means four trades, each with fees, so funding needs to stay positive long enough to cover them. The dashboard shows funding earned against fees paid.
The spot leg uses USDC in your spot balance and the perp leg uses perp margin. If your account uses Hyperliquid's unified (one-balance) mode, both come from one balance. Otherwise put USDC in both before starting: the app cannot move money between them, because that needs your main wallet's signature.
The app makes a new trading key on your computer and keeps it encrypted with your operating system's key store. When you press Connect, your browser opens the Hypr Markets connect page. You connect the wallet you use on Hyperliquid there and approve this trading key as an API wallet: it can trade but cannot withdraw. The app sees the approval on Hyperliquid within a few seconds and is ready.
These first versions are not yet signed with an Apple or Microsoft developer certificate, so your computer asks once before opening them.
Windows
Mac
How a funding rate works on perpetual futures: who pays whom, how Hyperliquid calculates it, a worked example in dollars, and what it costs to hold.
8 min read
Isolated vs cross margin with worked numbers: how each mode handles losses, how Hyperliquid liquidates positions and how to choose for each trade.
9 min read