Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connection to Interactive Brokers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Connection to Interactive Brokers

    I can only connect to Interactive brokers TWS Simulation only about 1 out of 4 times on average. During the connection process I get 2 or 3 login windows which appear to be from IB, with a blank username and 1 character in the password field. I always just kill that those windows without input. Most of the time, after about 3+ minutes I get a 'Login Failed. Timeout waiting on IB' message. Seems that the moon has to be right for a successful login.

    In NT Tools->Account Connections I have: User/password: blank, host: 127.0.0.1, Port 7496, Client ID: 0, I've also tried other unused client id's. In IB I have 'Enable Socket clients' set, Trusted IP 127.0.0.1, Port 7496. I've written several C++ API programs that I run every day, and they connect to TWS in 25 milliseconds flat. What's wrong with my NT configuration?
    Last edited by monpere; 01-15-2008, 02:51 PM.

    #2
    Connecting

    Hello,

    You will need to enter your username and password, so that NinjaTrader can make a connection with IB. Please ensure that you have followed the instructions in the link below, and you should be able to connect successfully.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    80 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    46 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X