Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Stop Multiples Question

If you had entered a command to buy any given stock at any given price, and your order was filled in two separate lots, when you reference 'purchase_price' what price are we now referencing?

For example, if I bought 200 shares of Apple (AAPL) 100 @ $100.00 and another 100 @ $105.00, when I reference purchase price what price am I referencing? $100? $105? The average of the two $102.50?

Regards,
Connor