Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Callback for when order is successfully filled?

I currently have an algorithm which is placing orders. I'd like a way to output and store the price that the order eventually is filled at. Is there any way to add a callback to automatically call when my order is filled? My currently solution is to hold a list of all my open orders, and in handle_data, check if any orders have been filled, but this seems convoluted.