similar to: Using quantmod to obtain current Dow Jones index

Displaying 20 results from an estimated 2000 matches similar to: "Using quantmod to obtain current Dow Jones index"

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))
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
2010 Jun 05
1
How to get the closing price from the the GOOGLE FINANCE site for NSEINDIA stocks
Sir, How to get the closing price from this link http://www.google.com/finance/historical?q=NSE:RCOM I installed quantmod getSymbols('NSE:RCOM',src='google') gives me this error********************** Error in download.file(paste(google.URL, "q=", Symbols.name, "&startdate=", : cannot open URL
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 %" which is being returned as a factor so that I can use it in other
2012 Jul 07
1
Getting objects from quantmod ticker list
Hi all, I would need to put datas downloaded with quantmod into a matrix or a data frame. Suppose to start from here: *require(quantmod) ticker.list <- c('AAA', 'ALTSALES', 'AMBNS', 'AMBSL', 'BAA', 'EMRATIO', 'FEDFUNDS', 'GASPRICE', 'GS1', 'GS10', 'GS20', 'LNS14100000', 'MORTG',
2009 Aug 17
3
Newbie question re stddev, quantmod and performanceanalytics
Hi, I am trying to calculate the std dev of returns of YHOO so far i got: getSymbols("YHOO") retYHOO <- Return.calculate(Cl(YHOO)) > sd(retYHOO) YHOO.Close NA but i received an NA....can any assist? tks! -- View this message in context: http://www.nabble.com/Newbie-question-re-stddev%2C-quantmod-and-performanceanalytics-tp25001293p25001293.html Sent from the R help
2011 Nov 20
2
Continuasly Compunded Returns with quantmod-data
Hey guys, i want to calculate the continuasly compounded returns for stock prices. Formula for CCR: R_t = ln(P_t/P_{t-1})*100 With R: First i have to modify the vectors, so that they have the same length and we start at the second observation. log(GOOG1[-1]/GOOG1[1:length(GOOG1)-1])*100 That does work with normal vectors. My Questions: 1) I want to use this for stock prices. so i
2008 Sep 02
1
R Newbie: quantmod and zoo: Warning in rbind.zoo(...) : column names differ
Hello; I am trying following but getting a warning message : Warning in rbind.zoo(...) : column names differ, no matter whatever I do. Also I do not want to specify column names manually, since I am just writing a wrapper function around getSymbols to get chunks of data from various sources - oanda, dividends etc. I tried giving col.names = T/F, header = T/F and skip = 1 but no help. I think
2018 Feb 20
0
getQuote in quantmod malfunctioning
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"
2018 Mar 15
1
Adjusting OHCL data via quantmod
Hello, I'm trying to do two things: -1. Ensure that I understand how quantmod adjust's OHLC data -2. Determine how I ought to adjust my data. My overarching-goal is to adjust my OHLC data appropriately to minimize the difference between my backtest returns, and the returns I would get if I was trading for real (which I'll be doing shortly). Background: -1. I'm using Alpha
2011 Oct 18
1
problem with quantmod package
i am using quantmod package.it get stock quotes from google finanace. but unfortunately i am not able to get the quotations of some stocks(e.g. NSE:TCS,NSE:SAIL ) through the "getSymbol" command of this package although they are available in the google finance website. anyone please help me. thanks in advance..... -- View this message in context:
2010 Jan 20
1
Quantmod error
Hi all I have installed quantmod package but when I try to obtain GOOG data appers this message: Can anyone inform why itappears? I type getSymbols("GOOG",src="google") Thanks and Best Regards for all Error en download.file(paste(google.URL, "q=", Symbols.name, "&startdate=", : no fue posible abrir la URL '
2010 Sep 10
2
[xts, quantmod] segfault probelm when I work with memcpy function
Hi, I work with SEXP C code and with xts and quantmod packages. I try to touch how xts internal works. So we have R session and: > ls() character(0) > getSymbols('AAPL') # quantmod package [1] "AAPL" > ls() [1] "AAPL" > str(AAPL) An ?xts? object from 2007-01-03 to 2010-09-09 containing: Data: num [1:929, 1:6] 86.3 84 85.8 86 86.5 ... - attr(*,
2012 May 22
1
Quantmod, Xts, TTR and Postgresql
Hi Everyone, I'm currently using the latest build of R and R-Studio server (both are amazing products) I'm still very new to this but I came across this issue: I'm trying to do a select from postgres and put the data into and xts object like so: # Libs library('RPostgreSQL') # http://code.google.com/p/rpostgresql/ library('quantmod') library('TTR')
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.
2011 Dec 07
1
scatterplotting stock returns using quantmod and pairs()
I want to get data for a set of ticker symbols and compute the daily return of the adjusted close using quantmod, and then scatterplot returns using pairs(). The following gets data for the list of tickers: tickers <- c("SHY","TLT","SPY","IWM","GLD","IEV","ILF","EWJ","EPP","SAF","ASA")
2011 Mar 16
0
Quantmod getSymbol.MySQL
I am trying to read a table from MySQL, I have loaded the file in "ts" database, in table name ACC. but i am unable to read it in R through getSymbol function. mysql> show databases; +--------------------------------+ | Database | +--------------------------------+ | information_schema | | mysql | | test | | ts
2010 Aug 07
0
Fwd: quantmod Example-google data download-problems
---------- Forwarded message ---------- From: Velappan Periasamy <veepsirtt at gmail.com> Date: Sat, Aug 7, 2010 at 11:20 PM Subject: quantmod Example-google data download-problems To: r-sig-finance at stat.math.ethz.ch getSymbols("YHOO",src="google") is working getSymbols("NSE:RCOM",src="google") is not working. then how to download the stock data
2010 Feb 12
1
Identifying special characters in a text file
Colleagues R 2.10.1 on a Mac I read in textfiles using readLines, then I process those files, then I use R to execute another program. Occasionally those files contain characters other than letter / numbers / routine punctuation marks. For example, a bullet (option-8 on a Mac) triggers the problem. Although R can read and process those characters, the other program cannot so I would like to
2017 Aug 07
1
tidyquant error downloading symbols for Index
Hi R Helpers, I recently tried to take advantage of the ability to download all the tickers in the S&P 500 using the functionality of tidyquant, but it threw an error. For summary, the set of commands that I ran was library(tidyquant) tq_index_options() tq_index("SP500") sessionInfo() R feedback including error message and sessionInfo are provided below. Guidance would be