Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two instances of TWS

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

    Two instances of TWS

    There is any help guide on the setting for IB TWS and NT to open 2 different TWS instances on the same computer? One for testing and the other for real trading

    thanks

    #2
    Hi guillembm,

    There is not official documentation for this but it should be possible, by providing a unique port # and starting instances of TWS manually. Of course IB would have to permit your account to be logged in twice concurrently.


    1) Manually start TWS from the desktop, if you have two accounts start it up twice with each account logged in.

    2) When platform has started, Click Configure > API Settings > Socket Port > Provide a unique value. Default is 7496, leave this as is for the first username. Add 1 to this value to be 7497 on the second account (or instance) so each account has a unique port value.

    3) In your NinjaTrader connection for this account (Tools > Account Connections), match the port with what you specify in TWS for each account connection.

    4) Connect in NT using File > Connect, you will do this twice for both account connections.
    Last edited by NinjaTrader_RyanM1; 01-13-2012, 08:40 AM.
    Ryan M.NinjaTrader Customer Service

    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