[R] getQuote in quantmod malfunctioning
akshay kulkarni
akshay_e4 at hotmail.com
Tue Feb 20 13:25:07 CET 2018
dear members,
I have a list of stocks by name snlcq2:
snlcq2 <- c("ICICIBANK.NS" "IBULHSGFIN.NS" "INDUSINDBK.NS" "INFY.NS" "KOTAKBANK.NS" "LTI.NS" "LT.NS" "LUPIN.NS" "M&M.NS" "M&MFIN.NS" "NTPC.NS" "ONGC.NS" "POWERGRID.NS" "RELIANCE.NS" "SBIN.NS" "SUNPHARMA.NS" "TCS.NS" "TATAMOTORS.NS" "TATAMTRDVR.NS" "TATAPOWER.NS" "TATASTEEL.NS" "TECHM.NS" "ULTRACEMCO.NS" "VEDL.NS" "WIPRO.NS" "YESBANK.NS" "UPL.NS" "ZEEL.NS" )
getQuote(snlcq2) is not working and is returning the following error:
Error in data.frame(Qposix, sq[, QF]) :
arguments imply differing number of rows: 2, 9
In addition: Warning message:
In getQuote.yahoo(Symbols = c("ICICIBANK.NS", "IBULHSGFIN.NS", "INDUSINDBK.NS", :
symbols have different timezones; converting to local time
However when getQuote is run independently through all stocks of snlcq2, it is working fine...
please help......
very many thanks for your time
yours sincerely,
AKSHAY M KULKARNI
[[alternative HTML version deleted]]
More information about the R-help
mailing list