Skip to content

rafaelolal/citadel_final

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metric Comparator

A sophisticated financial analysis tool that compares various technical indicators to help make informed trading decisions.

Project Overview

Metric Comparator is a web application built with Django and JavaScript that analyzes stock market data using multiple technical indicators. The application provides trading signals and visualizes comparative performance data to help users make informed investment decisions.

Features

  • Multiple Technical Indicators:

    • Simple Moving Average (SMA)
    • Exponential Moving Average (EMA)
    • Weighted Moving Average (WMA)
    • Relative Strength Index (RSI)
    • Bollinger Bands
    • Stochastic Oscillator
  • Interactive Web Interface:

    • Real-time stock data fetching
    • Date range selection
    • Interactive charts and visualizations
    • Trading view widget integration
    • AI-powered insights using Google's Gemini model
  • Data Analysis:

    • Comparative analysis of different technical indicators
    • Maximum profit calculations
    • Buy/Sell/Hold signals
    • Historical price data visualization

Usage

  1. Access the application at http://localhost:8000
  2. Enter a stock ticker symbol (e.g., "GME")
  3. Select a date range for analysis
  4. View the comparative analysis of different technical indicators
  5. Check the AI-generated insights for deeper understanding

Technical Stack

Backend

  • Django 5.0.6
  • Python 3.12
  • REST Framework
  • Yahoo Finance API

Frontend

  • HTML/CSS/JavaScript
  • Bootstrap 5
  • TradingView widgets
  • Matplotlib for visualization

AI Integration

  • Google Generative AI (Gemini 1.5)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/metric-comparator.git
cd metric-comparator
  1. Create and activate virtual environment:
python -m venv env
source env/bin/activate  # On Windows use `env\Scripts\activate`
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables: Create a .env file in the root directory with:
SECRET_KEY=your_django_secret_key
GOOGLE_API_KEY=your_google_api_key
  1. Run migrations:
python manage.py migrate
  1. Start the development server:
python manage.py runserver

API Endpoints

  • /core/max_profit/: Returns maximum profit calculations based on technical indicators
  • /core/llm/: Provides AI-generated insights about the analysis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors