Hey, I want to know if there is a way to let TWS show local time instead of server time ( to delete the time gap ), it will be more convenient . Thanks
Hey, I want to know if there is a way to let TWS show local time instead of server time ( to delete the time gap ), it will be more convenient . Thanks
Hi, is there a way to synchronize the IB trading server time with the computer time automatically? Currently I only synchronize the computer time with the atomic time server time.
My original question was meant to ask if there is a way to show my local ( time zone) time rather than the IB server time.
Java gets it's default timezone from the operating system. If it's set correctly in Windows, I would think that everything should just work.
When an application connects via the API, it receives a message with the server's idea of the current time converted into the default timezone ie the timezone set in the operating system.
If you have a version of Java older than 1.5.9 (I think), then the recent changes to US DST have not been incorporated - even if you have applied Microsoft's patches. Java gets DST information internally - not from the operating system.
Go to http://www.javasoft.com for more details and the latest Java releases. If you don't want to update your Java installation, there is a tool available to patch older releases.
Thanks dcraig , but I am using tws 869.3 and java 1.5.10 in both my desktop and notebook. (attached snagfile )
Strangely notebook TWS shows local time while the desktop shows IB server time. I do not know why but the TWS execution report adopt the same time format as the time appearing in the lower right corner of TWS. So it may be confusing if it is not local time.