getting online Forex data
11 views (last 30 days)
Good evening everyone,
i have started a new work that i need to get an online rate of Euro to USD.
and i just use this code for this purpose,
apikey = '***********'; % my formal email address
c = quandl(apikey);
s = 'WGC/GOLD_DAILY_USD';
startdate = datetime('01-01-2010','InputFormat','MM-dd-yyyy');
enddate = datetime('now','InputFormat','MM-dd-yyyy');
periodicity = 'daily';
d = history(c,s,startdate,enddate,periodicity, ...
but the problem is this code can only give me daily and monthly data but i need tick, minutes and hourly data too.
so the question is, is there any way to fetch an online rate of Euro to USD (from anywhere freely or not) in the Matlab environment?
thanks in advance,