Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Major Multi-timeframe bug -- current time and execution times wildly disagree.

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

    Major Multi-timeframe bug -- current time and execution times wildly disagree.

    This bug submission details a major time disagreement in a multi-timeframe strategy when additional dataseries are added. The result is current time (Time[0]) wildly disagrees with either Bars.LastBarTime or order / execution time.

    The bug destroys ability to perform multi-timeframe strategy processing.

    This error only shows when multiple dataseries are added in a Multi-Timeframe strategy. Bars.LastBarTime is close to execution time (within one bar) but is wildly in disagreement with current bar.

    The time error between current time and LastBarTime/Execution time seems to depend on the run, but is often half an hour to 2 hours.

    This destroys Multi-timeframe processing! RCI is dead on arrival !!! I have not tested against previous releases yet.

    Attached is a test strategy. This test strategy performs the following;
    -- On each bar;
    -- lists LastBar, Time[0]. LastClose, Close[0].
    -- At barnum 90 places an EnterLong(10000) order.
    -- Adds the execution time and Execution.ToString() to listing.
    -- Adds the order time and Order.ToString() to listing.

    The listing shows disagreement between LastBar and current time on each line.
    Then the execution and order times mostly agree with LastBar time but is off from current bar by about 1/2 hour.
    Attached Files

    #2
    Was this working in a previous release?

    Comment


      #3
      Hello,

      I tried to import the provided file but it seems this is not a complete sample, there are missing methods and classes you have defined on your system.

      Because this script contains methods and other logic related to custom classes, I would suggest to instead create a completely new sample in a much more simple form that does not include any outside methods or classes. The more simple of a sample you can create the more easily you or we will locate what is happening.

      Once I have a sample that I can both compile and see the output as explained, I would be able to look further into this.

      Please let me know if i may be of further assistance.
      JesseNinjaTrader Customer Service

      Comment


        #4
        Please disregard working on a strategy, we put together an internal test and assigned bug 10381. We will look into. THanks for reporting.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Kaledus, Today, 01:29 PM
        3 responses
        9 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by frankthearm, Yesterday, 09:08 AM
        14 responses
        47 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by gentlebenthebear, Today, 01:30 AM
        2 responses
        13 views
        0 likes
        Last Post gentlebenthebear  
        Started by PaulMohn, Today, 12:36 PM
        2 responses
        17 views
        0 likes
        Last Post PaulMohn  
        Started by Conceptzx, 10-11-2022, 06:38 AM
        2 responses
        56 views
        0 likes
        Last Post PhillT
        by PhillT
         
        Working...
        X