[R-SIG-Finance] getQuote problem

Joshua Ulrich josh.m.ulrich at gmail.com
Sun Jul 24 06:32:04 CEST 2011


On Sat, Jul 23, 2011 at 8:17 PM, Samo Pahor <samo.pahor at gmail.com> wrote:
> Hello,
>
> I have some issues with getQuote from the great quantmod package. I do not
> know whether I am doing something wrong or there is an issue in getQuote.
>
This is an issue with Yahoo.  I attempted to download the CSV via the
URL below multiple times.  Sometimes most of the dates were
"1970-01-01".

http://finance.yahoo.com/d/quotes.csv?s=ADK+ADK-WT+AIM+ALN+AMS+
ANO+ANV+APP+ARR-WT+ATC+ATSC+AWX+AXK+AXU+AZC+BAA+
BAA-WT+BFY+BHV+BKJ+BKR+BLE+BLJ+BPS+BQI+BQY+BRD+BTN+
BVX+BZC+BZM+CCA+CCF+CDY+CEF+CET+CEV+CFD+CFP+CMFO+
CMT+CNGL+CNR+CQP+CRMD+CRMD-WT+CUO+CVM+CXZ+DHY+DIT+
DNN+DPW+DXR+EAD+EAG+EGI+EGT+EIA+EIM+EIO+EIP+EIV+ELC+
EMAN+EMI+EMJ+EML+ENX+ERC+ERH+ESA+ESA-U+ESA-WT+ETF+
EVJ+EVM+EVO+EVP+EVV+EVY+FAX+FEN+FNV-U+FOH+FPP+FTF+
GBR+GGN+GGN-PA+GHM+GLA+GLO+GLQ+GLU+GLV+GMO+GORO+
GPL+GPR+GRC+GRH+GRZ+GSS+GST+GST-PA+GSX+GTU+GV+HBP+
HLM-P+HNB+HNW+HUSA+HWG+IAF+IBO+IDI+IDI-U+IDI-WT+IHT+IMO+
INS+INUV+INV+IOT+IPT+JFP+JRS+KBX+KGN+KUN+LCI+LON+LPH+LTS+
MAB+MCF+MCZ+MDW+MEA+MGH+MGT+MHE+MHH+MHR-PC+MHR-PD+
MIW+MMV+MMZ-PK+MOC+MSL+MSN+MVG+MXC+NBJ+NBJ-PA+NCB+
NCU+NEA+NEN+NEOP+NEP+NFC+NFM+NFZ+NFZ-PC+NG+NGB+NGK+
NGO+NGX+NHC+NHC-PA+NHS+NII+NJV+NKG+NKL+NKO+NKR+NKX+
NLP+NMB+NMB-PC+NMZ+NNB+NNO+NOM+NPG+NPN+NRB+NRK+NSU+
NUJ+NVG+NVJ+NVJ-PA+NVX+NVY&f=d1t1l1c1p2ohgv

> I am trying to download quotes for 600 symbols(S&P 500 plus some ETFs and
> indices). When I do that I get quote table with first 200 rows with Trade
> Time equal to 1970-01-01 ... and from 201 row on it looks OK. Please see
> code and results below.
>
> Thank you for guiding me to the direction of the solution.
>
> Regards,
> Samo.
>

Best,
--
Joshua Ulrich  |  FOSS Trading: www.fosstrading.com



More information about the R-SIG-Finance mailing list