Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
data.history called for multiple stocks - fail

I am trying to compute current stops for some trades I plan to do. I can get this code to work for a single sid at atime but have no idea why it does not work for more than 1 sid picked from an array. Any help is much appreciated. Thanks.