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

As far as I know there is no view on history of orders in
benchmarking algorithm. So I nedd manually logging
with portfolio positions like this? I would like to know
when and which orders my algo entry in and out.
I am looking for more detailed PnL view, like when
position was opened, closed, with profit or loss.

log.debug(context.portfolio.positions)