ChintanZaveri/bof_stack
0
TrackStock Dashboard
An intelligent stock portfolio dashboard that combines real-time market data with AI-powered news analysis to provide comprehensive insights for investors.
Overview
StockSense Dashboard connects to stock market APIs and news sources to create a unified dashboard that:
- Tracks your portfolio performance in real-time
- Provides AI-generated summaries of relevant news for each stock
- Helps you make informed investment decisions with integrated intelligence
Features
- Portfolio Tracking: Monitor your investments with real-time price updates, performance metrics, and visualization tools
- News Integration: Automatically fetches relevant news articles for stocks in your portfolio
- AI News Summarization: Utilizes AI agents to summarize news articles, extract sentiment, and highlight key information
- Dashboard Interface: Clean, intuitive web interface for viewing all your data in one place
- Customizable Alerts: Set notifications for price movements, news events, and portfolio changes
Installation
# Clone the repository
git clone https://github.com/zaverichintan/restack_hack_cic
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Edit .env with your API keys and configurationConfiguration
Create a .env file with the following variables:
Usage
# Start the dashboard application
python server.py
# Axccess the dashboard at http://localhost:8050Project Structure
stocksense-dashboard/
├── server.py # Main application entry point
├── requirements.txt # Project dependencies
├── .env # Environment variables (not in version control)
├── agents/ # AI agent modules
Dependencies
- Data Processing: pandas, numpy
- API Interaction: requests, aiohttp
- Dashboard: dash, plotly
- AI Components: openai, nltk, transformers
- Database: sqlalchemy, sqlite3
- Scheduling: apscheduler
API Integration
Stock Market API
The application uses [Stock API Provider] to fetch real-time and historical stock data. The integration supports:
- Real-time price updates
- Historical price data
- Company information
- Financial metrics
News API
News articles are sourced from [News API Provider], providing:
- Latest news for specific stocks
- General market news
- Filter by relevance and recency
AI Agent System
The application employs multiple AI agents to process information:
- News Analyzer Agent: Fetches and preprocesses news articles
- Summary Agent: Generates concise summaries of news articles
- Sentiment Agent: Analyzes news sentiment and extracts key information
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Thanks to BF4PY
- Built with Restack for Agents and Gpt-4.1-mini for natural language processing
