Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Delay initiating exit-on-close order on IB

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

    Delay initiating exit-on-close order on IB

    This is may be a problem only for other users of IB.

    For several consecutive days strategies fail to initiated the Exit-On-Close Handling orders until 4:38, even though these are set for 92 seconds before market close.

    The log shows no disconnection to account for the failure.

    Instead the log shows a gap of nearly 3 hrs between 1:47:59 and 4:29:59, during which time one order is being processed.

    Here are the log entries for that period (edited for space reasons) :


    7/29/2009 1:47:59 PM|1|32|Order='318749878/U764672' Name='Stop loss' New State=Accepted Instrument='FAZ' =NoError Native error=''
    7/29/2009 4:29:59 PM|1|32|Order='318749878/U764672' Name='Stop loss' New State=Cancelled Instrument='FAZ' Order Canceled - reason: (202)'
    7/29/2009 4:29:59 PM|1|32|Order='318749877/U764672' Name='Stop loss' New State=Cancelled Instrument='FAZ'
    7/29/2009 4:38:16 PM|1|128|Exit on close handling for strategy 'SKF6m2986emaEOD' started

    Processing of the same FAZ order continues over the 3 hrs gap. The first of seven strategies begins to initiate exit-on-close-handing after 4:29 pm.

    The session times are set for local times which happen to be EST since the platform is located in NY, so session times is not the cause of the problem; neither is exit on close timing.

    This problem occurred only after reinstalling NT & IB following a virtual server crash.

    I have had this problem before, early in June, when exit-strategies were not initiated until 4:28 pm, but I can not remember the solution.

    Perhaps someone else has had this problem with IB.

    Cheers,

    Tooearly (This time TooLate: Holding end-of-day strategies can be very costly , It was last night!)
    Last edited by tooearly; 07-30-2009, 08:12 AM. Reason: insert time stamp

    #2
    Hello tooearly,

    What value do you have entered for 'Session ends'?

    In addition, please send me your log file. You can find log files at:

    Start Menu--> My Documents--> NinjaTrader 6.5--> Log--> log.20090729 for yesterday. (log.yyyymmdd for any other date)

    Please send it to support[at]ninjatrader[dot]com, reference this forum thread and put 'Attn Jason' in the subject header.

    Comment


      #3
      Thanks Jason,

      I set the session ends at 4:30 PM local time = EST.

      Log files are on the way.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      108 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      55 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      37 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      39 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      76 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X