Hi quants,
I'm new to quantopian so I'm having some trouble figuring out how to work with pipeline, and hope someone can help me get started.
A toy example for a momentum strategy would be, on every Friday 2PM, get all stocks within the DJIA index and their last Friday's close price, calculate weekly returns (last price as of this Friday 2pm divided by close price of last Friday), rank them, enter 1 market order for top 5 stocks.
If anyone can help me get started I would appreciate it greatly.
Thanks!