when i chjange below to 5mins, it is throwing error
A function to define the strategy logic and place orders
'''
def strategy(context, data):
try:
# Get the data for past 20 days
security_data = data.history(assets=context.security_list,
fields='price',
bar_count=20,
frequency='1d')
except HistoryWindowStartsBeforeData:
return