Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Trying to check if current position is in profit using
pl_pct = (self.position.price-self.position.price_orig)/self.position.price_orig
However, it seems like self.position.price_orig is zero even though size is positive.