Hi, Trying to figure out which way is correct/realistic when trying to shift Csv data in order to reflect a realistic 1 day delay that would occur if one were to use csv data in a live algo. My questions:
Q1 When i .shift(-1) in ide get logical record plots, meaning algo gets yesterdays csv value today, if i shift(1) then the record plot indicates that im predicting the future
Q2: However, When i shift data in research, i get logical results with .shift(1), meaning data is shifted forward 1 day, meaning i get the same plot result as when i shifted(-1) in ide
I would like a definite answer weither or not the ide shift function acts differently and if so, then how to combat that or take into account
Thanks for your time