Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Stop loss not triggering. What am I doing wrong?

I'm trying to create a short algorithm against penny stocks. The idea being that big gains on runaway gaps are usually followed by big losses. I'm using stocks that are particularly volatile, and have low floats, as these are the least likely to draw big investors. However, the stop loss doesn't seem to be triggering. I'm using only 1/6 of my position on any given day. However, I'm seeing losses of 100%, which is simply impossible given, the position size. I'm sure it's something I'm overlooking in the code, but I'm not sure what. Any help would be greatly appreciated.