Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How can I sell a stock after 2 years of the date of buy?

Hi. In the Position object I can't see a date of purchase attribute. I would like to sell a stock after 2 years, how can I do that?
Thank you.