Link to deployed app: https://stockscoring.streamlit.app/
A rule and weight-based system for stock scoring that evaluates stocks based on fundamental, technical, risk, and other parameters. The system assigns a score between 0 and 1, where:
β
Score β₯ 0.5 β Good for Buying
β Score < 0.5 β Good for Short Selling
This project is built using Streamlit for the UI and managed with Poetry for dependency management.
- Enter stock symbols in the UI.
- The system fetches stock data and evaluates fundamental ratios.
- A credit score is calculated based on predefined rules and assigned weights.
- The UI displays:
- Stock Score
- Fundamental Ratio (Good/Bad)
- Buy/Sell Recommendation
git clone https://github.com/your-username/credit-scoring.git
cd credit-scoring
# Initialize Poetry (if not already initialized)
poetry init
# Install dependencies from lock file
poetry install
# If updating dependencies
poetry lock
streamlit run main.py
Parameter | Weight |
---|---|
Fundamental Analysis | 40% |
Technical Indicators | 30% |
Risk Factors | 20% |
Other Factors | 10% |
The final score is computed using a weighted sum of these factors.
- Python (Data Processing)
- Streamlit (UI)
- Poetry (Dependency Management)
- Pandas, NumPy (Data Handling)
- Integrate AI-based scoring
- Expand fundamental & technical indicators
- Agentic AI, RAG
Feel free to open an issue or submit a PR to improve this project! π