My strategy uses daily bars and enters each trade at the market open and exits at the close. It never holds a position overnight. Signals are calculated after the close of the current day and sent to my broker before the markets open on the next day. In real life with my IB account, I simply have to send the following two orders between today's close and tomorrow's open: "BUY 100 AAPL MKT" and "SELL 100 AAPL MOC".
How can I replicate that in Quantopian? Thank you.