Understanding Forex HFT Arbitrage with different counter parties/ Brokers/ ECN
Understanding Forex HFT Arbitrage with different counter parties/ Brokers/ ECN
Loading saved threads...
rnv · External communityPost link
External question — Quantitative Finance Stack Exchange
Author: rnv
Original post: https://quant.stackexchange.com/questions/40853
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I came across this in a online lecture. But couldn't wrap my head around it.
Lets say I have accounts with two brokers/ECN/STP. Now consider the following scenario for currency pair USD/JPY
Broker1: Bid-110 Offer-111
Broker2: Bid-112 Offer-113
Now we will apply the simultaneous buying of the pair and selling strategy.
Lets say I
Buy 500$ at 111 from Broker1 and
Sell 500$ at 112 to Broker2
Considering no order expiry etc the lecturer says the profit is 500 Yen.
But the account with the Brokers are different.
In the above scenario when I
Buy 500$ at 111 from Broker1 --> I bought 500 USDs at 111 rate (opened a position)
Sell 500$ at 112 to Broker2 --> I sold 500 USDs at 112 rate (opened a position)
Now since the account isn't one unless I sell the 500USD at Broker1(close position) and Buy 500USD at Broker2(close position) there won't be any gain for me. What I am saying is the rate might not change in my favor in near future when I try to close position. Lets say when I close position the rate is same
Broker1 rate is 110 and Broker2 rate is 113 only. So basically I loose 1000Yen.
But in the lecture it says you will gain 500Yen. Shouldn't it consider the closing position thing too?
That is the rate at the time of closing position is important.
Is there something I am missing?
Is it to do something with Swap Arbitrage(don't know well).
Or does the position closes automatically or depends on the account type or order type?
Or is there a way to have a single account and link it with different brokers something like single trading account.
Quote
Report
Jared M · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: Jared M
Original post: https://quant.stackexchange.com/a/40859
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I'm interested in hearing other's opinions, but I'll share my thoughts. First, your logic is definitely sound, let's walk through this trade from the perspective of the arbitrageur.
Arbitrageurs play the role of finding mispriced assets and attempting to make a risk free profit by taking both sides of the trade.
In your example, a market participant can buy Yen at broker1 at the ask
A
and simultaneously go-short Yen at broker 2 by hitting the bid
B
where there is some kind of spread
s = B-A
Typically, and especially in HFT environments, arbitrageurs expect that this spread will typically "narrow" - converge towards a minimum threshold that does not justify either the risk associated or cost of arbitrage.
So, the answer to your question "Did I immediately make 500 Yen?" is twofold - in theory - Yes, because you are holding a net 0 position (you bought and sold the same amount of the same underlying asset, so you have no position and are immune to the idiosyncratic risk of the underlying). But in reality - No, you have not immediately realized this profit because as you point out, you have to somehow capture this spread.
In a HTF environment, you would expect this spread to tighten as other arbitrageurs enter the market, and thus when you unwind your position on both sides, then you will realize the profit. In less liquid markets, you may be able to transfer assets between exchanges and realize the profit that way - ie buy from Broker1 and transfer the asset to Broker 2 where the price is higher. This of course has risks and limitations and is not generally used in HFT in the way that I understand it.
So in summary, your logic is sound, the risk free profit is not immediately realized, but rather the arbitrageur is making a calculated bet that this spread will tighten, and thus they will earn that spread when they unwind their position. As you point out, the spread could continue to widen (maybe temporarily) and you are taking that risk. In a HFT this spread can be very small and the tightening can occur very quickly as other HFT also realize that an arbitrage opportunity exists. This is probably not possible on most liquid exchanges as the exchanges themselves probably run HFT algos that watch for arbitrage and they place themselves at the highest point in the order stack so that by the time others can react, the opportunity has been resolved.
Hope this helps,
Quote
Report
Ariel Silahian · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: Ariel Silahian
Original post: https://quant.stackexchange.com/a/51094
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
You almost got it... but you are missing one important piece the "every" HFT has.
They use what is called "prime brokers", where they hold their account and have the ability to open/close trades in multiple venues/ecn's
That means, that all their positions will be held by the prime broker.
So, let's say you have an account with these Prime Brokers and you execute:
Long EUR/USD at ECN1
Short EUR/USD at ECN2
In your Prime Broker account, you are instantly flat.
So if you were trying to arbitrage those ECNs your profit will be realized in your account.
Easy ehhh...
Not so fast... at least in the Forex world.
If you do arbitrage (which is the easiest thing to spot and execute), you will last less than 2 minutes before everybody cut you out.
I've written several articles about this in my linkedin profile... feel free to read them.
Cheers
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External answer — Quantitative Finance Stack Exchange Author: Ariel Silahian Source score (net votes, not local likes): 0 Original post: https://quant.stackexchange.com/a/51094 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. You almost got it... but you are missing one important piece the "every" HFT has. They use what is called "prime brokers", where they hold their account and have the ability to open/close trades in multiple venues/ecn's That means, that all their positions will be held by the prime broker. So, let's say you have an account with these Prime Brokers and you execute: Long EUR/USD at ECN1 Short EUR/USD at ECN2 In your Prime Broker account, you are instantly flat. So if you were trying to arbitrage those ECNs your profit will be realized in your account. Easy ehhh... Not so fast... at least in the Forex world. If you do arbitrage (which is the easiest thing to spot and execute), you will last less than 2 minutes before everybody cut you out. I've written several articles about this in my linkedin profile... feel free to read them. Cheers
Checking account access…