I am trying to call a function in R that can return a time series as tx, xts, or zoo format. In all cases, r.net does not return the dates. It will only return the stock prices.
The following code returns null
command = "IndexValues <- Quandl(\"EOD/SPY\", authcode=\"myauthcode\", start_date=\"2014-01-01\", type = \"xts\")",
DataFrame df = rEngine.Evaluate(command).AsDataFrame(); // returns null
var t1 = rEngine.GetSymbol("IndexValues").AsDataFrame(); // returns null
If I change the type to "zoo", or "raw" or "ts", they all return null. If I cast to a list, it will return the stock prices without dates.
Any ideas?
The following code returns null
command = "IndexValues <- Quandl(\"EOD/SPY\", authcode=\"myauthcode\", start_date=\"2014-01-01\", type = \"xts\")",
DataFrame df = rEngine.Evaluate(command).AsDataFrame(); // returns null
var t1 = rEngine.GetSymbol("IndexValues").AsDataFrame(); // returns null
If I change the type to "zoo", or "raw" or "ts", they all return null. If I cast to a list, it will return the stock prices without dates.
Any ideas?