OKX Learning HandbookSecurity · Funds · Trading

How do I automate strategies on Arbitrage bot?

  • InBots
  • Read Time5 mins
Share your love

When the price of an asset in the spot market differs from its price in a future

When the price of an asset in the spot market differs from its price in a futures contract, traders can take advantage of these differences by placing trades in both markets at the same time. This strategy is called spread arbitrage. Another opportunity arises from funding rate arbitrage, where you buy an asset in the spot market and sell it in a perpetual contract to earn funding rate payments.

What's Spread arbitrage?

Checklist

  1. How do I set up Arbitrage trading bot?
  2. Select Arbitrage order from the list of trading bot strategies
  3. Select Arbitrage from the pop-up menu at Trading bots > Arbitrage bots
  4. Then, select the trading pairs at the top to select the arbitrage bot you want to use
  5. Select the trading pairs of your preference
  6. To profit from perpetual swap funding rate payments, select Funding rates. To arbitrage the spread between two instruments, select Spreads
  7. Determine your strategy and select either Funding rates or Spreads
  8. Select Spreads: choose between USDT-margined or USDC-margined, and select your strategy
  9. Set Margin mode: choose between Cross and Isolated margin modes
  10. Set your range of queuing and surpassed parameters accordingly
  11. Select Funding rates: Choose between Crypto-margined or USDT-margined to settle trades in your preferred currency. Then, select the portfolio to trade
  12. Select your preferred margin under the Funding rates section

Notes

Spread arbitrage involves trading the price difference between two markets, such as spot and futures, or between two futures contracts. Here’s a simplified example:

You buy 1 BTC in the spot market at $50,000 and sell a futures contract at $50,100.

No matter how the price moves at settlement, you profit from the price difference.

To set up spread arbitrage:

Details follow the official OKX help article; this page is a learning checklist, not an official mirror.

Share your love
CQCC

CQCC

OKX step guides and risk notes. Official docs prevail when details differ.

ARTICLES: 442

Leave a Reply

Your email address will not be published. Required fields are marked *