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?

---

I have given tou a scenario : 
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.
ie i want to convert my raw data of stock price for last two years(daily basis)
and I want to convert this into a time series for ARIMA model.I want to know what value for frequency argument I should give inside ts() of R s/w.
And how it is decided .
Is it clear now?