I am trying to figure out how to auto close a position after a certain amount of time after it auto open?
For example, the code trigger a buy and I will need the position to be close after 15mins or 1hour automatically every single time no matter win or lose.