Am new to python so bare with me if this question is too simple. Am trying to use a "for loop" to go through each security and if it fits my first condition in the "if" statement it should order the stock and then sell when it fits the "elif-esle if" statement. But am trying to order one security from the list and wait until I sell it before I order another, the problem is I don't really know how to phrase it on my for loop correctly it's buying every security that fits the 'if' statement and going way over the capitol.