Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
status for portfolio positions

hello there.

I'm trying to get my position in portfolio a new attribute "status".

Based on "status" attribute, I can place my orders for each position every day and update "status" as well.

Is this possible in quantopian?

Or do I have to declare a global variable to store the "status" for every position in my portfolio??

many thanks!