"Time series Labeling"
Does anyone know how I can generate a new binary attribute based on whether the next value in a time series stock price is UP or DOWN?
For example, If I have
Then, the generated attibute would be
Thank you in advance