I'm new to python so bear with me. Im attempting to combine a trailing stop loss with mulitpule securities. I put a rough example together with quantopians' fundamental data example and David Edward's trailing stop. The problem I believe is that context.stop_price just creates a stop price for the first security only and because the other stocks are lower than the context.stop_price they sell the next trade day. I would like some information on how to create a trailing stop loss for a variable amount of securities. Any ideas?