Hi,
In the code, I replaced the following code:
highPrices = history(bar_count=2, frequency='1d', field='high')
with the following two lines:
mode = '1d'
highPrices = history(bar_count=2, frequency=mode, field='high')
I wanted to parameterize the frequency with a variable but IDE returns an error (invalid argument) when the code is executed.
Do you know of the right way to parameterize the frequency argument?
Thanks!