I run this script as usual, but procedure runs error .While I use CodeBook to run this script,I get the right result .
df, err = ek.get_data(
instruments = ['1YMM1'],
fields = [
'TR.CLOSEPRICE',
'TR.ACCUMULATEDVOLUME',
'TR.BLOCKTRADEVOLUME',
'TR.UPPERTRADINGLIMIT',
'TR.LOWERTRADINGLIMIT',
'TR.HIGHPRICE',
'TR.LOWPRICE',
'TR.OPENPRICE',
'TR.TURNOVER',
'TR.SETTLEMENTPRICE',
'TR.OPENINTEREST',
'TR.OPENINTEREST.date'
],
parameters={'Frq': 'D', 'SDate': '2021-03-29', 'EDate': '2021-04-01'}
)