Displaying 3 results from an estimated 3 matches for "margin_fix".
Did you mean:
main_fix
2005 Nov 02
2
Bug report on get.hist.quote
> get.hist.quote(instrument="INR/USD", provider="oanda", start="2005-10-20")
trying URL 'http://www.oanda.com/convert/fxhistory?lang=en&date1=10%2F20%2F2005&date=11%2F01%2F2005&date_fmt=us&exch=INR&exch2=&expr=USD&expr2=&margin_fixed=0&&SUBMIT=Get+Table&format=ASCII&redirected=1'
Content type 'text/html' length unknown
opened URL
.......... ...
downloaded 13Kb
2005-10-20 2005-10-21 2005-10-22 2005-10-23 2005-10-24 2005-10-25 2005-10-26
0.02220 0.02218 0.02224 0.02224 0.02224 0.0...
2011 Feb 02
0
Problem with getFX function
...function-tt906056.html#a906061
I was trying to run the code:
foo <- function(from, to, date){
url <- "
http://www.oanda.com/convert/classic?script=..%2Fconvert%2Fclassic&language=en&value=1
"
params <-
sprintf("%s&date=%s&exch=%s&exch2=&margin_fixed=0&expr=%s&expr2=&SUBMIT=Convert+Now&lang=en&date_fmt=us",
url, format(as.Date(date), "%m/%d/%y"), from, to)
Lines <- readLines(params)
value <- gsub(".*([0-9]\\.+[0-9]+).*", "\\1", grep("nl", grep(from,
grep(to...
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
--