stock_system/src/screener/screeners.py

20 lines
866 B
Python

# Define categories and associated metrics
SCREENERS = {
"Fundamentals": {
"EPS_Score": "Checks quarterly EPS growth",
"Annual_EPS_Score": "Checks 3-year annual EPS growth",
"Sales_Score": "Checks quarterly sales growth",
"ROE_Score": "Checks return on equity",
"L_Score": "Checks if the stock is a leader in its industry", # ✅ NEW: Added L_Score
"I_Score": "Checks institutional sponsorship and ownership trends" # ✅ NEW: Added I_Score
},
"Volume-Based": {
"Volume_Oscillator_Score": "Checks for unusual volume surges",
"Relative_Volume_Score": "Compares current volume to past volume"
},
"Technical": {
"SMA_Cross_Score": "Checks if short-term SMA crosses above long-term SMA",
"RSI_Score": "Evaluates RSI to identify overbought/oversold conditions"
}
}