Hi,
I'm looking for help in finishing my first algorithm. I'm new to Python so please bear with me if my questions are on the elementary side. Below is a summary of what I'm trying accomplish followed by a list of questions.
Small Cap Stock Picking Strategy
1. Market Cap between 15M and 150M
2. Dividend yield >= 2%
3. Country = USA, no ADR
4. No OTC stocks
5. EPS growth this year >= 10% (trying to match Finviz filter)
6. EPS growth Q/Q >= 20% (trying to match Finviz filter)
7. Price between $5 and $20
Rebalance:
1. Rebalance monthly, equal weights
2. Sort by price closest to 52-week high
3. Take the top 5 stocks.
Questions:
- How is the fundamental query tied to the fundamental filters? Do I need to have a query for each filter?
- I'm trying to match the filter from the FINVIZ stock screener for 'EPS Growth this Year'. Is this the same as 'diluted.eps.growth'?
- I'm also trying to match the FINVIZ filter for 'EPS Growth Q/Q', which compares the current quarter EPS to that of the quarter one year ago. How can I add this?
- How do I add a filter to only buy stocks in the $5 to $20 price range?
- How do I sort and rank filtered stocks based on how close they are to their 52-week highs (top five stocks nearest their 52wk highs).
- Does this algorithm currently handle stocks that were delisted or had their symbols changed, etc?
Sorry for all of the questions. Any help that can be provided on any or all of the above would be appreciated. Other comments regarding possible errors or recommendations for improvement are also welcome.
Thanks in advance.