This is an algorithm I am using for live trading. It is inspired by Patrick O'Shaughnessy's "Millennial Money" picking strategy. For a base I have used a code already inspired by the strategy [1]
This algorithms features are as follows:
1. Stakeholder yield < 5%. Stakeholder yield = Cash from financing 12m / Market Cap Q1
2. ROIC > 25% | ROIC = operating_income / (invested_capital - cash)
3. CFO > Net Income (Earnings Quality)
4. EV/FCF < 15 (Value)
5. 6M Relative Strength top three-quarters of the market.
6M Relative Strength = 6M Stock Total Return / 6M Total Return S&P500 (Momentum)
6. Positions are kept at least for 2 quarters
7. implemented 15% stop loss; if the stock hits stop loss it cannot be repurchased for a half year
8. market cap > 30m
As quantopian does work only on USA equities, and I can only trade UK stocks (on LSE), I have developed python scripts which automatically download and evaluate fundamentals from Morningstar and ADVFN. I may share these scripts later on