crudeoilm = historical.get_historical_data(‘CRUDEOILM’,‘MCX_COMM’,‘FUTCOM’,‘2024-10-01’,‘2024-10-10’)
df = pd.DataFrame(crudeoilm[‘data’])
print(df)
Output is blank Array : like this
crudeoilm = historical.get_historical_data(‘CRUDEOILM’,‘MCX_COMM’,‘FUTCOM’,‘2024-10-01’,‘2024-10-10’)
df = pd.DataFrame(crudeoilm[‘data’])
print(df)
Output is blank Array : like this
Hello @Shadiq
Welcome to MadeForTrade community!
Can you try with expiry code as 1 and try again? You get values of expiryCode in Security ID List.