Once buy order is executed through api, I am adding that stock to a list called buy_list. by using buy_list.append(stock). After squaring off the position.. how can I delete the stock from buy_list. Tried using buy_list.remove and buy_list.pop. and del buy_list[0] also but not useful.Requesting help to resolve this.

1
1 reply