I am using the Interactive Brokers API, TWS release 974, with IBC and the ib_insync library. I would like to change the time zone inside one of these, in order to get market data and history according to the America/New_York time zone. I have already changed the machine's time zone to the needed one, but this has no effect on the IB results. Where can I make the change to the proper time zone?


1 Answer 1


The time zone is chosen by the user on the login screen before logging in. Click more options under the login button. A menu should appear like the image below. Select your desired timezone there.

enter image description here

If you are looking to automate the log-in/log-out process check out this GitHub repo. Be aware though that automated log in will not be possible if you have a 2-factor security device. You would need to relax the security level of your account. The program loads all credentials (including user timezone) from a .ini file.


  • $\begingroup$ Thanks, but I'm looking for an automated way to do this. $\endgroup$
    – Yuval F
    Feb 4, 2019 at 9:10
  • $\begingroup$ @YuvalF It was not clear to me that that was your question. I have edited my answer to include a link to a GitHub Repo that can do what you are asking. $\endgroup$
    – amdopt
    Feb 4, 2019 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.