1. I have 2 years day-wise data of stock price.  
What frequency I should take in this case for next 1 year day wise prediction?

2. I have one day minute-wise data.  
What frequency I should take for next day forecast minute wise?

Actually I want to know what is frequency w.r.t. time series and prediction?