Hi all,
I am trying to get the historical minute prices for the last one hour using this code-
price_history= history(bar_count=60,frequency='1m', field='close_price')
I get an error when I compile that says:
CodedIncompatibleHistoryFrequency: 0068 Requested history at frequency 'm' cannot be created with data at frequency 'daily'.
Do I have to set the frequency somewhere else in the code as well?
Regards,
Prathamesh