Hello,

Say I would like to track a position's PNL and mark the trade as a ‘winning trade’ after it hits my profit target (say +15%), from that point, if the ‘winning trade’ goes back to my average price (0%) sell the position for breakeven.

Is there a way to do this with the existing framework or will I need to extend the Security class with a bool to do this condition?

Thank you