For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Get current day Open after resampling 5 min data to 1 day
-
My strategy depends on pervious day values and current days Open. I have resampled 5min data to Day and can get the previous day value using datas[1]. However, I cannot get the current day Open value, when I try to get Open value from datas[1], the index 0 provides previous day value (as resampling completes only after day ends).
Need advise on how can I access the current day Open?