Each day I manually input two prices that the strategy uses to trade.
For the purposes of backtesting/optimization I would like to be able to input those two prices for a series of days.
What is the best way to do this?
One way I came across while searching was to use the day of the year (where the first day of the calendar year is 1), but I wanted to create this post to see if that was truly the best way to go about this or if there is a more efficient solution.
Comment