Skip to content

Anukul-Chandra/InternShip_Task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ InternShip Task Assignment Submission

This repository contains the solutions for the InternShip Task Assignment given by Genuine Technology & Reserch LTD , consisting of two independent tasks: a Stock Trading Bot and a Samsung Phone Advisor Agent.


πŸ“‹ Table of Contents

  1. Video Demonstration
  2. Task 1: Stock Trading Strategy Bot
  3. Task 2: Samsung Phone Advisor (AI Agent)
  4. Installation & Setup
  5. Project Structure

πŸŽ₯ Video Demonstration

A complete walkthrough of both projects running successfully can be viewed here:

πŸ‘‰ [https://drive.google.com/drive/folders/1qG4hC5qSOZSCAq3NDsSOQHHc5kM_7Cbu?usp=sharing]


Assignment.mp4

πŸ“ˆ Task 1: Stock Trading Strategy Bot

Description

This module implements an automated trading strategy based on Technical Analysis using Simple Moving Averages (SMA).
It simulates trading decisions using historical stock market data.

Key Logic

  • Indicators Used: 50-day SMA & 200-day SMA
  • Golden Cross (Buy Signal): SMA50 crosses above SMA200
  • Death Cross (Sell Signal): SMA50 crosses below SMA200
  • Initial Capital: $5000
  • Output: Total profit or loss


Output Preview

MSFT

APPL


πŸ“± Task 2: Samsung Phone Advisor (AI Agent)

Description

A web-based intelligent AI agent that provides real-time specifications and comparisons for Samsung smartphones.
It uses a hybrid approach combining SQLite database caching with real-time web scraping.

Key Features

  • Smart search for phone specs
  • Comparison between two Samsung models
  • Local DB first, web scrape if missing
  • Responsive UI using Bootstrap & JavaScript

Output Preview

Comparison Result ![Comparison Result](photo_2026-02-05 02 24 33 )

Single Result (photo_2026-02-05 02 24 58 )


βš™οΈ Installation & Setup

Clone Repository

git clone https://github.com/Anukul-Chandra/Samsung-Phone-Adviser.git
cd Samsung-Phone-Adviser

Install Dependencies

pip install -r requirements.txt

Run Task 1 :

Backend(1st Terminal):

cd Task_1
uvicron main:app --reload

Frontend(2nd terminal) :

cd Task_1
python3 -m http.server 5500

Run Task 2 :

Backend(1st Terminal):

cd Task_2
uvicron main:app --reload

Frontend(2nd terminal) :

cd Task_2
python3 -m http.server 5500

App will run at: http://127.0.0.1:8000


πŸ“‚ Project Structure

β”œβ”€β”€ Task_1/
β”‚   β”œβ”€β”€ AAPL_stock_data.csv
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── trading_strategy.ipynb
β”œβ”€β”€ Task_2/
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ db_utils.py
β”‚   β”œβ”€β”€ scraper_utils.py
β”‚   β”œβ”€β”€ index.html
β”‚   └── phones.db
|   └── requirements.txt

β”œβ”€β”€ requirements.txt
└── README.md

About

This repository contains the solutions for the InternShip Task Assignment given by Genuine Technology & Reserch LTD , consisting of two independent tasks: a Stock Trading Bot and a Samsung Phone Advisor Agent.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors