History function when called with Daily resolution, return dates which are +1. For example, the date is 4/5/23 but the closing price is as of 4/4/23. That is because OnData function is called at the first minute of the day when the resolution is Daily. However, that is a major inconvenience.

However, when the Resolution is Minute, then the returned data has the right date and time values. What to do with this shifted dates?

Author

Barry Plasmid

April 2023