NexusFi: Find Your Edge


Home Menu

 





how do i know my latency using TT xtrader api


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one SMCJB with 2 posts (1 thanks)
    2. looks_two TradingTech with 2 posts (3 thanks)
    3. looks_3 giladbi with 1 posts (0 thanks)
    4. looks_4 xplorer with 1 posts (0 thanks)
    1. trending_up 2,847 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

how do i know my latency using TT xtrader api

  #1 (permalink)
 giladbi 
tel aviv
 
Experience: Advanced
Platform: Multicharts, SC
Trading: es
Posts: 34 since Jun 2009
Thanks Given: 4
Thanks Received: 1

i found out that TT xtrader api provide only the time stamp when the data entered into mu computer (also with no milliseconds)
what would be best way to measure my latency from the exchange?
thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
43 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #2 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,386
Thanks Received: 10,207

Good question for @patrickrooney

Reply With Quote
Thanked by:
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,973 since Sep 2015
Thanks Given: 15,494
Thanks Received: 15,387



giladbi View Post
i found out that TT xtrader api provide only the time stamp when the data entered into mu computer (also with no milliseconds)
what would be best way to measure my latency from the exchange?
thanks

CQG platforms have a "ping" facility with which you can measure the latency (however I think it's latency from their servers, not from the exchange).

I would imagine TT having a similar feature.

Reply With Quote
  #4 (permalink)
 
TradingTech's Avatar
 TradingTech 
Chicago, IL
 
Experience: Master
Platform: X_TRADER, TT
Trading: ES, NQ, ZN, CL, 6E
Posts: 167 since Feb 2016
Thanks Given: 72
Thanks Received: 122


giladbi View Post
i found out that TT xtrader api provide only the time stamp when the data entered into mu computer (also with no milliseconds)
what would be best way to measure my latency from the exchange?
thanks

If you register to our developer forum, https://www.tradingtechnologies.com/xtrader-help/apis/getting-started/choose-your-api/, you could get this information from there. Here's a question and answer similar to yours and provides a means to calculate this on your system:

https://tradingtechss.rightanswers.com/portal/app/portlets/results/viewsolution.jsp?ismodal=true&solutionid=150512495738139&SToken=967FAFC105905E0E555FEA1A13AC75D0

Question
How do I analyze the time properties of a TTOrderObj?
Answer
Time$: Time the order was sent to the TT gateway. This will remain unchanged throughout the lifecycle, and is taken from the client workstation.
TimeExchange$: Time the exchange received the order. This timestamp is provided by the exchange, although not all exchanges provide it. It should be noted that if the time zone differs from the workstation, a conversion to local time should be done to correctly compare with other time properties.
TimeLocalUpd$: Time the XTAPI received the order. This value will only be available to the originating application, and is taken from the client workstation.
TimeProcessed$: Time the TT Gateway processed the order. This timestamp is taken on the TT Gateway.
TimeReceived$: Time the TT Gateway received the order. This timestamp is taken on the TT Gateway.
TimeRouted$: Time the XTAPI forwarded the order to X_TRADER. This is taken from the client workstation.
Note: When polling the above data there are three different places timestamp data is taken from; the client workstation, the gateway, and the exchange. Take note of this difference when comparing times.

The general order time stamp trail is as follows:
Timestamp taken by the client application before order submission
TimeRouted$
Time$
TimeExchange$
TimeReceived$
TimeProcessed$
TimeLocalUpd$
Timestamp taken by the client application in the acknowledgement notification
What’s the order round trip time?

Order round trip time = time 8 - time 1

How long did the exchange take to respond to my order?

Exchange delta time = time 4 - time 3

How long did XTAPI hold onto my order before releasing it to X_TRADER?

Holding time = time 2 - time 1

If you have any questions about the products or services provided, please send me a Private Message or use the futures.io " Ask Me Anything" thread
Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,386
Thanks Received: 10,207

Is there a similar way to look at this in XTrader?

Looking at the XTrader Logs I see

Start Time ~ Seems to be related to when you start the software
End Time ~ Seems to be related to when you stop the software
Time ~ Seems to be local PC time

and...

Exch Time
Time Sent
Time Processed

which I assume relate to what you linked to but there doesn't seem to be anything to indicate end time.

Reply With Quote
  #6 (permalink)
 
TradingTech's Avatar
 TradingTech 
Chicago, IL
 
Experience: Master
Platform: X_TRADER, TT
Trading: ES, NQ, ZN, CL, 6E
Posts: 167 since Feb 2016
Thanks Given: 72
Thanks Received: 122

We have solutions for all of this on the way with the TT platform.

Trading Technologies will allow you to monitor exchange latency in real time when we release a new metric for the TT platform in late May.

The Audit Trail in TT already exposes hedge latency numbers for Autospreader hedge orders. This is an internal latency where we show the difference between the time TT receives the fill on a quote order to the time TT releases the hedge order. The metric we will introduce next month will expose exchange latency where users will see the difference between the time TT submits an order and the time the exchange acknowledges the order.

If you have any questions about the products or services provided, please send me a Private Message or use the futures.io " Ask Me Anything" thread
Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on April 14, 2016


© 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