I am trying to fetch the daily Exchange rate from EIKON API solution. Please see the below code.
start_date = '2019-01-01'
end_date = '2019-03-01'
field = ['BID','ASK']
ric = ['ZAR=','GBPZAR=']
params = parameters={'SDate': start_date, 'EDate': end_date,'Frq': 'D'}
data,err = ek.get_data(ric,field,params)
The Output is only showing results of the current date.
Can someone help?
Instrument BID ASK
0 ZAR= 14.4942 14.4992
1 GBPZAR= 19.8543 19.8783