I have a time series data. I have managed to generate buy and sell signal over the entire period. However the buy and sell signal are of different intervals depending on the trend of the assets. In the end, I would like to calculate the return from the last action of buy and the sell signal generated throughout the entire time period. As I said the series are of different intervals. What can I do to pick the entire series appropriately?
Bookmarks