1. Place two long orders with unique signals (EnterLongLimit), get filled, immediately set a different profit target for each
2. Meet conditions to switch sides (NOT hit the profit target), place two short orders with EnterShortLimit
If I comment out the calls to SetProfitTarget, it works most of the time, but occasionally the second EnterShortLimit fails anyway.

Comment