Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

OnMarketDepth not called in a chart

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

    OnMarketDepth not called in a chart

    Hi,

    Is there a reason why OnMarketDepth/OnMarketData in a chart are not called after a connection is severed and then reconnected.

    If the connection is set to connect at start up. All is well until you disconnect and reconnect.

    If you start up unconnected and then connect they don't get called...

    In either case I am having to bring up the indicators selection and press OK for the event handlers to be called again...

    Is this a known issue? I am using 7.0.1000.15, and I am connecting to IB data in simulation mode...

    Thanks...
    Last edited by HKinani; 10-23-2013, 04:18 PM. Reason: Elaboration

    #2
    Hello HKinani,

    Thank you for your post.

    I am not familiar with this item, I will test on my end and follow up with any information I find.

    Comment


      #3
      Hello HKinani,

      Thank you for your patience.

      I do not see the same item on my end. Can you provide the code used to test this on your end?

      Comment


        #4
        Hi NinjaTrader_PatrickH,

        The issue occurred in indicators in a chart with CL12-13 contract, however, I also had another chart displaying CL 11-13 whose contract is now closed....

        It seems NT gets stuck trying to download data unsuccessfully and does not get around to firing the required events... the abort button remains showing in the control center.

        Once the old security is removed from the other chart everything works fine...

        Perhaps it would be nice if this does not happen, but it is not a show stopper

        Kind regards and thank you for the super-quick response...

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by XXtrader, Yesterday, 11:30 PM
        2 responses
        11 views
        0 likes
        Last Post XXtrader  
        Started by Waxavi, Today, 02:10 AM
        0 responses
        6 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        11 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        7 views
        0 likes
        Last Post elirion
        by elirion
         
        Working...
        X