Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Searching for a funtion

Hi Guys,

I am really new here and pretty unfamiliar with programming in general.
However, I am searching for a funtion that sells all my positions every morning, to clear my whole portfolio.

Would be really nice if someone could help.

Kind regards
Nils

1 response

Nils,

Have a look at the attached code. I did it kinda quickly, but it might work. Check it out.

Grant