Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily prices 1 day late?

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

    Daily prices 1 day late?

    I wrote a strategy to compute some stats on a list of stocks. When I run the strategy with the end date set to today's date (6/20) I get results up to 6/18. I do not get results from 6/19.

    Is this because the 6/19 daily bar will not be closed until Monday at the open? If so, how can I get data from Friday? If I get my data one day late then it's not going to be useful for me.

    #2
    cunparis, which datafeed / broker are you using to get this data?

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      cunparis, which datafeed / broker are you using to get this data?
      I've tried both yahoo & iqfeed.

      Comment


        #4
        This is strange, for example when you check some DOW stock using Yahoo today, you would also get today's 'in progress' candle. Habe you tried to reload the needed historical data before starting the strategy?

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          This is strange, for example when you check some DOW stock using Yahoo today, you would also get today's 'in progress' candle. Habe you tried to reload the needed historical data before starting the strategy?
          I believe the problem is that the daily candle is not closed until the next day's open. This is certainly the case with minute bars, but it seems to be true with daily bars as well. In both cases I think it's bothersome but I've been told this is by design (at least for the minute bars).

          Comment


            #6
            cunparis,

            You are correct in the behavior. All bars only close when the next bar begins building. If you are using the Strategy Analyzer however it should still close on the last bar.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            144 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            71 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            125 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            79 views
            0 likes
            Last Post PaulMohn  
            Working...
            X