I would like to know whether it's wrong; when working with time series data; to use daily prices as features and the price after 3 days as target.

Is this correct or should I use the next-day price as target and after training; predict 3 times; each time for one more day ahead(using the predicted value as a new feature)

Will these 2 approaches give similar results?

  • Have you considered trying out both apporaches on your training data and comparing which one performs better? – paffciu Aug 23 at 14:57

I don't know what kind of price data you're dealing with. I suppose the order of the data matters a lot, so my suggestion would be:

  1. Use LSTM as it handles time series better

  2. You can predict 3 consecutive numbers from an RNN as the next three days' predictions

  3. Try regression first, it is likely it will not work (or just flatten the curves, depend on your data noise), then classification is an easier approach

  4. Don't forget normalization

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.