I have been working on an opening-gap long/short algorithm, and believe I'm running into some unexplained anomalies during backtesting.

On 03/09/2017, my backtest performance shows a -66% decline in portfolio value. Looking at the orders, there is no explanation that I can see for this. No margin calls, no stops triggered, all buy/sell numbers match up, nothing looks off, I belive the day should have ended up slightly positive or neutral.

I'm pretty new to this, so maybe I'm making a mistake in my trading logic somewhere or missing some common stumbling block. Any help would be appreciated. 

Author