CoolFace
Apppublic

ChintanZaveri/bof_stack

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

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

[image]

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

bash
# 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 configuration

Configuration

Create a .env file with the following variables:

Usage

bash
# Start the dashboard application
python server.py

# Axccess the dashboard at http://localhost:8050

Project 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:

  1. 1.News Analyzer Agent: Fetches and preprocesses news articles
  2. 2.Summary Agent: Generates concise summaries of news articles
  3. 3.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