All,
I want to clarify something on orders and how Quantopian works:
When we do order_target_percent(security, 0.1) we are ordering 10% and likewise order_target_percent(security, 0.-1) is for the short.
How do we exit the position. For example for a simple long and high sell is it appropriate to write
order_target_percent(security, 0.1)
if price_paid < current price:
order_target_percent(security, 0.0)
Will that appropriately sell the security for the profit?
Also suppose that your criteria executes:
order_target_percent(security, 0.1)
But then subsequent logic also does:
order_target_percent(security, 0.-1)
Will multiple positions be held as a long and short or does it null it out to a "0" position?
Just looking for a little clarification looking at the print out statements.
Thanks
Jon
```