getting online Forex data

조회 수: 6 (최근 30일)
Abolfazl Nejatian
Abolfazl Nejatian 2020년 1월 7일
편집: Saeid Kamandi 2021년 12월 29일
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, ...
"limit",inf,"order","asc");
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,
Abolfazl
  댓글 수: 1
Andrew Janke
Andrew Janke 2020년 1월 31일
This is really a market data question, and not a Matlab question. Do you have an existing market data vendor that you're working with? Lots of places have forex data, but if you want minute and tick data, you're going to have to pay for it. Once you've chosen a vendor, they provide web-based or other APIs that Matlab can work with.

댓글을 달려면 로그인하십시오.

답변 (1개)

Saeid Kamandi
Saeid Kamandi 2021년 12월 29일
편집: Saeid Kamandi 2021년 12월 29일
Hi, Abolfazl, to get forex data, you need to use MetaTrader 4, the expert data export v3 can also help you, but this is the manual way to get the data.

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by