Hi im new here. Im trying to build an algorithm but there are something that i don't know how to do. I wanted to implement an algorithm based on sell. The idea is to open a position a day before 5 minute before closing of the market on sell a stock (aapl) when the price goes down to -1.5% close the position. The fact is that i can't know how to do this. Please can someone help me.