Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Gap Up Strategy - What am I missing ?

Hi everyone,

I just thought I would share this algo with you guys and see if I can get some inputs from you. Basically, I know that this strategy has been discussed numerous times and is pretty popular but I wouldn't expect it to crash and burn in hell like that ....

So my question comes down to: What am I missing ?

Thanks in advance,

P.S. The comments are based on the Gap Down strategy by the way .... but I decided to reverse the whole thing to see if it worked better..

1 response
  • Row 60, you have coded the opposite logic than the one you wanted. Replace the < with >.
  • Why do you multiply by 100 on row 62?