search for: getfx

Displaying 5 results from an estimated 5 matches for "getfx".

Did you mean: getfb
2011 Feb 02
0
Problem with getFX function
...p://www.oanda.com/convert/classic?script=..%2Fconvert%2Fclassic&language=en&value=1&date=10/14/10&exch=BRL&exch2=&margin_fixed=0&expr=USD&expr2=&SUBMIT=Convert+Now&lang=en&date_fmt=us ' Does anyone what the problem is about? If I type simply: > getFX("EUR/USD",from="2011-01-01") Then I get similar error: [1] "EURUSD" Warning message: In readLines(tmp) : incomplete final line found on 'xxx\AppData\Local\Temp\RtmpI1HUzb\file27f7532' > (I've hide the path) Thanks [[alternative HTML version delet...
2009 Oct 14
3
currency conversion function?
Dear all Is there any R function that would perform currency conversion using up-to-date exchange rates? I would be looking for a function that allows to download recent exchange rates (say, from Yahoo!) and then use these in converting currencies (say, USD to EUR). I am not sure whether r-sig-finance would be more appropriate, but the (off-)topic feels general enough to me. Thank you Liviu --
2011 Apr 09
1
How do I make this faster?
...ttern='oz.', fixed=T, x =as.vector(oanda.currencies$oanda.df.1.length.oanda.df...2....1.)) == F]) correlations <- vector() values <- list() # optimise these loops using the apply family for (i in currencies) { for (j in currencies) { if (i == j) next() fx <- getFX(paste(i, j, sep='/'), from='2009-11-20', to='2011-04-02') # Prepare data by getting rates for market days only fx <- get(fx) fx <- fx[which(index(fx) %in% index(QQQ$QQQ.Close))] correlation <- cor(fx, QQQ$QQQ.Close) correlations <- c...
2010 Jul 13
1
Time Variable and Historical Interest Rates
...re. Sorry for the repeat. --------------- library(quantmod) .... now <- Sys.time() midnight <- strptime() # <---- I want to make this a static variable that will be equal to 12:00:00 am but I dont know what to put here. I keep getting NA for everything I do if(now == midnight) { getFX("EUR/USD", from = Sys.Date() -1, to = Sys.Date() - 1) write.table(EURUSD, "~Documents/stat arb/project/eurusd.csv", append = TRUE, row.names = FALSE, col.names = FALSE) .... } .... --------------- Also, append is ignored when I use "write.csv". I had to resor...
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.