Let say I have a financial time series object called "obj.TimeSeries" which stores daily close price of a stock e.g. GOOG and the data source is from Yahoo. As you know, the series will only include data for trading dates. So does anyone know a faster way of adding nontrading dates and its interpolated close price into the financial time series object?
Currently I'm using the function below to get this job done, but it seems that this function is not fast enough so I'd like to see if you know a better way to do this.