NexusFi: Find Your Edge


Home Menu

 





Dealing latency with ZenFire & NT


Discussion in Brokers

Updated
      Top Posters
    1. looks_one Andrew with 23 posts (0 thanks)
    2. looks_two sam028 with 11 posts (10 thanks)
    3. looks_3 steve2222 with 8 posts (0 thanks)
    4. looks_4 NickA with 6 posts (4 thanks)
      Best Posters
    1. looks_one sam028 with 0.9 thanks per post
    2. looks_two FBJS with 0.8 thanks per post
    3. looks_3 NickA with 0.7 thanks per post
    4. looks_4 zoltran with 0.6 thanks per post
    1. trending_up 44,584 views
    2. thumb_up 39 thanks given
    3. group 26 followers
    1. forum 111 posts
    2. attach_file 1 attachments




 
Search this Thread

Dealing latency with ZenFire & NT

  #51 (permalink)
 NickA 
London
 
Experience: None
Platform: MC & Ninja mainly
Posts: 135 since Jan 2010
Thanks Given: 5
Thanks Received: 50


zoltran View Post
Guys .. just be careful, and re-read Sam's and my posts.
You cannot do anything to fix latency... it's a physical location/distance thing that can never ever be fixed by tweaking some registry setting.

All these tuning tools do is adjust how much data is sent per window, and how quickly your TCP stack will recover if there's an error on the line. That's it.

As zoltran points out you can not really improve latency (assuming that you haven't got actual faults anywhere) but you can often improve real world application performance, by tuning the transport layer to better accomodate the higher level process (client) to process (server) communications.

Tcp Acknowledge Frequency does make a difference in certain types of application (those that are also handling 'handshaking' at the application layer for example) especially if actual latency is already high. This is particularly true if the application is unaware exactly what the transport protocol is doing. It almost certainly will be. Most software engineers write to the appropriate windows API with little understanding of what is going on 'further down the stack'. Completely understandable thats the whole point of a layered protocol stack you don't have to worry about managing stuff at lower levels.

Worth mentioning ping is not a useful tool here as it operates at the network layer, so below this stuff. To test you would probably want to write some ninjascript to place and cancel an orders outside the market and record the time taken in a log file. Depends how far down the rabbit hole you want to go

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #52 (permalink)
Andrew
sea side
 
Posts: 217 since Dec 2009
Thanks Given: 86
Thanks Received: 25

Nick,

Where to know more about it ?

Krgds,
Andrew


NickA View Post
but you can often improve real world application performance, by tuning the transport layer to better accomodate the higher level process (client) to process (server) communications.


Reply With Quote
  #53 (permalink)
 NickA 
London
 
Experience: None
Platform: MC & Ninja mainly
Posts: 135 since Jan 2010
Thanks Given: 5
Thanks Received: 50



Andrew View Post
Nick,

Where to know more about it ?

That's kind of tough to answer. Like others here who already know, my experience came from working in the industry.( Mind you when I started out telegraph circuits where common and X.25 was state of the art. )That doesn't help you really. Wiki tells you a bit about TCP/IP and what various 'layers' do, all good background knowledge. it is worth understanding that framework as things make much more sense when you know what each layer does - it isn't going to help you directly though.

Reply With Quote
Thanked by:
  #54 (permalink)
Andrew
sea side
 
Posts: 217 since Dec 2009
Thanks Given: 86
Thanks Received: 25

Nick,

Thank you a lot.
I will go to Wiki and read about TCP/IP.

P.s. I just used to not wait while champions remain on their places, but train a lot in order see results growing.

Krgds,
Andrew



NickA View Post
That's kind of tough to answer. Like others here who already know, my experience came from working in the industry.( Mind you when I started out telegraph circuits where common and X.25 was state of the art. )That doesn't help you really. Wiki tells you a bit about TCP/IP and what various 'layers' do, all good background knowledge. it is worth understanding that framework as things make much more sense when you know what each layer does - it isn't going to help you directly though.


Reply With Quote
  #55 (permalink)
Andrew
sea side
 
Posts: 217 since Dec 2009
Thanks Given: 86
Thanks Received: 25

Nick,

Also small p.s. on example of music players for computer.
I like to listen music at hi quality level (if not hi-end)
so, some 10 years ago, one friend of mine advised me one music player for computer and told : check it out, when I will install it and play you will think you've changed sound card, however I never used "bad or weak" computer at those times.
So, I did what he advised and...I was shocked difference between usual Media Player and that music player, even without it upgrade to its pro version.
Well, I used that for year and enjoyed it was like, say, Teac, but then a few months ago, don't remember what I've searched for, I found just amazing music player, when I played music with it I got impression I listen NAD which provides my favorite conception of sound.
The same with all other, if one is not searching for better or never did that or stopped do that, so the result will be.

Krgds,
Andrew

Reply With Quote
  #56 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
Posts: 1,896 since Sep 2009
Thanks Given: 3,379
Thanks Received: 1,540

See my post here:

Started this thread Reply With Quote
  #57 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


dankoo View Post
Here you go, i found 5 IP addresses at 7ticks (who hosts zenfire) that responds to ping.
This is not their order or maket data server.. but this is the closest we may be able to reach by ping.

64.202.118.1
64.202.118.2
64.202.118.3
64.202.118.4
64.202.118.5

I got an average of 33ms from New York City, NY
Can you guys try to ping and post your results here...please include your location(city and state) and ping time.

Thanks!

root@echelon:/home/mike# ping 64.202.118.5
PING 64.202.118.5 (64.202.118.5) 56(84) bytes of data.
64 bytes from 64.202.118.5: icmp_seq=1 ttl=251 time=1.47 ms
64 bytes from 64.202.118.5: icmp_seq=2 ttl=251 time=1.62 ms
64 bytes from 64.202.118.5: icmp_seq=3 ttl=251 time=1.34 ms
64 bytes from 64.202.118.5: icmp_seq=4 ttl=251 time=1.59 ms
64 bytes from 64.202.118.5: icmp_seq=5 ttl=251 time=1.40 ms
64 bytes from 64.202.118.5: icmp_seq=6 ttl=251 time=1.58 ms
^C
--- 64.202.118.5 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 1.346/1.504/1.629/0.109 ms

Averaging 1.5ms from the futures.io (formerly BMT) server in Chicago...

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #58 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127


Big Mike View Post
Averaging 1.5ms

Ok, I need to wipe the drool off my keyboard!

I averaged 35ms to all of the listed hosts, which is pretty good considering it is just a DSL line. Where I live, DSL is the best I will have for quite some time, but it has been good enough.

Reply With Quote
  #59 (permalink)
pepelucho
portland, OR
 
Posts: 50 since Nov 2009
Thanks Given: 5
Thanks Received: 23

Mike,

what is this futures.io (formerly BMT) server ? Is it a hosting solution ?
I'm getting 33ms from my hosted server in Toronto and would love the snappier response time for my bots.



Pinging 64.202.118.5 with 32 bytes of data:
Reply from 64.202.118.5: bytes=32 time=33ms TTL=248
Reply from 64.202.118.5: bytes=32 time=32ms TTL=248
Reply from 64.202.118.5: bytes=32 time=32ms TTL=248
Reply from 64.202.118.5: bytes=32 time=32ms TTL=248

Ping statistics for 64.202.118.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss
Approximate round trip times in milli-seconds:
Minimum = 32ms, Maximum = 33ms, Average = 32ms

Reply With Quote
  #60 (permalink)
pepelucho
portland, OR
 
Posts: 50 since Nov 2009
Thanks Given: 5
Thanks Received: 23


Btw everybody,

Mirus futures sells virtual machine hosting in 3 different packages ranging from $350-$550/month and claim a response time of less than 1ms since their servers are co-located with the exchange and beyond the DMZ.

I currently pay $60/month for a windows VM which does perfectly fine for trading 4-5 TF contracts (no slippage), but my goal is to be trading 20 contracts eventually and at that point I suspect a better response time might be more suitable for my 6 to 15 tick scalping bots.

Reply With Quote




Last Updated on June 16, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts