Ok. So here's the current code:
When target is completed and position is flat, message is sent out to indicate the pnl.
So at that point, I want to add a check:
I want to add this section into the code. Basically the intent is once target is met, I want to retrieve any orders that may be...