Displaying 20 results from an estimated 100 matches similar to: "priceIts problem"
2004 Apr 25
2
Yahoo bug in tseries::get.hist.quote and its::priceIts
Both get.hist.quote, and its derivative priceIts, rely on download.file() to
fetch financial data series from Yahoo! in .csv format. They allow for nice
interactive demonstrations of what one can do with R.
Unfortunately, both are currently broken as Yahoo! decided to add a somewhat
useless html comment at the end of the csv 'stream', breaking the regular
format of n rows with k columns.
2005 Sep 29
2
priceIts
Dear All,
There is an example for the priceIts function (the its package) which
does not work for me as expected.
> ?priceIts
> x1 <- priceIts(instrument = c("^ftse"), start = "1998-01-01",
+ quote = "Close")
Error in validObject(.Object) : invalid class "its" object: Missing
values in dates
> x2 <-
2007 Sep 01
1
Problem in downloading Yahoo Finance data from R
Hi R users,
I have a problem in downloading Yahoo Finance data from R. I have tried
an example given in R, to download. The error is given below:
>library(fCalendar)
> yahooImport("s=IBM&a=11&b=1&c=1999&d=0&q=31&f=2000&z=IBM&x=.csv ",
file = "D:\\ Downlaod",source = "http://ichart.yahoo.com/table.csv?",
save = FALSE,
2009 Jun 23
4
SAS Macro Variable in R
Hi I'm new to R and would like to implement a SAS-like macro variable
in R.
What I'd like to do is take the simple R code below and change the
"=TEF" to different letters to refer to different companies' data for
download.
# DOWNLOADS FILES FROM YAHOO INTERNET
2003 Sep 30
2
ts - unit conversion
I've been using R for a while, but now find myself needing to understand
time-series objects for a short course I am teaching. I am putting
together some daily financial datasets for illustration, but having some
trouble in aggregating the data to months or weeks. I am getting a
"cannot change frequency from 1 to 12" message.
I am not sure that aggregation is where I want to go
2001 Oct 29
1
Help with 'get.hist.quote' on tseries
Hi ALL:
I am trying to use get.help.quote from library(tseries). I tried
to run the example from help(get.hist.quote) but R complained. Here
is the command I used and the response:
ibm <- get.hist.quote(instrument = "ibm", start = "1998-01-01")
trying URL
2002 Jul 18
1
tseries (get.hist.quote)
Hi,
i really positive surprised when i found the "get.hist.quote" but
didn't now
why i get with the examples from Online-Help errorMessages.
Perhaps their is a problem with POSIX and my OS WIN2000/R1.5.1 ?
Thanks for advance & regards,Christian
$ ibm <- get.hist.quote(instrument = "ibm", start = "1998-01-01")
trying URL `
2005 Apr 29
2
how to replace text...
if I have....
QQQQ<-priceIts("QQQQ",quote="Close")
QQQQ<-priceIts("QQQQ",quote="Close");plot(QQQQ)
and then i want to do the same thing but say with IBM instead of QQQQ
is there an easy way like replace qqqq/ibm
Thanks in advance./Jonathan
2007 Apr 16
0
priceIts and yahoo
Dear R People:
About 2 years ago, there were a few messages about
the function priceIts from library(its) generating error
messages.
One of the suggested fixes at that time was to check
security software and such.
I'm getting the same message tonight, and have checked
both from Windows and a Linux installation.
The other suggestion was to determine if there is still a
problem with the
2002 Jun 06
3
Problem with get.hist.quote (tseries library)....
Hello,
I am having a problem with the get.hist.quote command (tseries library) in
the Windows version.
This problem is not happening is the Linux version (Mandrake 8.2).
Attached is the error message, for an example included in the help file.
Also the R.Version() details is attached.
Please, do you know if there is a workaround ?
Thanks,
Carlos.
++++++++++++++++++++++++ ERROR MESSAGE
2003 Dec 14
1
A faster plotOHLC() for the tseries package
The plotOHLC function in the tseries package is useful to plot timeseries of
various financial assets with open/high/low/close data. I had often
wondered if it could be made to run a little faster. It turns out that the
following patch does
--- plotOHLC.R.orig 2003-12-14 12:02:20.000000000 -0600
+++ plotOHLC.R 2003-12-14 12:03:42.000000000 -0600
@@ -21,14 +21,9 @@
ylim <-
2010 Jan 13
1
Dynamic file / url name with read.csv
Hi-
I would like to be able to change the value of SymA below and download a file from the corresponding URL.? Hardcoded, this line works fine:
Symbol<- read.csv("http://ichart.finance.yahoo.com/table.csv?s=SPY&ignore=.csv", stringsAsFactors=F)
However, when I incorporate using?a variable for the ticker, it no longer works.?
SymA<- "SPY"
Sym1<-
2008 Aug 07
3
Downloading Yahoo data
Hi R,
I am trying to download the data from R. I give the below command.
> library(fImport)
> yahooSeries("IBM")
trying URL
'http://chart.yahoo.com/table.csv?s=IBM&a=7&b=08&c=2007&d=7&e=07&f=2008&
g=d&x=.csv'
Error in download.file(url = url, destfile = file, method = method) :
cannot open URL
2010 Apr 16
2
read.table behavior for Dates.
When read.table imports a table that includes a header called 'Date', it
tries to recognize the date format. For example, if one imports this data
from Yahoo finance, the Date column is automatically transformed to Y-m-d,
whereis in the data it appears as m/d/Y:
myData <-
2003 Jun 04
1
get.hist.quote not connecting to yahoo (PR#3188)
Full_Name: Alexander Gracian
Version: 1.7
OS: windows XP
Submission from: (NULL) (217.158.140.82)
Since yesterday morning get.hist.quote in tseries has not been connecting to
yahoo 90% of the time. Is this a problem or change at Yahoo's end?
Alex
Example of R output...
Tring to pulling in 30 days of pricestrying URL
2003 Dec 06
3
Axe time of series in format yy-mm-dd
I'm trying to plot a ibm stock time series.
I made the download of that series,
ibm <- get.hist.quote(instrument = "ibm", start = "2003-01-01",quote=c("CL"))
And ibm is a serie wiht this characteristic:
Start = 37623
End = 37960
Frequency = 1
When I try to plot it,
ts.plot(ibm)
In the graphic the axe time is represented by 37623 ... 37960, How can I put
2004 Mar 03
5
get.hist.quote - is great, but am I missing something?
I find it's just great to be able to say:
library(tseries)
x <- get.hist.quote(instrument="ongc.ns")
and it gets a full time-series of the stock price of the symbol
ongc.ns from Yahoo quote.
However, once my hopes have been raised by such beauty :-) I get
disappointed when I do
> plot(x)
and the annotation is horrible! The x axis is not labelled as
dates. The default
2001 Oct 04
1
get.hist.quote does not work (PR#1116)
Full_Name: Arto Luoma
Version: 1.3.1
OS: Windows 98
Submission from: (NULL) (153.1.53.119)
Hi!
The function get.hist.quote in the package tseries (Version 0.7-6) does not work
in
my computer.
I found that it uses the function strptime which did not "understand" English
month
names in my Finnish locale (see bug report 811). I changed the regional settings
to
be English (UK) and
2010 Jan 13
1
plotting moving range control chart
I have been having the same problem as poster Hodgess, below. It appears
that her question was never answered, so I would like to share a solution
with the community.
The problem is the (apparent?) inability to produce moving range process
behavior (a.k.a. "control") charts with individuals data in the package
"qcc" (v. 2.0). I have also struggled with the same limitation in
2006 Aug 31
0
Data Download Probelm from Yahoo
Hi All,
I'm trying to download data using following code.
require(UsingR) ## This is the R-package you need
to run command yahoo.get.hist.quote
#Initialize empty table
closing <-NULL
#Downalod consituents since I don't have it on my comp
download.file("http://www2.standardandpoors.com/spf/csv/index/sp500.csv",
"Z:/BETA PROJECT/DATA DOWNLOAD FROM