Intelligent Market Analytics Platform for Real-Time Stock Screening
Built by Wichaya Kanlaya | LinkedIn | Portfolio
๐ Live Demo | ๐น Video Demo | ๐ Documentation
StockSense Pro is a sophisticated stock screening and technical analysis platform that empowers investors with data-driven insights. The system processes real-time market data, applies advanced technical indicators, and delivers actionable intelligence through an intuitive web interface.
Built a full-stack financial analytics application processing 50+ stocks with 10+ technical indicators in under 30 seconds, deployed on cloud infrastructure.
- Real-time data integration via Yahoo Finance API
- Custom composite scoring algorithm (0-100 scale)
- Multi-factor analysis: Momentum, RSI, Volume, Moving Averages
- Interactive candlestick charts with Plotly
- Multi-indicator overlays (MA20, MA50, MA200, RSI, MACD)
- Volume profile analysis with color-coded bars
- Signal strength classification (Strong/Moderate/Weak)
- Sector-based filtering (Technology, Healthcare, Finance, etc.)
- Performance metrics (1D, 1W, 1M returns)
- Personal watchlist with persistent storage
- Bulk analysis capabilities
- CSV export functionality
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Streamlit 1.25+ | Interactive web UI |
| Data Processing | Pandas, NumPy | Data manipulation & computation |
| Visualization | Plotly 5.20+ | Interactive charts |
| Data Source | yfinance API | Real-time market data |
| Deployment | Docker, Cloud | Containerized deployment |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Presentation Layer โ
โ (Streamlit Web UI) โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Application Layer โ
โ โข Stock Scanner Engine โ
โ โข Technical Analysis Processor โ
โ โข Scoring Algorithm โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Data Layer โ
โ โข Yahoo Finance API โ
โ โข Historical Price Data โ
โ โข Company Fundamentals โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
User Input โ API Request โ Data Cleaning โ
Indicator Calculation โ Scoring โ Visualization โ
Interactive Analysis
The proprietary scoring algorithm combines multiple technical factors:
Score = Weighted Sum of:
โข 32% - Momentum (21-day price change)
โข 20% - Volume Spike (current vs average)
โข 18% - RSI Position (relative strength)
โข 12% - MA Alignment (trend direction)
โข 10% - Higher Lows Pattern (accumulation)
โข 8% - Revenue Growth (fundamental)
Result: 0-100 scale
๐ข Strong: Score โฅ 65
๐ก Moderate: 45 โค Score < 65
๐ด Weak: Score < 45- Python 3.11+
- pip package manager
# Clone repository
git clone
cd stocksense-pro
# Install dependencies
pip install -r requirements.txt
# Run application
python -m streamlit run streamlit_mcrf_dashboard.py# Build image
docker build -t stocksense-pro .
# Run container
docker run -p 8501:8501 stocksense-proAccess at: http://localhost:8501
| Metric | Value |
|---|---|
| Data Processing Speed | 50 stocks in ~30 seconds |
| Technical Indicators | 10+ calculated per stock |
| Supported Universes | 8 pre-configured lists |
| Chart Types | 3 (Candlestick, Volume, RSI) |
| API Response Time | < 300ms (cached) |
- Implemented caching strategy reducing API calls by 80%
- Parallel processing ready architecture
- Error handling for edge cases (delisted stocks, missing data)
# RSI Calculation (14-period)
delta = df['Close'].diff()
up = delta.clip(lower=0)
down = -1 * delta.clip(upper=0)
roll_up = up.rolling(14).mean()
roll_down = down.rolling(14).mean()
rs = roll_up / (roll_down + 1e-9)
df['RSI14'] = 100 - (100 / (1 + rs))- Multi-subplot charts with synchronized zooming
- Color-coded volume bars (red/green)
- Dynamic legend filtering
- Responsive design for mobile/desktop
- 5-minute cache TTL for live data
- Automatic refresh mechanism
- Last-updated timestamp display
Main scanner interface with universe selection and filtering options
Color-coded signal strength with performance metrics
Interactive candlestick chart with technical indicators
System design and data flow diagram
- โ Python Programming (Advanced)
- โ Data Engineering & ETL Pipelines
- โ API Integration (REST APIs)
- โ Data Visualization (Plotly, Streamlit)
- โ Financial Data Analysis
- โ Docker & Containerization
- โ Cloud Deployment
- โ Version Control (Git)
- โ Problem Solving
- โ System Design
- โ User Experience (UX) Design
- โ Technical Documentation
- โ Performance Optimization
stocksense-pro/
โโโ streamlit_mcrf_dashboard.py # Main application
โโโ requirements.txt # Python dependencies
โโโ Dockerfile # Container configuration
โโโ .streamlit/
โ โโโ config.toml # Streamlit settings
โโโ screenshots/ # Portfolio images
โโโ README.md # This file
โโโ docs/
โโโ architecture.md # Technical design docs
โโโ deployment.md # Deployment guide
- Backtesting Module - Historical strategy performance
- Risk Management Tools - Stop-loss & position sizing
- News Sentiment Analysis - AI-powered news integration
- Multi-Timeframe Analysis - Hourly/Daily/Weekly signals
- Portfolio Tracking - Real-time P&L monitoring
- Mobile App - React Native companion app
Contributions welcome! Please read CONTRIBUTING.md for guidelines.
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
This project is licensed under the MIT License - see LICENSE file for details.
Important: StockSense Pro is an educational tool designed for learning purposes only. This application does NOT provide financial advice, investment recommendations, or trading signals.
- โ Use for learning technical analysis
- โ Use for market research
- โ Do NOT use as sole basis for trading
- โ Always consult licensed financial advisors
Risk Warning: Trading stocks involves substantial risk. Past performance does not guarantee future results.
Wichaya Kanlaya
Data Engineer | Financial Technology Enthusiast
I'm passionate about building data-driven solutions that make complex financial information accessible. StockSense Pro showcases my skills in full-stack development, data engineering, and financial analytics.
Connect with me:
- Yahoo Finance API for market data
- Streamlit team for the amazing framework
- Plotly for interactive visualization tools
- Open-source community for inspiration
โญ Star this repo if you find it useful!
Made with โค๏ธ by Wichaya Kanlaya