Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Anyone interested in collaborating with me? Need help understanding a few things.

Hi,

I am relatively new to Python and while I have a good understanding of the logic, I am having a hard time programming to get the true intent in the logic. This is just because I am unfamiliar with how to do it etc.

If someone is interested in collaborating with me to help me I would be appreciative. Let me know, I have a discord for chat etc.

A few questions I have:

Why is it letting me use all of my context.whatever from my initialize function and call them in my other functions? I thought they would be considered local variables???

Also, all of my context.ok."security name" I am trying to make my code more efficient by incorporating lists etc. I think someone who knows will understand what I was trying to do in the code and could maybe help me understand what I am doing wrong.