Hey guys,
So I have started to use Quantopian recently (and love it so much!!). Even though I am pretty good with Python (at least that is what i think) I still am having trouble on writing a full algorithm (I am trying to write one using Fundamentals data). I have successfully used pipeline to get the stocks that I want, but am having trouble with implementing the buys and the sells. Specifically, how to tell the program to buy this stock with some logic behind it and how to sell (the same or some other) stock.
I have gone through tons of resources. Checked out other users' algorithms, went through both Quantopian and non Quantopian (https://www.youtube.com/watch?v=RxjIOXstxCk) resources, but am still having trouble. Any suggestions for other resources?
P.S. the link above is this guy 'sentdex'. His tutorials are the best!! It would still be relevant, but Quantopian updated the systems recently.
P.P.S Sorry for the long post and thanks for all the help.