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

Series not updated before 9:30am

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

    Series not updated before 9:30am

    Hey guys, I have an issue with data updates on a particular bar series. The bar series i am refering to opens at 930am and closes at 4pm, but between 8am and 930am i need to have the Medians value for the daily series of this bar series for the previous day.

    I need to get the Medians[1][0] but before 930am it only gives me the day before, for example Medians[1][1], or the median of the daily high/low from 2 days ago. Once the market opens at 930 them it gives me the correct Medians[1][0].

    This issue happens in realtime but in backtest it does give the right values.

    My primary series is ES but I am attempting to generate trade signals from other secondary series. Of course ES trades before 930am. i have tried changing the session start time to before 930am but this does not solve the problem.

    What is a good workaround?

    Thanks,
    EliteTraderNYC

    #2
    EliteTraderNYC,

    What is the additional data series are you using for Medians[1][0]?

    What session template are you using for the the ES in your tests?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hi sir, I created a test strategy with 1 secondary data series:

      //TEST DATA SERIES
      Add("AXP", PeriodType.Day, 1);

      For the ES session, I created a custom session that goes from 3am to 10pm monday through friday eastern time.

      I use the same session for both series but the data for AXP does not start to flow until 930 since its on the NYSE.
      Last edited by elitetradernyc; 03-28-2014, 08:37 AM.

      Comment


        #4
        EliteTraderNYC,

        Who are you connected to? This is displayed in the lower left hand corner of the control center
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Hi, Kinetick its a green connection.

          The situation appears to apply to any instrument that starts at 930am not specific to the one i have below.

          Comment


            #6
            EliteTraderNYC,

            Is this Kinetick Live or Kinetick End of Day?
            Cal H.NinjaTrader Customer Service

            Comment


              #7
              Live pay, i have ES realtime.

              Comment


                #8
                EliteTraderNYC,

                One thing to mention here is that Daily data has a session template assigned by the data provider and is not affected by any session template assigned.

                You would want to use a 1440M added data series here so that it will grab the session template you are assigning and get that data before the open
                Cal H.NinjaTrader Customer Service

                Comment


                  #9
                  Thanks Cal, but can you give me an example of how to add that particular type of series?

                  Comment


                    #10
                    EliteTraderNYC,

                    Change the added data series you are using to ("AXP", PeriodType.Minute, 1440);
                    Cal H.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by lorem, Today, 09:18 AM
                    1 response
                    4 views
                    0 likes
                    Last Post lorem
                    by lorem
                     
                    Started by bmartz, Today, 09:30 AM
                    0 responses
                    3 views
                    0 likes
                    Last Post bmartz
                    by bmartz
                     
                    Started by GussJ, 03-04-2020, 03:11 PM
                    14 responses
                    3,244 views
                    0 likes
                    Last Post GussJ
                    by GussJ
                     
                    Started by ArkansasClint, Today, 09:28 AM
                    0 responses
                    0 views
                    0 likes
                    Last Post ArkansasClint  
                    Started by hazylizard, Today, 08:38 AM
                    4 responses
                    12 views
                    0 likes
                    Last Post hazylizard  
                    Working...
                    X