This domain is for sale · trading.bot — serious offers: per@markusakerlund.com Make an offer →
Home / Crypto Markets / Perpetual Futures Explained: Perps for Bot Traders
Crypto Markets

Perpetual Futures Explained: Perps for Bot Traders

t.
trading.bot Research Desk Updated Aug 24, 2026 · 7 min read · Editorial standards
Perpetual Futures Explained: Perps for Bot Traders
Quick answer: A perpetual future (a "perp") is a crypto derivative that tracks an asset's price but has no expiry date. You hold a leveraged long or short as long as you like, paying or receiving a small funding fee every few hours so the contract price stays tethered to spot. Perps are the default instrument for crypto bots because they are deeply liquid, short-selling is trivial, and one API endpoint handles both directions.

What are perpetual futures?

A perpetual future is a contract that lets you speculate on an asset's price without ever owning it and without a settlement date. A traditional dated future settles on a fixed day; a perp just keeps running. That single design change is the whole point.

Instead of an expiry to force the contract price back to spot, perps use a periodic cash payment called funding. When the perp trades above the underlying spot price, longs pay shorts. When it trades below, shorts pay longs. This nudge keeps the two prices close without anyone ever taking delivery.

The instrument was described academically by economist Robert Shiller in 1992 and made practical by BitMEX in 2016. Today perps dominate crypto volume, usually trading many times the size of the spot market for the same coin.

How do perps differ from spot and dated futures?

Spot means you buy the actual coin and hold it. A dated future is a contract with a fixed expiry that settles to spot on that day. A perp sits between them: a contract like a future, but open-ended like spot.

FeatureSpotDated futurePerpetual
ExpiryNoneFixed dateNone
LeverageUsually noneYesYes
Easy to shortNoYesYes
Tether to spotIs spotConvergence at expiryFunding payments
Ongoing costNoneBasisFunding + fees

For a bot, the practical differences are leverage and symmetry. On a perp you can go short as easily as long, so a strategy can trade both directions of a market with identical code. That symmetry is why so many automated strategies are built on perps rather than spot.

What is mark price, and why does your bot care?

Every perp venue tracks three prices, and confusing them is a common way to get burned. The last price is whatever the most recent trade printed on that exchange's order book. The index price is an average of spot prices across several major exchanges. The mark price is a smoothed, manipulation-resistant reference, usually the index price plus a decaying moving average of the perp's basis.

Your unrealized profit and, critically, your liquidation are calculated from the mark price, not the last price. This matters because a single exchange's order book can spike or wick far away from the real market for a few seconds. If liquidations used last price, a thin book could be pushed to trigger a cascade of forced closes. Mark price stops most of that.

For bot logic, always read mark price for risk checks and last price for execution. A bot that sizes stops off last price will fire on noise that mark price ignores.

How does funding keep a perp tethered to spot?

Funding is the mechanism that replaces expiry. At each funding interval, one side pays the other a percentage of position notional based on how far the perp has drifted from the index. It is a payment between traders, not a fee the exchange keeps.

Rates are small per interval, often a few basis points, but they compound. A persistent 0.01% every 8 hours is roughly 11% a year paid by longs, which quietly eats a leveraged position. Some bots trade funding directly by holding a delta-neutral spot-versus-perp position to harvest it. We cover the mechanics in Funding Rates Explained, and it is worth reading before you assume funding is negligible.

How does liquidation work on a perp?

Liquidation is what happens when your margin can no longer cover your losses. Each position has a maintenance margin, the minimum equity the exchange requires. When mark price moves against you far enough that equity drops to that floor, the position is force-closed at the liquidation price and you lose the margin backing it.

The higher your leverage, the tighter the buffer. Rough math on an isolated position, before fees and the maintenance margin cushion:

Isolated margin caps the loss to that one position's collateral. Cross margin shares your whole balance, which lowers liquidation risk on any single trade but can drain the entire account if a position blows up. Most systematic bots run isolated margin per position so one bad fill cannot cascade. How much leverage is sane is its own topic, covered in Leverage and Trading Bots and Position Sizing for Bots.

Why are perps the default instrument for crypto trading bots?

Several properties line up in the bot's favor:

This holds on both centralized venues and on-chain perp DEXs. Copy-trading systems increasingly run on perp DEXs precisely because positions are transparent on-chain; see Copy Trading on Perp DEXs and the deeper look at Hyperliquid Trading Bots. The trade-offs between the two worlds are laid out in On-Chain vs CEX Trading Bots.

What can go wrong with a bot on perps?

The same features that make perps attractive make them unforgiving. Be honest with yourself about the costs before you go live.

None of this is a reason to avoid perps. It is a reason to model costs realistically. Most retail bots lose money after fees and funding, and leverage is usually why the losing ones die fast rather than slow. Trade small, size positions by risk rather than by leverage, and assume your real edge is thinner than your backtest suggests.

Frequently asked questions

What are perpetual futures in simple terms?

They are contracts that let you bet on a crypto's price, up or down, with leverage and no expiry date. Instead of settling on a fixed day, they use recurring funding payments between traders to keep the contract price close to the real spot price. You can hold the position as long as your margin covers it.

How is the perp price kept close to spot?

Through funding. Every few hours, if the perp trades above spot, long holders pay short holders; if it trades below, shorts pay longs. This creates a financial incentive to push the perp back toward the index price of the underlying asset, so the two rarely drift far apart for long.

What triggers a liquidation on a perp?

Liquidation happens when the mark price moves against your position far enough that your equity falls to the maintenance margin, the minimum the exchange requires. The exchange then force-closes the position at the liquidation price and you lose the collateral backing it. Higher leverage means a smaller adverse move triggers it.

Why do trading bots prefer perps over spot?

Perps are deeply liquid, let a bot short as easily as it goes long, and run through a single API instead of managing spot inventory plus a separate borrow. Leverage adds capital efficiency, and funding rates give bots an extra signal to trade. The catch is that fees and leverage also amplify losses.

Sources

  1. Investopedia — Futures Contract
  2. Binance Academy — What Are Perpetual Futures Contracts?
  3. Hyperliquid Documentation — Funding and Mark Price
  4. BitMEX — Perpetual Contracts Guide
  5. CFTC — Learn and Protect: Understanding Derivatives Risk
← PreviousOn-Chain vs CEX Trading Bots: Trade-offs That Matter