Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TWS forced your connection to close.

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

    TWS forced your connection to close.

    I have a fully automated ATS but it doesn't work as I would like because NT keeps disconnecting from TWS. I want to know why NT can't reconnect automatically?

    I am using TWSStart to keep IB's TWS from auto-shutting down and it works as it should by delaying the auto-shutdown time by swaping the AM/PM, thereby delaying the process indefinately.

    This is from the log. Note the times of log off times. Also, TWS never actually closes, it is always open.

    Code:
    10/28/2008 7:42:31 PM|0|2|TWS forced your connection to close. NinjaTrader is unable to automatically reconnect. Please shut down NinjaTrader and reconnect manually to TWS: No more data to read
    10/28/2008 7:42:31 PM|1|2|Interactive Brokers: Primary connection=Disconnected, Price feed=Disconnected
    
    ...
    
    10/30/2008 7:43:13 AM|0|2|TWS forced your connection to close. NinjaTrader is unable to automatically reconnect. Please shut down NinjaTrader and reconnect manually to TWS: No more data to read
    10/30/2008 7:43:13 AM|1|2|Interactive Brokers: Primary connection=Disconnected, Price feed=Disconnected

    #2
    NinjaTrader will reconnect on a temporary loss of connection but not a forced full disconnect. This is a current limitation.
    RayNinjaTrader Customer Service

    Comment


      #3
      Tight Face,

      At first glance it would appear you and I are seeing similar behavior with the forced disconnects for no reason, based on your above post. At present, NT believes I am the only one reporting this behavior and it is a problem with my config.

      Main post here:


      Could you take a look at the Poll post below and share your config to see if there are any commonalities between us that might be causing this:


      Thanks,
      Mike

      Comment


        #4
        @ctrbrk: as explained in the other thread you are confusing 2 things
        a) a forced disconnect by TWS at a time scheduled in TWS -> expected
        b) a forced disconnect as you on your machine place an order -> not expected

        At this time we have no other reports than yours on (b).

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,605 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        8 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        4 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        13 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X