Displaying 3 results from an estimated 3 matches for "tickersym".
Did you mean:
tickers
2017 Jul 30
4
Kalman filter for a time series
..._hacks/kalman_smooth.html shown
below. But it seems the structSSM function has been removed from KFAS
library so it won't run. Does anyone know how to fix the code so that it
runs?
library(KFAS)
library(tseries)
library(timeSeries)
library(zoo)
library(quantmod)
getDailyPrices = function( tickerSym, startDate, endDate )
{
prices = get.hist.quote( instrument = tickerSym, start = startDate,
end = endDate,
quote="AdjClose", provider="yahoo",
compression="d", quiet=T)
prices.ts = ts(prices)
return( prices.ts )
}...
2017 Jul 30
0
Kalman filter for a time series
...uctSSM function has been removed from KFAS
> library so it won't run. Does anyone know how to fix the code so that it
> runs?
>
>
>
> library(KFAS)
> library(tseries)
> library(timeSeries)
> library(zoo)
> library(quantmod)
>
> getDailyPrices = function( tickerSym, startDate, endDate )
> {
> prices = get.hist.quote( instrument = tickerSym, start = startDate,
> end = endDate,
> quote="AdjClose", provider="yahoo",
> compression="d", quiet=T)
>
> prices.ts = ts(pr...
2017 Jul 30
0
Kalman filter for a time series
...anyone know how to fix the code so that it
> runs?
Have you tried the vignette with KFAS?
Hope this helps.
Spencer Graves
>
> library(KFAS)
> library(tseries)
> library(timeSeries)
> library(zoo)
> library(quantmod)
>
> getDailyPrices = function( tickerSym, startDate, endDate )
> {
> prices = get.hist.quote( instrument = tickerSym, start = startDate,
> end = endDate,
> quote="AdjClose", provider="yahoo",
> compression="d", quiet=T)
>
> prices.ts...