Displaying 14 results from an estimated 14 matches for "dji".
Did you mean:
di
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 alternative...
2010 Apr 12
1
N'th of month working day problem
Dear Gabor,
Thanks for your reply. however:
> tail(DJd)
^DJI.Close
2010-04-01 10927.07
2010-04-05 10973.55
2010-04-06 10969.99
2010-04-07 10897.52
2010-04-08 10927.07
*2010-04-09 10997.35*
> tail(ag)
2009-11-30 10344.84
2009-12-31 10428.05
2010-01-31 10067.33
2010-02-28 10325.26
2010-03-31 10856.63
*2010-04-30 10997.35
*
It seems the script...
2005 May 20
3
Reading Numeric Data -- Trivial Question
Hello,
I am very new to R, and this is certainly and uber-newby question:
I am trying to read a vector of numeric data that contains the log
of daily DJI returns and simply plot a histogram of it.
The data I have is in a text file format, on each line a number
represents the log of the returns of one day.
I have problems in reading this in a vector numeric format.
If I try
retr<- as.numeric(read.table("logDJI.TXT", header=FALS...
2011 May 15
4
DCC-GARCH model
...imate
coefficients of the DCC-GARCH model for them. This is how I do it:
library(tseries)
p1 = get.hist.quote(instrument = "^gspc",start = "2005-01-07",end =
"2009-09-04",compression = "w", quote="AdjClose")
p2 = get.hist.quote(instrument = "^dji",start = "2005-01-07",end =
"2009-09-04",compression = "w", quote="AdjClose")
p = cbind(p1,p2)
y = diff(log(p))*100
y[,1] = y[,1]-mean(y[,1])
y[,2] = y[,2]-mean(y[,2])
T = length(y[,1])
library(ccgarch)
library(fGarch)
f1 = garchFit(~ garch(1,1), data=...
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
2009 Aug 26
1
Issues with factors with duplicate (empty) levels
Hello!
I imported a DJI survey[1] from an SPSS file. When looking at some of
the variables, I noticed problems with the `table` function and similar.
It seems to be caused by duplicate levels which are generated from the
value labels. Not all values have labels, so those who don?t get an
empty string as the level, which l...
2011 May 12
2
DCC-GARCH model and AR(1)-GARCH(1,1) regression model
...imate coefficients of the DCC-GARCH model for them. This is how I do it:
library(tseries)
p1 = get.hist.quote(instrument = "^gspc",start = "2005-01-07",end =
"2009-09-04",compression = "w", quote="AdjClose")
p2 = get.hist.quote(instrument = "^dji",start = "2005-01-07",end =
"2009-09-04",compression = "w", quote="AdjClose")
p = cbind(p1,p2)
y = diff(log(p))*100
y[,1] = y[,1]-mean(y[,1])
y[,2] = y[,2]-mean(y[,2])
T = length(y[,1])
library(ccgarch)
library(fGarch)
f1 = garchFit(~ garch(1,1), data=...
2002 May 04
2
R crashes trying to read a data.frame
...2 missing values) and the 93th row. The particular
values in this record do not seem to matter: they are not the same in
the Access table and in the FoxPro table (tables are the same but order
is different).
> vill[50:54, ]
codelieu lati hemi longi meri nom
50 SNKOLDJI 12.8436 N 15.0192 O Djida Marietou
51 SNKOLHAM 12.9519 N 14.8467 O SARE HAMIDOU
52 SNKOLKIS 12.9767 N 14.8714 O MARAKISSA
53 SNKOLLAM 12.8594 N 15.0219 O SARE LAMINE
54 SNKOLLAY 12.8275 N 14.8803 O DIOULAYEL...
2008 Jun 02
4
[Bug 16206] New: Charts in Yahoo Finance crash swfdec
http://bugs.freedesktop.org/show_bug.cgi?id=16206
Summary: Charts in Yahoo Finance crash swfdec
Product: swfdec
Version: git
Platform: Other
URL: http://finance.yahoo.com/echarts?s=%5EDJI#symbol=%5EDJI;
range=1d
OS/Version: All
Status: NEW
Severity: critical
Priority: medium
Component: library
AssignedTo: swfdec at lists.freedesktop.org
ReportedBy: eric225125 at yahoo.com
QAContact: swfdec...
2011 May 10
0
DCC-GARCH model and AR(1)-GARCH(1, 1) regression model - help needed..
...imate coefficients of the DCC-GARCH model for them. This is how I do it:
library(tseries)
p1 = get.hist.quote(instrument = "^gspc",start = "2005-01-07",end =
"2009-09-04",compression = "w", quote="AdjClose")
p2 = get.hist.quote(instrument = "^dji",start = "2005-01-07",end =
"2009-09-04",compression = "w", quote="AdjClose")
p = cbind(p1,p2)
y = diff(log(p))*100
y[,1] = y[,1]-mean(y[,1])
y[,2] = y[,2]-mean(y[,2])
T = length(y[,1])
library(ccgarch)
library(fGarch)
f1 = garchFit(~ garch(1,1), data=...
2007 Apr 02
7
Feature Missing OUTBOX Folder
Hi Dovecot People,
i have switched my system from courier-imap to dovecot and iam quite
happy with it, the performance is well and i had nearly no problems.
One little feature iam missing is in Courier i had a folder called
"Outbox" there i could paste mails which i want to sent out.
In some networks its not always available to sent mails via port 21, i
know i could just set up my
2013 Mar 02
8
flac 1.3.0pre1 prelease
Hi all,
I finally managed to bite the bullet and roll a pre-release. Its
here:
http://downloads.xiph.org/releases/flac/beta/
I have personally tested this code on:
x86-linux
x86_64-linux
powerpc-linux
I have not yet done any work on making sure the changelog is up-to-date.
That will be done between now and the release. What I'm after now is
testing of this source tarball
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
Hi Louis,
It's simple to run a r script from the excel spreadsheet.
Just write your code, source("C:\\Quantil
Aplicativos\\Genercauca\\BackwardSelectionNC.r"), into a cell of a
workingsheet. Then right-click the cell and select "run code" in the pop-up
menu.
Hope this will help you.
Best,
Bernard
-----????-----
???: r-help-bounces at r-project.org [mailto:r-help-bounces
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking