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

MarketDataType.LastClose

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

    MarketDataType.LastClose

    Is the price that MarketDataType.LastClose returns affected by the Session template's End Time? E.G. If the Session template for the ES (CMS US Index Futures ETH) is modified so the session End Time is changed from 4:15pm CT to 3:00pm CT would that change the time at which the ES closing price is captured, thus returning the closing price at 3pm instead of 4:15pm?

    Or, is the .LastClose price determined by the exchanges?

    Thanks.
    Last edited by zacharydw00; 09-29-2017, 04:53 PM.

    #2
    Harry explains here.

    Comment


      #3
      Hello zacharydw00,

      The LastClose as well as all market data and fundamental data does come directly from the exchange and would not be affected by any applied session template.

      (This would be the same as the LastClose column in the Market Analyzer.)

      Instead you would want to use a 1440 minute secondary series which can have the template applied.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Follow up

        How does the Market Replay connection calculate/receive the MarketDataType.LastClose data?

        I've noticed that data does not seen to be available right away. It seems to become available after the first day of RTH data has closed. And, moving the M/R slider causes that price data to disappear.

        Edit 2/23/18: Hi guys. This question is over a week old. Any one there to answer?
        Last edited by zacwhitesi; 02-23-2018, 10:56 AM.
        zacwhitesi
        NinjaTrader Ecosystem Vendor - Shark Indicators

        Comment


          #5
          Hi guys. My question above is over two weeks old. Any one there to answer?
          zacwhitesi
          NinjaTrader Ecosystem Vendor - Shark Indicators

          Comment


            #6
            Hello zacwhitesi,

            The market data in Market Replay data is recorded from a live connection.

            This is not calculated, but is instead playback when it would have been recorded for a live connection.

            Typically the LastClose will come out after the close of a session.

            (I'm seeing the ES typically produces a LastClose around 4:30 PM Central in Playback.)
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by bsbisme, Yesterday, 02:08 PM
            1 response
            15 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by prdecast, Today, 06:07 AM
            0 responses
            3 views
            0 likes
            Last Post prdecast  
            Started by i019945nj, 12-14-2023, 06:41 AM
            3 responses
            60 views
            0 likes
            Last Post i019945nj  
            Started by TraderBCL, Today, 04:38 AM
            2 responses
            18 views
            0 likes
            Last Post TraderBCL  
            Started by martin70, 03-24-2023, 04:58 AM
            14 responses
            106 views
            0 likes
            Last Post martin70  
            Working...
            X