Keep your pc clock synchronized - Traders Hideout | futures io social day trading
futures io futures trading


Keep your pc clock synchronized
Updated: Views / Replies:10,066 / 48
Created: by cunparis Attachments:7

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 7  
 
Thread Tools Search this Thread
 

Keep your pc clock synchronized

  #11 (permalink)
Trade with the flow
Paris, France
 
Futures Experience: Advanced
Platform: Market Delta & Ninjatrader
Favorite Futures: ES
 
cunparis's Avatar
 
Posts: 2,563 since Jun 2009
Thanks: 1,157 given, 2,030 received


Big Mike View Post
So it seems that it is at least possible for your local PC clock to not matter, being off a few seconds, etc. I really don't know and haven't tried it, I keep my clock synced every few hours because I thought the same thing as you guys, that the bar formation was based on local time. And I still think it is, at least for Zen Fire.

I'm not sure when NT uses local pc time and when it uses exchange time, but I do know that NT uses the local pc time for the trade list and chart markers. I asked NT support why they don't use the exchange time for it and they just don't.

Reply With Quote
 
  #12 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


Big Mike View Post
I was recently writing code for a customer that needed to know the price market time, regardless of the PC clock time.

I found that there is actually a function to do this in Ninja, but it would seem that Zen Fire does not support it. Or I could be completely wrong, as I didn't investigate too deep.

But if you look at the BarTimer code as an example, it actually uses the data feed as the source for the time stamp.

So it seems that it is at least possible for your local PC clock to not matter, being off a few seconds, etc. I really don't know and haven't tried it, I keep my clock synced every few hours because I thought the same thing as you guys, that the bar formation was based on local time. And I still think it is, at least for Zen Fire.

Mike

Mike,

I'm interested!!!

Where can I find this BarTimer Code?

Thanks,

RJay

Reply With Quote
 
  #13 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,218 received



RJay View Post
Mike,

I'm interested!!!

Where can I find this BarTimer Code?

Thanks,

RJay

Oops, I think I misread the code, now that I went and looked at it more closely to post here.

I was referring to Bars.MarketData.Connection.Options.Provider and Bars.MarketData.Connection.Now, I thought in my head that .Now was referring to DateTime.Now, but upon a second look of the code, I am not sure and I really have no time to test it.

BarTimer.cs, included with Ninja..

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #14 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


Big Mike View Post
Oops, I think I misread the code, now that I went and looked at it more closely to post here.

I was referring to Bars.MarketData.Connection.Options.Provider and Bars.MarketData.Connection.Now, I thought in my head that .Now was referring to DateTime.Now, but upon a second look of the code, I am not sure and I really have no time to test it.

BarTimer.cs, included with Ninja..

Mike

Mike,

Could you post the code. My version refers to OpenTick. They went out of business.

Thanks,

RJay

Reply With Quote
 
  #15 (permalink)
Elite Member
Sydney, NS
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen-Fire
Favorite Futures: TF,S,GC
 
cclsys's Avatar
 
Posts: 607 since Nov 2009
Thanks: 248 given, 379 received

Because I had lagging issues with dialup this synchronising is important to me to determine by how much. I have been using Symmetricom - Timing, Frequency and Synchronization Solutions - Assure Performance & Manage Next Generation Networks for some time, have it update automatically once an hour and have no complaints. Am using 2008 version not the latest.

If your data is lagging, then Bar-Timer and data in T&S will not line up because BarTimer knows that the bar is supposed to have ended but the T&S data coming in still hasn't got there yet.

In any case, I have the Symmetricom time window just beneath my T&S window and I can see when there is a lag. Most of the time there isn't (remember that in most setups there is a 500 ms lag in the T&S window unless you go into Ninja Options and make it less than that).

I now trade instruments that I know that 98% of the time there is no lag (volume issues via dialup).

You also might want to do regular ping tests on your machine to check latency. Some broadband providers - most of whom packet data including your lovely unpacketed Zenfire data - have much worse latency than others, up to 3-400 ms, i.e. almost half a second each way. So your PC time might be right, but your latency slow. Running the clock helps zero in on that as well.

On latency: I was surprised to find out that my rural neighbour's new wireless highspeed which I should get fairly soon has a latency of only 65 ms, which is very fast and I was accessing my own website based in the US for the test, not the relay station up the road.

Reply With Quote
The following user says Thank You to cclsys for this post:
 
  #16 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,218 received


RJay View Post
Mike,

Could you post the code. My version refers to OpenTick. They went out of business.

Thanks,

RJay

Sure, attached.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Attached Files
Register to download File Type: cs @BarTimer.cs (9.1 KB, 27 views)
Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #17 (permalink)
Just starting out...
utah
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: Mirus/zen-fire
Favorite Futures: TF
 
Posts: 11 since Jul 2009
Thanks: 2 given, 9 received

Thanks for the info on the clock...I always figured there was a way to change how often it updates, but never knew how. Now I will not have to manually update every morning.

Reply With Quote
The following user says Thank You to sjrider for this post:
 
  #18 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,173 since Oct 2009
Thanks: 227 given, 4,089 received

I did some research on this time sync issue.

Basically, the way "NTV V3" clients, like the Windows Time Service, work, is by regularly querying the time on a Time Server, updating the computer time, and waiting for next resync.

This is not a very good solution because
1. each time measure is not very precise
2. anyway the clock drifts between two measurements.

The solution is to install an NTP V4 Daemon. This system corrects both flaws : it uses multiple time sources to increase the precision of the time measurement, and it continually adjusts the local time clock using a PLL. It evaluates the hardware clock drift and keeps correcting it.

To install it , download it on Meinberg:
Meinberg NTP Software Downloads
and set it up.

Notes :
1.For vista it's simpler to use c:\tools than "c:\program files" because modifying files in program files is a pain.
2. Simplest way is to choose Local System account in setup screen
3. Don't forget to disable windows time service because both programs need the 123 udp port.

Then you can modify the config file and add some stratus 2 servers (connecting to stratus 1 is considered "not cool", stratus 1 servers are those connected to precise time sources)

You can find servers here StratumTwoTimeServers < Servers < NTP

Here's my conf file:
 
Code
driftfile "C:\Tools\NTP\etc\ntp.drift"

server ntp.crifo.org
server ntp.obspm.fr
server ntp.demongeot.biz
server ntp.duckcorp.org
server ntp.home-dn.net
server ntp2.hauke-lampe.de
server ntp1.theremailer.net
server ntp.accelance.net
server ntp.ciril.fr
server ntp2.emn.fr
server ntp.ensma.fr
server ntp.imag.fr
server ntp.internet-fr.net
server ntp1.jussieu.fr
server ntp.laas.fr
server ntp.sophia.cnrs.fr
server time.resolvlab.com
server ntp.uhb.fr
server ntp.unicaen.fr
server ntp.univ-lyon1.fr
server ntp.univ-metz.fr
server ntp.univ-reims.fr
server ntp.u-psud.fr

logfile "C:\Tools\NTP\log\ntp.log"

enable stats
statsdir "C:\Tools\NTP\etc\"
statistics loopstats
Then you start the service and there you go...

I attached pic of the status screen of the ntp server

Attached Thumbnails
Keep your pc clock synchronized-ntp.png  
Reply With Quote
The following 8 users say Thank You to gomi for this post:
 
  #19 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received

I use Dimension 4 mentioned in the first post of this thread, and it works flawlessly for me. On Win 7, it needs to run as admin though. Best way to do, is to start it as a scheduled task that starts on login with highest privileges. Once you do that, your clock is continually synced all day.

I like the idea of a NTP V4 Daemon though, thanks for posting.

Reply With Quote
 
  #20 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,173 since Oct 2009
Thanks: 227 given, 4,089 received



aslan View Post
Once you do that, your clock is continually synced all day.

Well Dimension seems to be a basic NTPV3 client, so see above for drawbacks ;-)

Reply With Quote
The following user says Thank You to gomi for this post:

Reply



futures io > > > Keep your pc clock synchronized

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question - Futures trading around the clock TonyB Beginners and Introductions 14 August 7th, 2012 10:14 AM
Counter or Time Clock in TOS? plethora ThinkOrSwim Programming 9 August 3rd, 2012 11:56 PM
Freeware Useful Clock tool redratsal Tech Support 6 December 1st, 2011 01:32 PM
Computer Clock Jason11 Tech Support 12 March 22nd, 2011 04:41 PM
Slow system clock when market is busy jstnbrg NinjaTrader 16 January 25th, 2011 03:27 AM


All times are GMT -4. The time now is 12:45 AM.

Copyright © 2017 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
Page generated 2017-12-11 in 0.13 seconds with 20 queries on phoenix via your IP 107.20.115.174