TransWikia.com

How to execute orders for triangular arbitrage?

Personal Finance & Money Asked by Nerdizzle on December 3, 2020

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?

2 Answers

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.

Correct answer by Alan on December 3, 2020

How to execute orders for triangular arbitrage?

Arbitrage is not allowed in OANDA and most other forex brokers.

According to the API License Agreement which I found on the OANDA United States Legal Documents webpage:

1. DEFINITIONS

[...]

(m) “Unauthorized Activity” means any money laundering, arbitrage, scalping or pip-hunting activities, or any other activity involving the purchase of currency on one market for the immediate resale on another market in order to profit from a price discrepancy or price error.

14.0 NO ARBITRAGE

Licensee agrees and acknowledges that it shall not use the FXTrade System or the Licensed Materials in order to engage in any Unauthorized Activity. OANDA reserves the right to reverse any Transaction, where in OANDA’s reasonable opinion, such Transaction involved any Unauthorized Activity.

Similar language exists in the license agreements for other regions.

Answered by Flux on December 3, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP