The initial stop is set to 200 ticks.
When the profit target is reached for the first 2, I'd like to move the stop to the entry price.
But I can't seem to get the entry price.
I also can't seem to set a condition that lets it know it has sold 2 of the 3 contracts.
position.avgprice doesn't seem to work here.
position.quantity doesn't seem to work here.

Comment