I am going to build a data set for my ML so I need to create a data frame and I need to have adjusted data from the date I am running pipe line not the date which pipeline simulate the running. When pipe line use its today's date, it adjust all the prices based on that date but I want to get data for each day based on a constant reference point like 2018-05-10. I mean when I run pipe line for 2018-02-01 and I calculate sma_10, I want to use the data that are adjusted from 2018-05-10 not 2018-02-01. I was thinking if I can over write the today.date and assign a specific date at each day which pipe line runs for, I will get the adjusted prices from my special date rather than pipe line today's date.
How can I do this? Or if you have a better suggestion.