Skip to content

Free app for Mac and Windows

Hyperliquid funding rate arbitrage bot

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.

  • Spot long + perp short, same size
  • Picks the best qualifying coin
  • Entry and exit thresholds
  • Keeps the hedge balanced
  • 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.

How does funding rate arbitrage work?

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.

Where does the money for each leg come from?

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.

How does the app connect to my Hyperliquid account?

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.

How do I open it the first time?

These first versions are not yet signed with an Apple or Microsoft developer certificate, so your computer asks once before opening them.

Windows

  1. Run the downloaded setup file.
  2. If “Windows protected your PC” appears, choose More info.
  3. Choose Run anyway and follow the installer.

Mac

  1. Open the .dmg and drag the app into Applications.
  2. Open the app once. When macOS says it cannot check it, choose Done.
  3. Open System Settings, Privacy & Security, scroll down and choose Open Anyway.

Frequently asked questions

Is funding rate arbitrage risk-free?
No. Funding can turn negative, so you pay instead of earn. A sharp rally can liquidate the short if its margin is thin, while the spot gain sits in the other balance. Wrapped spot tokens can trade away from the perp's price. Keep leverage low.
Can the app withdraw my money?
No. The app creates its own trading key on your computer and you approve it on Hyperliquid as an API wallet. Hyperliquid lets an API wallet place and cancel orders for your account, but not withdraw or transfer funds. Your main wallet key never goes into the app. You can remove the key at any time from Hyperliquid's API page or with "Forget this key" in the app.
Does my computer have to stay on?
Yes, the bot runs on your computer, so it trades only while the app is open (it can keep running in the background from the menu bar or system tray). Orders already placed on Hyperliquid, including stop-losses, stay there when the app closes. For around-the-clock running, use a computer or server that stays on.
Why does my computer warn me when I open it?
The first versions are not yet signed with an Apple or Microsoft developer certificate, so Windows SmartScreen and macOS Gatekeeper show a warning the first time. On Windows choose More info, then Run anyway. On a Mac open the app once, then go to System Settings, Privacy & Security, and choose Open Anyway. The source code is public, so you can also build it yourself.

Read the guides