Getting yesterday's close
Author: dankimel
Creation Date: 9/21/2009 8:30 PM
profile picture

dankimel

#1
When you are writing a intraday script, in 1-minute scale, how do you access yesterday's closing price.
profile picture

Eugene

#2
See here for example - Intraday / Multi-Time Frame | Mixing intraday and daily data

The basic idea is to find the 1st intraday bar for today and get the compressed daily close for the preceding bar.
profile picture

dankimel

#3
OK. Works great. Thanks.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).