Tquant Lab, Python, Backpacking, Tejapi Application.
context.stop_loss[f'{i}'] = 1.3*context.stop_loss[f'{i}'] context.trailing_stop[f'{i}'] = True context.trailing_count[f'{i}'] += 1 elif (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}'] ==