Assume that my manually entered existing positions already had a paper profit of $1000. How do I set a stop order to protect these $500 of profit while let them run further?
I think such stop order needs to be on account level, right? If yes, what method should I use for indicator development?
Do I need call OnAccountItemUpdate to check AccountItem.UnrealizedProfitLoss before placing stop order?
thanks a lot for your help!
Comment