Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
I'm trying to check if RATIO is more than EMA_RATIO but throws me a logic error, any suggestions?

The first set of quotes is what I want to work but I can't seem to get to run.

1 response

Hey, ticker symbols are case-sensitive. So qqq','soxx' won't work. You need 'QQQ', 'SOXX'. The other code looks as if it's not gonna cause any execution errors (though you are getting quite a few NaNs).