Speed Test - futures io
futures io futures trading



Speed Test


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one neko333 with 7 posts (6 thanks)
    2. looks_two sam028 with 5 posts (19 thanks)
    3. looks_3 Theodutchtrader with 3 posts (0 thanks)
    4. looks_4 SMCJB with 3 posts (0 thanks)
    1. trending_up 4,967 views
    2. thumb_up 26 thanks given
    3. group 14 followers
    1. forum 22 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Speed Test

(login for full post details)
  #1 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,786 given, 4,494 received

A very simple strategy, which is not supposed to make money, but to measure the delay in this process :
- order send
- order received by the exchange
- order cancelled
- cancel receive and acknoledge by NinjaTrader

An short limit order is sent X ticks above the ask, to avoid a fill, N times.
Each order is cancelled when his status is "working".
A readable results is shown when the strategy is cancelled.
By default it will send 5 orders, at ask price + 30 ticks.

Warning : do not use it live with volatile instruments during volatile times !
Avoid CL/GC for example, and avoid news period.

I would be extremely interested in having some feedback, with different brokers and locations.
The process, after having simply clicked on "buy limit" is complex, and a lot of parameters are involved, but with enough samples we may get an idea of who is fast and who is not that fast (I already have some thoughts ).


Success requires no deodorant! (Sun Tzu)
Attached Files
Register to download File Type: cs SpeedFill.cs (2.8 KB, 75 views)
Follow me on Twitter Started this thread Reply With Quote

Journal Challenge February 2021 results (so far):
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(166 thanks from 30 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(114 thanks from 32 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(31 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #2 (permalink)
Austin, TX
 
Experience: Master
Platform: ninjatrader, r-trader
Trading: NQ, CL
 
liquidcci's Avatar
 
Posts: 865 since Jun 2011
Thanks: 610 given, 1,070 received

@sam028 this is a great idea. I am going to give it a try when I get a chance and will report my results. Hopefully others will do the same as this could be very useful data for comparison.

"The day I became a winning trader was the day it became boring. Daily losses no longer bother me and daily wins no longer excited me. Took years of pain and busting a few accounts before finally got my mind right. I survived the darkness within and now just chillax and let my black box do the work."
Reply With Quote
 
(login for full post details)
  #3 (permalink)
Legendary Market Wizard
Houston, TX
 
Experience: Advanced
Platform: Trading Technologies
Broker: Primary Advantage Futures. Also ED&F and Tradestation
Trading: Primarily Energy but also a little GE, GC, SI & Bitcoin
 
Posts: 3,966 since Dec 2013
Thanks: 3,258 given, 7,770 received


Interesting subject.

I don't use NT so I'm not sure what your video is showing. Am i right in believing that it is showing the time required to send a cancel request and get a cancel confirm from the exchange on the 5 orders had an average time of 0.729 seconds and a range of 0.55 to 0.92 seconds?

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,786 given, 4,494 received


SMCJB View Post
Interesting subject.

I don't use NT so I'm not sure what your video is showing. Am i right in believing that it is showing the time required to send a cancel request and get a cancel confirm from the exchange on the 5 orders had an average time of 0.729 seconds and a range of 0.55 to 0.92 seconds?

That's correct.

Just FYI, the figures shown in the video not very relevant, as I used my IB paper account, and the machine where the test was done is very busy with 2 extremely heavy/not optimised bots (I'm not the author !!! ).
I will asked some of my dear SpeedyTradingServers users/clients/friends to run it few times, as I may have all NinjaTrader supported brokers/data feed, it could give a good picture of execution times.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to sam028 for this post:
 
(login for full post details)
  #5 (permalink)
Legendary Market Wizard
Houston, TX
 
Experience: Advanced
Platform: Trading Technologies
Broker: Primary Advantage Futures. Also ED&F and Tradestation
Trading: Primarily Energy but also a little GE, GC, SI & Bitcoin
 
Posts: 3,966 since Dec 2013
Thanks: 3,258 given, 7,770 received


sam028
Usually in trading, those who know don't talk, and those who talk don't know.

Awsome quote

Reply With Quote
 
(login for full post details)
  #6 (permalink)
Hawaii
 
Experience: None
Platform: NinjaTrader
Broker: CQG
Trading: GC, CL, NG
 
neko333's Avatar
 
Posts: 82 since Aug 2010
Thanks: 103 given, 33 received

Very nice Sam! Will post results soon.

Reply With Quote
The following user says Thank You to neko333 for this post:
 
(login for full post details)
  #7 (permalink)
Hawaii
 
Experience: None
Platform: NinjaTrader
Broker: CQG
Trading: GC, CL, NG
 
neko333's Avatar
 
Posts: 82 since Aug 2010
Thanks: 103 given, 33 received

Ran the test and seen orders go through but don't know how to view the time results like your video. Looked under strategies and orders but must be missing something. Sorry I trade discretionary, not familiar : ) Please advise

Reply With Quote
 
(login for full post details)
  #8 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,745 since Jun 2009
Thanks: 32,292 given, 97,494 received


neko333 View Post
Ran the test and seen orders go through but don't know how to view the time results like your video. Looked under strategies and orders but must be missing something. Sorry I trade discretionary, not familiar : ) Please advise

Open the print output window.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #9 (permalink)
Hawaii
 
Experience: None
Platform: NinjaTrader
Broker: CQG
Trading: GC, CL, NG
 
neko333's Avatar
 
Posts: 82 since Aug 2010
Thanks: 103 given, 33 received

still can't find it. Went through every option. Can you be more specific please.



Big Mike View Post
Open the print output window.

Mike


Reply With Quote
 
(login for full post details)
  #10 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,786 given, 4,494 received



neko333 View Post
still can't find it. Went through every option. Can you be more specific please.

In NinjaTrader menu, "Tools -> Output Window...".
Then you can enable the strategy, you'll see some details in this output window.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to sam028 for this post:
 
(login for full post details)
  #11 (permalink)
Hawaii
 
Experience: None
Platform: NinjaTrader
Broker: CQG
Trading: GC, CL, NG
 
neko333's Avatar
 
Posts: 82 since Aug 2010
Thanks: 103 given, 33 received

Here are the results
* Hawaii
* Rithmic
* No VPS


Reply With Quote
The following 2 users say Thank You to neko333 for this post:
 
(login for full post details)
  #12 (permalink)
Legendary Market Wizard
Houston, TX
 
Experience: Advanced
Platform: Trading Technologies
Broker: Primary Advantage Futures. Also ED&F and Tradestation
Trading: Primarily Energy but also a little GE, GC, SI & Bitcoin
 
Posts: 3,966 since Dec 2013
Thanks: 3,258 given, 7,770 received


neko333 View Post
Here are the results:

So if I understand this correctly, Average of 0.449 second and standard deviation of 0.182 seconds?

Just curious Neko whats your setup or where is your NT located?

Reply With Quote
 
(login for full post details)
  #13 (permalink)
Hawaii
 
Experience: None
Platform: NinjaTrader
Broker: CQG
Trading: GC, CL, NG
 
neko333's Avatar
 
Posts: 82 since Aug 2010
Thanks: 103 given, 33 received

I'm in Hawaii, and using Rithmic. Considering it's Hawaii internet is decent. Currently not using a VPS


SMCJB View Post
So if I understand this correctly, Average of 0.449 second and standard deviation of 0.182 seconds?

Just curious Neko whats your setup or where is your NT located?


Reply With Quote
 
(login for full post details)
  #14 (permalink)
Austin, TX
 
Experience: Master
Platform: ninjatrader, r-trader
Trading: NQ, CL
 
liquidcci's Avatar
 
Posts: 865 since Jun 2011
Thanks: 610 given, 1,070 received

I think anyone posting results would be helpful to post location and feed using as will help us compare apples to apples. I plan to run test when get chance. I am on a dedicated machine in Chicago using Continuum feed. I will be real interested to see how that stacks up to a rithmic feed on a machine in Chicago. I have used both rithmic and continuum and can't tell if one has any advantage over the other.

"The day I became a winning trader was the day it became boring. Daily losses no longer bother me and daily wins no longer excited me. Took years of pain and busting a few accounts before finally got my mind right. I survived the darkness within and now just chillax and let my black box do the work."
Reply With Quote
 
(login for full post details)
  #15 (permalink)
Maastricht, The netherlands
 
Experience: Beginner
Platform: Ninjatrader and Multicharts
Trading: ES,NQ.YM and dutch stocks
 
Posts: 15 since Nov 2011
Thanks: 2 given, 3 received

I like this stuff, but in my view I would suggest to have information by witch broker, software and server you will get the best fills and lowest latency for CL colocated near by the exchange.

Reply With Quote
 
(login for full post details)
  #16 (permalink)
Hawaii
 
Experience: None
Platform: NinjaTrader
Broker: CQG
Trading: GC, CL, NG
 
neko333's Avatar
 
Posts: 82 since Aug 2010
Thanks: 103 given, 33 received

Round 2
* Hawaii
* Rithmic
* No VPS

1st run is with ES
2nd & 3rd with CL


Reply With Quote
The following 2 users say Thank You to neko333 for this post:
 
(login for full post details)
  #17 (permalink)
Maastricht, The netherlands
 
Experience: Beginner
Platform: Ninjatrader and Multicharts
Trading: ES,NQ.YM and dutch stocks
 
Posts: 15 since Nov 2011
Thanks: 2 given, 3 received

@nekko333

Crude oil has a faster fill then ES perhaps the execution time for ES is longer as a result that you have to wait in the queue before you get filled. But I thinking you have also to consider the latency from hawaii to Chicago. So you can reduce the total time with the latency time .

Reply With Quote
 
(login for full post details)
  #18 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,786 given, 4,494 received


Theodutchtrader View Post
@nekko333

Crude oil has a faster fill then ES perhaps the execution time for ES is longer as a result that you have to wait in the queue before you get filled. But I thinking you have also to consider the latency from hawaii to Chicago. So you can reduce the total time with the latency time .

The times showed are the time to be in the queue, not being executed.
The name of the strategy is not a good one, it should be "speedqueue" or "speedbook", not "speedfill" .

As far as I remember @neko33 is using a lot of screens (8 ?), using all these screen in a colocated/RDP environment will look sluggish, too many things to refresh with a > 100 ms latency.
I also consider that from Hawaii, it's not that bad !

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to sam028 for this post:
 
(login for full post details)
  #19 (permalink)
Maastricht, The netherlands
 
Experience: Beginner
Platform: Ninjatrader and Multicharts
Trading: ES,NQ.YM and dutch stocks
 
Posts: 15 since Nov 2011
Thanks: 2 given, 3 received

Hey Sam,

Speedqueue is a better name I agree it is not the time till a order is filled. But do you have any idea why the speed for CL is shorter than for the ES?

Reply With Quote
 
(login for full post details)
  #20 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,786 given, 4,494 received


Theodutchtrader View Post
Hey Sam,

Speedqueue is a better name I agree it is not the time till a order is filled. But do you have any idea why the speed for CL is shorter than for the ES?

It's faster on this sample, we'll need much more samples to say "CL is faster than ES".

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to sam028 for this post:
 
(login for full post details)
  #21 (permalink)
Hawaii
 
Experience: None
Platform: NinjaTrader
Broker: CQG
Trading: GC, CL, NG
 
neko333's Avatar
 
Posts: 82 since Aug 2010
Thanks: 103 given, 33 received


sam028 View Post
The times showed are the time to be in the queue, not being executed.
The name of the strategy is not a good one, it should be "speedqueue" or "speedbook", not "speedfill" .

As far as I remember @neko33 is using a lot of screens (8 ?), using all these screen in a colocated/RDP environment will look sluggish, too many things to refresh with a > 100 ms latency.
I also consider that from Hawaii, it's not that bad !


Many of my best trades have been with resting limits at areas of interest anyhow. Really think I am underusing this method of entry. Maybe it's all a blessing in disguise. Either that or go freeze in Chicago and fight with bots

Reply With Quote
The following user says Thank You to neko333 for this post:
 
(login for full post details)
  #22 (permalink)
London + UK
 
Experience: Advanced
Platform: Proprietary Analytics
Broker: Multiple broker + Multiple feed
Trading: Currently European and US equities
 
sands's Avatar
 
Posts: 443 since Dec 2013
Thanks: 256 given, 228 received

I was at the European Trading Architecture summit here in London in December with the CTO of UBS we were discussing their infrastructure latency, and how for them in particular as well as other HFT/Algo trading businesses they need to know the latency at each point in the IT space. They had at the time invested heavily in tools to exactly measure their latency cost for each interface across their business.

Really interesting was that they price it into their service such that they can quote the latency to their retail / institutional clients and for faster round-trips they charge a premium. Obviously its very useful measure of the IT quality of your service provider.

Reply With Quote
The following user says Thank You to sands for this post:
 
(login for full post details)
  #23 (permalink)
Milano, Italy, EU
 
Experience: Intermediate
Platform: Ninja + Jigsaw
Trading: ES
 
Psy24X's Avatar
 
Posts: 36 since Jan 2014
Thanks: 114 given, 25 received

Is this research still under way?


Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Speed Test


Last Updated on September 28, 2015


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1500 prizes from Topstep!

February
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts