Tquant Lab, Python, Backpacking, Tejapi Application.
**{ f'buy_{sym}':buy } ) context.holding[f'{i}'] = True context.buy_count[f'{i}'] += 1 # reset stop loss point if (curr_price >= (1.3**context.trailing_count[f'{i}'])*context.last_buy_price[f'{i}']) and (context.holding[f'{i}'] == True) and (context.trailing_stop[f'{i}'] == False):