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.
- Video Demonstration
- Task 1: Stock Trading Strategy Bot
- Task 2: Samsung Phone Advisor (AI Agent)
- Installation & Setup
- Project Structure
A complete walkthrough of both projects running successfully can be viewed here:
π [https://drive.google.com/drive/folders/1qG4hC5qSOZSCAq3NDsSOQHHc5kM_7Cbu?usp=sharing]
Assignment.mp4
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.
- 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
Live Demo : https://stock-trading-bot-iacy.onrender.com
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.
- Smart search for phone specs
- Comparison between two Samsung models
- Local DB first, web scrape if missing
- Responsive UI using Bootstrap & JavaScript
Comparison Result

git clone https://github.com/Anukul-Chandra/Samsung-Phone-Adviser.git
cd Samsung-Phone-Adviserpip install -r requirements.txtcd Task_1
uvicron main:app --reloadcd Task_1
python3 -m http.server 5500cd Task_2
uvicron main:app --reloadcd Task_2
python3 -m http.server 5500App will run at: http://127.0.0.1:8000
βββ 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


