Is my new internet connection to IBKR very slow?

Took a look at a few orders from Friday and timestamps on my server were showing some order executions below 200 ms. That's not too bad. A proper histogram of the delays would be helpful. It also makes you a little paranoid that someone is frontrunning a large marketable order when it doesn't go through "immediately".
 
You would assume, but why does it take so long? When looking at the exchange timestamps for the order execution (on a marketable limit order that executes "immediately") it varies from 200 ms to 1,200 ms. This may seem like splitting hairs until you look at algo trading and fast moving stocks. An awful lot happens in 1,200 ms and you can see it directly in the trade data from the exchange. The result is that retail algo traders end up at the back of the line. This disadvantage needs to be quantified and brought into the light.


ms here is millisec so you are saying a 1 full-second delay? Wow, I can then send an order and go walk my dog. Why don't you ask IBKR on what the heck is going on there?
 
ms here is millisec so you are saying a 1 full-second delay? Wow, I can then send an order and go walk my dog. Why don't you ask IBKR on what the heck is going on there?

Yes. The results skew towards 200 ms even though some orders take much longer.

It's possible they will say their SMART router is the variable delay. If you want execution speed and are willing to give up fill quality in terms of finding dark liquidity then direct your order to NASDAQ. Commissions are higher and missing out on dark liquidity is a very real expense.

Hmmm... that actually makes a lot of sense.

So you'd derive from that a need to know ahead of time where the best liquidity tends to be for each symbol. NASDAQ? NYSE? Then use a directed order to the proper exchange. Someone here knows the answer. Is this always the primary exchange for the stock?
 
Yes. The results skew towards 200 ms even though some orders take much longer.

It's possible they will say their SMART router is the variable delay. If you want execution speed and are willing to give up fill quality in terms of finding dark liquidity then direct your order to NASDAQ. Commissions are higher and missing out on dark liquidity is a very real expense.

Hmmm... that actually makes a lot of sense.

So you'd derive from that a need to know ahead of time where the best liquidity tends to be for each symbol. NASDAQ? NYSE? Then use a directed order to the proper exchange. Someone here knows the answer. Is this always the primary exchange for the stock?

The configuration settings you can provide to the SMART router let you tell them your preference. Perfect. You can have it always direct to the primary exchange. Or select "prefer fill" or "maximize fill". The default is "multipurpose" which is where I currently have it set. Need to see if the API lets me specify on a per-order basis.
 
The configuration settings you can provide to the SMART router let you tell them your preference. Perfect. You can have it always direct to the primary exchange. Or select "prefer fill" or "maximize fill". The default is "multipurpose" which is where I currently have it set. Need to see if the API lets me specify on a per-order basis.

Bah. This does not apply to marketable orders. Why the heck not?
 
Solution is to rent a cheap VPS near the target market or broker.
ping times from that server to the market or broker should be minimal.
Then you have to optimize the link from you to the VPS.
Usually this is solvable too.
If not, then you have run your decision-making program on the VPS...
 
Solution is to rent a cheap VPS near the target market or broker.
ping times from that server to the market or broker should be minimal.
Then you have to optimize the link from you to the VPS.
Usually this is solvable too.
If not, then you have run your decision-making program on the VPS...

That does nothing to fix the delay at IB, which is much higher than the network delay you are addressing.
 
Bear in mind this map as well.

https://www.submarinecablemap.com/

Ping from Spain (Home Fiber connection):

upload_2022-9-18_20-32-36.png


Ping from the UK (VPS):

upload_2022-9-18_20-33-22.png


Yeah, it helps to have a VPS close to Bristol in the UK if you are in Europe.
 
For margin and other order checks?
20ish looks good enough, but my connection to the nearest (Asia) server is above 100 which causes concerns.

From the Philippines to Hong Kong:
PING hdc1.ibllc.com (103.38.91.3) 56(84) bytes of data.
64 bytes from 103.38.91.3 (103.38.91.3): icmp_seq=1 ttl=241 time=36.7 ms
 
Back
Top