Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Nt8 B5- unhandled exception and system.indexoutofrangeexception

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

    Nt8 B5- unhandled exception and system.indexoutofrangeexception

    Happened on an overnight Playback-MR when testing tabs and seeing why minute charts produce way better results than range bars in my situation (ES03-14 through ES12-15).


    Haven't had these errors that I'm aware of during other runs.

    Well, time to download B6 and rerun.


    2015-10-26 01:20:35:703|1|64|Instrument='ES 03-15' Account='Playback101' Average price=2011.875 Quantity=2 Market position=Long Operation=Update
    2015-10-26 01:20:35:712|0|4|Unhandled exception: Exception has been thrown by the target of an invocation.
    2015-10-26 01:20:45:008|1|32|Order='f2fa15f6ef5c4839891258b30 8701758/Playback101' Name='Stop loss' New state='Submitted' Instrument='ES 03-14' Action='Sell' Limit price=0 Stop price=2021.5 Quantity=1 Type='Market' Time in force=GTC Oco='2cd81b9f6c3049b490d4332869de6e27' Filled=0 Fill price=0 Error='No error' Native error=''

    ...


    2015-10-26 01:21:48:488|1|8|Execution='7a35da6c503b423aa0d698 a543eb1d1b' Instrument='ES 03-14' Account='Playback101' Exchange=Default Price=2022.75 Quantity=1 Market position=Short Operation=Operation_Add Order='e64a9837924a4045a35a9db504f35c11' Time='1/5/2014 10:22 AM'
    2015-10-26 01:21:48:488|1|64|Instrument='ES 03-14' Account='Playback101' Average price=0 Quantity=0 Market position=Flat Operation=Remove

    2015-10-26 01:23:20:629|3|4|Error in realtime market data handling: System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at NinjaTrader.NinjaScript.StrategyBase.get_Position( )
    at NinjaTrader.Core.Globals.FormatCurrency(Double value, StrategyBase strategy)
    at NinjaTrader.Gui.NinjaScript.StrategiesGrid.OnRealD ataTimerTick(Object sender, EventArgs e)
    at NinjaTrader.Cbi.Instrument.<>c__DisplayClass184_0. <OnRealtimeDataTimerElapsed>b__1(SubscribedThrea d[] threads, Int32 i, RealtimeEvents evts)

    2015-10-26 01:24:53:323|1|4|NinjaScript strategy 'strategy1/57280729' submitting order
    Attached Files

    #2
    Hello sledge,

    Thank you for your inquiry.

    When testing on Beta 6, is your issue resolved?

    If not, can you please provide the steps you have taken that caused this to occur?

    Is it a specific strategy that is causing this issue to occur as well? If so, can you provide a simplified version of the script that produces this issue?
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      I have gotten this on beta 6 but sadly can not provide the code and unable to reproduce it - just wanted to let you know though that has has happened on beta 6 and others have experienced it here too.

      Comment


        #4
        Hello fxgroundworks,

        For a better picture of what may be going on, could you please send us your log and trace files?

        You can send these in by clicking on Help -> Email Support.

        In the body of the email, please reference my name and a link to this thread.
        Zachary G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by BarzTrading, Today, 07:25 AM
        2 responses
        27 views
        1 like
        Last Post BarzTrading  
        Started by devatechnologies, 04-14-2024, 02:58 PM
        3 responses
        20 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by tkaboris, Today, 08:01 AM
        0 responses
        6 views
        0 likes
        Last Post tkaboris  
        Started by EB Worx, 04-04-2023, 02:34 AM
        7 responses
        165 views
        0 likes
        Last Post VFI26
        by VFI26
         
        Started by Mizzouman1, Today, 07:35 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X