Back to Community
Error in line about buy count(bc)

if cpt < mavgmtot:(
order(context.t, 1)
bc = bc + 1
log.info(bc))

Any help is greatly appreciated.