I'm pretty new to this so probably doing something silly.  But I'm running a backtest, and some of the first orders placed are to sell stocks that I haven't yet placed buy orders for?  Any ideas?