Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
zipline - buy to open price

Hello everyone,
I am currently working on daily data and want to buy stocks in the morning and sell them when the market closes. The problem is that the order function uses the close price at default. So I wondered if it is possible to change it to the open price.
I had a long search but could not find any hints that actually worked.
Do you guys have any tips or a solution for me?

Regards
AF

2 responses