AUTOMATED TRADING

Inter-Arbitrage

Take advantage of price discrepancies between exchanges
							-- Inputfields
account = InputAccountMarket('Secondary')
target = Input('Trigger percentage', 0.5)
oneWay = Input('One way', false, 'When enabled, the script will only buy on the main account and sell on the secondairy.')

maximumAmount = Input('Maximum position size', 10)

-- Obtain the price information of both markets
buyPriceA = CurrentPrice()[6]
sellPriceA = CurrentPrice(account)[7]

buyPriceB = CurrentPrice(account)[6]
sellPriceB = CurrentPrice()[7]

-- Calculate the price difference
deltaRouteA = Delta(buyPriceA, sellPriceA)
deltaRouteB = Delta(buyPriceB, sellPriceB)

-- Draw some lines
Plot(1, 'Delta A', deltaRouteA, Yellow) 
if oneWay == false then
	Plot(1, 'Delta B', deltaRouteB, White)
end
PlotHorizontalLine(1, 'Target', Green, target, Dotted)

-- Make sure both markets are spot
if MarketType() != SpotTrading or MarketType(account) != SpotTrading then
	LogError('IEAB only works on spot accounts. One or both markets are not set on spot.')
	return
end

if IsTradeAmountEnough('', buyPriceA, TradeAmount()) == false then
	LogError('Trade amount is to low for the main market')
	return
end

if IsTradeAmountEnough(account, buyPriceB, TradeAmount()) == false then
	LogError('Trade amount is to low for the second market')
	return
end								
						
+2.4%
+1.2%
-0.6%
Unlock the full power of HaasOnline
Start a free trial and enjoy 7-days free. We'll help you make better trades using Inter-Exchange Arbitrage.
Start free 7-day trial
Nov 21, 24, 11:17:50 Bot deactivated
Nov 21, 24, 11:17:50 Backtest start date: 11/21/24 11:17:50 GTM+0
Nov 21, 24, 11:17:50 Backtest end date: 11/21/24 11:17:50 GTM+0
Nov 21, 24, 11:17:50 Backtest took: 00:00:01.6642358ms
Nov 21, 24, 11:17:50 ----- Custom Report -----
Nov 21, 24, 11:17:50 Estimated Profit: 0.01 BTC
Nov 21, 24, 11:17:50 ----- Backtest report BINANCE_BNB_BTC_ -----
Nov 21, 24, 11:17:50 Gross profits: 100.00000000 BNB
Nov 21, 24, 11:17:50 Fee costs: 10.00000000 BNB
Nov 21, 24, 11:17:50 Realized profits: 90.00000000 BNB
Nov 21, 24, 11:17:50 Return on investment: 10.0000 %
Nov 21, 24, 11:17:50 Price change: 0.0306%
Nov 21, 24, 11:17:50 Closed positions: 100x
Nov 21, 24, 11:17:50 Profitable positions: 60x (90.00%)
Nov 21, 24, 11:17:50 Losing positions: 40x (10.00%)
Nov 21, 24, 11:17:50 Average margin: 5.00000000 BNB
Nov 21, 24, 11:17:50 Average realized profits: 10.00000000 BNB
Nov 21, 24, 11:17:50 Executed orders: 100x
Nov 21, 24, 11:17:50 Completed order: 100x
Nov 21, 24, 11:17:50 Average open time: 10 seconds
Nov 21, 24, 11:17:50 ----- Performance report BINANCE_BNB_BTC_ -----
Nov 21, 24, 11:17:50 Max. DrawDown: 1.00% / 40.00000000 BNB
Nov 21, 24, 11:17:50 Sharpe Ratio: 1.00
Nov 21, 24, 11:17:50 Sortino Ratio: 1.00
Nov 21, 24, 11:17:50 Win %: 3.00 %
Nov 21, 24, 11:17:50 Profit Ratio: 3.00
Nov 21, 24, 11:17:50 Profit Factor: 3.00
Nov 21, 24, 11:17:50 CPC Index: 1.00
Nov 21, 24, 11:17:50 Tail Ratio: 2.00
Nov 21, 24, 11:17:50 Common Sense Ratio: 2.00
Nov 21, 24, 11:17:50 Outlier Win Ratio: 3.00
Nov 21, 24, 11:17:50 Outlier Loss Ratio: 1.00
Nov 21, 24, 11:17:50 Profit Margin Ratio: 54.00
Nov 21, 24, 11:17:50 Biggest Win: 100.00000000
Nov 21, 24, 11:17:50 Biggest Loss: -100.00000000
Nov 21, 24, 11:17:50 Highest Point in PNL: 5.00000000
Nov 21, 24, 11:17:50 Lowest Point in PNL: -5.00000000

*These numbers are for illustration only and do not reflect past or future performance.

Crypto inter-exchange arbitrage is a trading strategy that capitalizes on price discrepancies between different cryptocurrency exchanges. As a trader, you can benefit from these price differences by buying an asset at a lower price on one exchange and selling it at a higher price on another. This process typically allows you to earn profits while minimizing your exposure to market fluctuations.

One key benefit of inter-exchange arbitrage is that it allows you to take advantage of inefficiencies in the market. The cryptocurrency market is still relatively young and fragmented, which leads to price disparities across various exchanges. By exploiting these disparities, you can earn consistent profits with relatively low risk, as you are not relying on the long-term price movement of the assets.

Another benefit of crypto inter-exchange arbitrage is that it can help you diversify your trading strategy. Instead of relying solely on other traditional trading methods, such as scalping or dollar-cost-averaging, you can incorporate arbitrage opportunities into your overall trading approach. This added layer of diversification could help to reduce your overall risk and improve your portfolio's performance.

The arbitrage trading bot can play a vital role in executing the inter-exchange arbitrage strategies effectively. Automation can monitor multiple exchanges simultaneously, identifying price discrepancies in real-time. Once an opportunity is detected, the trading bot can execute the necessary buy and sell orders across the different exchanges at lightning speed, allowing you to potentially capitalize on the arbitrage opportunity before it disappears.

Moreover, using trading bots for inter-exchange arbitrage can help you overcome some of the challenges associated with manual trading, such as slow human reaction times and the need for constant monitoring. By automating the process, you can enjoy the benefits of arbitrage trading with reduced stress and effort, allowing you to focus on other aspects of your trading strategy or investment portfolio.

While crypto arbitrage can be an attractive trading strategy, it also comes with potential downsides. The rapidly changing nature of the cryptocurrency market means that price discrepancies can disappear as quickly as they appear, making it challenging to consistently execute profitable trades. Additionally, fees such as trading fees, withdrawal fees, and network transaction costs can eat into your profits, sometimes rendering the arbitrage opportunity unprofitable.

More Alpha. Less Noise.

See if these exclusive offers can help your trading strategies, claim these rewards while they last!

Promotions offered by third-parties and are subject to availability, terms, and conditions. Other restrictions may apply. Individual results may vary and are not typical.
  • Discover profitability

    Capitalize on volatile markets where prices can fluctuate rapidly between two exchanges.

  • Improved efficiency

    Our arbitrage trading bots can execute trades faster and more efficiently than a human, where speed is imperative.

  • Arbitrage scalability

    Monitor large amounts of trading volume across multiple exchanges simultaneously, which is difficult for traders to manage manually.

Frequently Asked Questions

  • Will I need to manually rebalance my wallets?

    Yes. This is because TradeServer Cloud and Enterprise are non-custodial and make trades on your behalf using your API keys. All your crypto remains on your exchanges requiring manual rebalancing.

  • Is arbitraging crypto profitable?

    The answer no one wants to hear. It depends.

    Arbitrage trading can be a profitable strategy due to several factors:

    • Market inefficiencies: The cryptocurrency market is relatively young and fragmented, leading to inefficiencies and price discrepancies across different exchanges. By identifying and exploiting these price differences, you can secure profits with relatively low risk.
    • Diversification: Crypto arbitrage adds an additional layer of diversification to your trading portfolio. This can help to reduce overall risk and improve your portfolio's performance by not solely relying on conventional trading strategies like technical analysis or fundamental research.
    • Reduced exposure to market volatility: Since arbitrage strategies involve simultaneously buying and selling the same asset, your exposure to the asset's price movement is minimized. This enables you to profit from market inefficiencies without being significantly affected by market volatility.
    • High-frequency trading opportunities: Crypto markets operate 24/7, providing numerous arbitrage opportunities throughout the day. With a well-designed trading algorithm, you can quickly identify and execute on these opportunities, potentially earning consistent profits.
    • Automation potential: By using trading bots to automate your crypto arbitrage strategy, you can overcome some of the challenges associated with manual trading, such as slow reaction times and constant market monitoring. Automated trading can help you capitalize on short-lived opportunities more efficiently and increase the overall profitability of your strategy.

    Some of the risk factors to consider are:

    • The risk of exchange-related issues, such as withdrawal delays or temporary suspensions, which can leave you exposed to market volatility and jeopardize your arbitrage position.
    • Trading large volumes in less liquid markets may lead to price slippage, impacting the potential profitability of the arbitrage opportunity.
    • Fees such as trading fees, withdrawal fees, and network transaction costs can eat into your profits, sometimes rendering the arbitrage opportunity unprofitable.
    • Settlement times

Discover alternatives to the Inter-Exchange Arbitrage

Simplified Copy Bots

Copy top-tier trade bots and capitalize on their performance.
HaasScript Name Market Runtime ROI
SMMD v2.51 BTC/USDT 232 days +52791.1545% Copy Bot
SMMDH v3.3 XRP/USDT 100 days +47128.1407% Copy Bot
SMMDH v3.3 XRP/USD 106 days +39061.5235% Copy Bot
SMMDH v3.3 XRP/USDT 102 days +15505.5778% Copy Bot
SMMD v2.51 DOGE/USD 497 days +12375.8176% Copy Bot
SMMD v2.51 BTC/USD 497 days +10228.3686% Copy Bot
Haasonline Original - Market Making Bot BTC/USDT 513 days +9351.9627% Copy Bot
SMMD v2.51 XRP/USDT 497 days +9147.9218% Copy Bot
SMMDH v3.3 BTC/USDT 107 days +6821.7584% Copy Bot
SMMD v2.51 ADA/USD 482 days +5881.6161% Copy Bot
SMMDH v3.3 BTC/USD 107 days +5424.0362% Copy Bot
[pshaiBot] Some Trend Trader (STT) DOGE/USDT 502 days +2989.6899% Copy Bot
SMMD v2.51 XRP/USD 482 days +2020.5424% Copy Bot
SMMDH v3.3 BTC/USDT 107 days +1491.9567% Copy Bot
SMMD v2.51 ETH/USD 497 days +1369.3815% Copy Bot
SMMDH v3.3 BTC/USDT 107 days +1234.4251% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c XRP/USDT 384 days +1025.5799% Copy Bot
SMMDH v3.3 BTC/USD 107 days +823.4698% Copy Bot
[pshaiBot] Some Trend Trader (STT) ZEN/USDT 499 days +456.0696% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c ARK/USDT 384 days +413.0108% Copy Bot
HFCBv1.0 BTC/USDT 145 days +363.7736% Copy Bot
[pshaiBot] Some Trend Trader (STT) BNB/USDT 502 days +348.5595% Copy Bot
HFCBv1.0 BTC/USDT 145 days +283.3727% Copy Bot
HFCBv1.0 BTC/USDT 145 days +261.6021% Copy Bot
HFCBv1.0 BTC/USDT 145 days +247.9065% Copy Bot
HFCBv1.0 BTC/USD 145 days +245.9078% Copy Bot
Haasonline Original - Scalper Bot ETH/USDT 514 days +244.6159% Copy Bot
HFCBv1.0 BTC/USDT 145 days +228.0936% Copy Bot
HFCBv1.0 BTC/USDT 145 days +225.1551% Copy Bot
HFCBv1.0 BTC/USDT 145 days +196.3389% Copy Bot
SMMDH v3.3 ETH/USDT 107 days +157.1125% Copy Bot
HFCBv1.0 BTC/USDT 145 days +149.1533% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 123 days +138.3692% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 118 days +129.3191% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 413 days +113.2466% Copy Bot
Haasonline Original - Scalper Bot XRP/USDT 514 days +109.0008% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 118 days +108.9674% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 118 days +100.4181% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 123 days +77.9243% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 121 days +77.4391% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 118 days +71.6413% Copy Bot
HFCBv1.0 BTC/USDT 145 days +62.8524% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 118 days +62.6601% Copy Bot
Enhanced RSI bot (spot) BTC/USDT 518 days +53.8059% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 118 days +44.1909% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 118 days +33.1079% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 118 days +19.1529% Copy Bot
Haasonline Original - Intelli Alice Bot BTC/USDT 518 days +15.2684% Copy Bot
HS-DCA-Spot-Hopper-v2.0 BTC/USDT 123 days +5.4646% Copy Bot
* Please note that while our platform provides the tools to replicate the strategies of top-performing trading bots, individual results may vary. Success in financial markets is influenced by a variety of factors, many of which are beyond our control. Past performance is not indicative of future results, and there is always the potential for loss as well as gain. Always conduct your own research and consider your financial circumstances before making investment decisions.
Show more trade bots

Pro Upgrade1. Completely Free2. Unrestricted Trial3.

Embark on your journey to smarter, faster, and more effective trading with HaasOnline. Sign up now for a free trial and gain immediate access to our advanced trading bots.

Are you looking to optimize your trading strategy, reduce risks, or explore automated crypto trading? HaasOnline is your ideal partner. Experience firsthand how our customizable bots can enhance your trading efficiency and accuracy.

Start free 3-day trial ›
1 TradeServer Cloud Pro offers a 3-day trial of our premium subscription.
2 During the 3-day TradeServer Cloud Pro trial you will not be required to pay to access Pro plan features. Subscription automatically renews unless auto-renewal is disabled or if you opt for manual payments.
3 Access to premium features within TradeServer Cloud does not include third-party restrictions or unforeseen issues.