As a study, I've developed a simple algorithm to detect market discrepancies for triangular arbitrage opportunities through the OANDA REST API. To my surprise, it actually discovered a few of said discrepancies due to the recent fall of the Turkish Lira. However, I do not know how to execute orders in such a way as to capitalize on these opportunities.

Since every trade is closed by entering into a trade that takes the opposite position, how is it possible to trade triangularly?

For example, if there was a discrepancy that allowed me to profit by trading USD > EUR > TRY > USD, how would I actually close this trade triangle?

Logically, I would buy EUR/USD, sell EUR/TRY, and buy USD/TRY. I would be buying EUR with USD, selling those EUR for TRY, and then buying back my USD with that TRY.

However, if none of these trades are opposite to one another, then none of the trades actually close, and the profit is never realized.

How exactly, then, can one capitalize on a triangular arbitrage opportunity? Does it require a particular broker or account that allows for triangular closing of trades?

  • You could do the arbitrage if you do it in actual currency as suggested in your alternative statement ("I would be buying EUR with USD..."), because then you would begin with USD and end with USD. I'm not sure how you could accomplish this in practice. – BrenBarn Apr 23 '17 at 5:25

I dont think what you are attempting to do is possible with a retail forex account. Imagine you buy 10,000 EUR/USD, meaning you will profit from a rise in the euro or a fall in the dollar or both. However you do not actually have the right to ownership on those 10,000 euros, you only have the right to make a profit or loss from movements in the exchange rate. This is how brokers allow such leverage on small forex accounts. In order to actually take advantage of such opportunities you would need to be trading in the inter-bank market,on behalf of an institution big enough to take full ownership of these currencies without the need for margin trading. I hope this makes sense and answers your question to some degree. Might also be worth contacting your broker to see if they can allow this, but as far as I know, it is not possible from a retail account.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.