search for: getquote

Displaying 9 results from an estimated 9 matches for "getquote".

Did you mean: getquota
2018 Feb 20
0
getQuote in quantmod malfunctioning
...t;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", :...
2012 Oct 11
2
simple parsing question?
I am using the getQuote function in the Quantmod package to retrieve the % change for a stock as follows: > getQuote("aapl",what=yahooQF(c("Change Percent (Real-time)"))) Trade Time %Change (RT) aapl 2012-10-11 03:41:00 N/A - -1.67% How can I extract the numeric "change %"...
2018 Jan 07
1
help needed on quantmod....
dear members, I am using quantmod to work with stock prices... I am trying to append the data got from getQuote to the one got by getSymbols. The function is named "apnd". The code is as follows: function(x){ if ((class(x) == "xts") || (class(x) == "zoo")){ sym <- deparse(substitute(x)) y <- getQuote(sym) # con...
2017 Sep 06
1
Using quantmod to obtain current Dow Jones index
R 3.4.1 OS X Colleagues, I am just learning to use the quantmod package and I have encountered something that I don?t understand. This works: getSymbols("^DJI") This does not work: getQuote("^DJI?) It returns only NAs: Trade Time Last Change % Change Open High Low Volume ^DJI <NA> N/A N/A N/A N/A N/A N/A N/A Two questions: 1. Is there some way to obtain the current DJI using quantmod? 2. If not, can someone suggest alternatives? Dennis Dennis Fisher MD P < (Th...
2011 Oct 20
4
quantmod package
i am new to the quantmod package . so if the answer is trivial please excuse me. i want to study stock values within a day. i get current stock updates using getQuotes and then want to produce usual quantmod graphs with that values. also the graph should be able of adding technical indicators. please help. in addition it will be helpful if anyone suggests how to run that code continuously to get constantly updated charts. thanks in advance for any suggestion....
2011 Nov 03
3
Extract Data from Yahoo Finance
Hi R ?users, ? I am using R-2.14.0 on Windows XP. ? May I request you to assist me for the following please. ? I like to extract all the fields (example: a : Ask, b : Bid, ??, w : 52-week Range, x: Stock Exchange) ?for certain period of time, say, 1 October 2011 to 31 October 2011. ? Is there any R-Package(s) & any R- script please? ? Once again, thank you very much for the time you have
2008 Sep 09
2
yahoo finance into R
Hi R, I am familiar with the basics of R. To learn more I would like how to get data from Yahoo!finance directly into R. So basically I want a data frame or matrix to do some data analysis. How do I do this? Thank you very much. Thomas -- View this message in context: http://www.nabble.com/yahoo-finance-into-R-tp19385481p19385481.html Sent from the R help mailing list archive at Nabble.com.
2013 Apr 13
0
help on smoothing volatility surface..
...atility, timeSteps=150, gridPoints=149, engine="CrankNicolson")$delta } # set what symbol you want vol surface for underlying <- 'GOOG' # set what your volatility forcast or assumption is volforcast <- .25 # Get symbols current price underlying.price <- getQuote(underlying,what=yahooQF("Last Trade (Price Only)"))$Last OC <- getOptionChain(underlying, NULL) #check data head(OC) lputs <- lapply(OC, FUN = function(x) x$puts[grep("[A-Z]\\d{6}[CP]\\d{8}$", rownames(x$puts)), ]) head(lputs) #check for NA values, yahoo returns all NA va...
2009 Feb 09
3
pause in function execution
I would like to have a function which gets data, does a calculation and prints a result and then waits some number of seconds and repeats. If I use Sys.sleep, the execution is pausing but the function output is buffered so that it all comes out when the function terminates. How can I get output while the function continues to execute?