https://github.com/haidermalikk/reddish-trends
Trade Sense AI is a hybrid stock prediction system powered by Altharion a AI Market Analyst. It combines social sentiment analysis with traditional financial data and advanced analytics to provide a more accurate, holistic prediction model that is useful and unique.
https://github.com/haidermalikk/reddish-trends
bussiness-intelligence clerk crypto finance financial-analysis firebase gsap nextjs prediction-model sentiment-analysis stock-price-prediction stocks tailwindcss threejs trading vercel
Last synced: over 1 year ago
JSON representation
Trade Sense AI is a hybrid stock prediction system powered by Altharion a AI Market Analyst. It combines social sentiment analysis with traditional financial data and advanced analytics to provide a more accurate, holistic prediction model that is useful and unique.
- Host: GitHub
- URL: https://github.com/haidermalikk/reddish-trends
- Owner: HaiderMalikk
- License: other
- Created: 2025-01-13T22:42:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T02:39:33.000Z (over 1 year ago)
- Last Synced: 2025-03-13T02:44:08.674Z (over 1 year ago)
- Topics: bussiness-intelligence, clerk, crypto, finance, financial-analysis, firebase, gsap, nextjs, prediction-model, sentiment-analysis, stock-price-prediction, stocks, tailwindcss, threejs, trading, vercel
- Language: TypeScript
- Homepage: https://trade-sense-ai-sigma.vercel.app
- Size: 6.22 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# COMING SOON, This Website Is Being Rebuilt From Scrach!
This Website Is Powered By Altharion A AI Market Analyst, Check That Out Here
## Project Idea: Reddish Trends
Reddish Trends is a hybrid stock prediction system that combines social sentiment analysis with traditional financial data and advanced analytics to provide a more accurate, holistic prediction model.
## π₯ How It Works
Instead of just using social media sentiment or just stock trends and market info, Reddish Trends combines both to make a unique trading helper:
- It analyzes social media posts to gauge public sentiment about a company or stock while also using traditional financial data such as stock prices, trading volumes, and economic indicators to make predictions.
- It provides stock predictions and recommends actions based on the analysis of both social media and financial data.
### Key Features:
- β
Social sentiment trends (Twitter, Reddit, Google Trends)
- β
Stock market technical indicators (moving averages, RSI, volume trends)
- β
Fundamental analysis (company earnings, financial ratios)
- β
Macroeconomic factors (inflation rates, interest rates)
- β
Historical correlations (patterns between sentiment & price changes)
### 1οΈβ£ Data Collection: Multi-Source Input
Reddish Trends gathers both financial data and social data in real time.
#### π Stock Market Data (Financial Indicators)
Use Yahoo Finance API / Alpha Vantage / IEX Cloud to get:
- Historical price data (OHLC - Open, High, Low, Close prices)
- Moving averages (SMA, EMA) (trend indicators)
- Relative Strength Index (RSI) (overbought/oversold conditions)
- Trading volume (detect unusual activity)
- Earnings reports (profitability trends)
#### π Social Sentiment Data (Real-Time Trends)
Use Twitter/X API, Reddit API, Google Trends API to analyze:
- Number of mentions per hour/day (trending stocks)
- Sentiment score of posts/tweets (bullish vs. bearish mood)
- Keyword analysis (e.g., "$TSLA crash" vs. "$TSLA ππ")
### 2οΈβ£ Feature Engineering: Combine Both Data Sources
Combine financial indicators and social sentiment into meaningful metrics for analysis.
- π Stock Trend Score (based on SMA, RSI, and volume patterns)
- π£ Social Sentiment Score (based on Twitter/Reddit discussions)
- π Market Condition Score (interest rates, inflation impact)
Weights: Default Weights (Are Adjustable)
- 50% weight on financial indicators
- 30% weight on social sentiment
- 20% weight on macroeconomic trends
### 3οΈβ£ Machine Learning Model: Predicting Future Prices
- π» Train a ML model that takes in combined scores and predicts the next price movement.
### 4οΈβ£ Displaying Insights: Next.js Dashboard UI
A stunning UI that:
- β
Shows stock charts + real-time data
- β
Explains WHY a stock is predicted to rise/fall
- β
Gives confidence scores & alerts
### 5οΈβ£ Bonus Features (maybe)
- π‘ π Smart Stock Picks β Recommends stocks with strong financial & sentiment signals
- π‘ π
Earnings Calendar Alerts β Detects pre-earnings stock trends
- π‘ π’ Sentiment-Based Alerts β βTesla has 90% positive sentiment! πβ
### Why Reddish Trends?
- β
Not just social media hype β Uses financial analysis too
- β
Not just price trends β Adds market psychology from social trends
- β
Real-world relevance β People already use sentiment for trading
- β
Highly monetizable β You can sell premium insights & predictions
## Tech Stack
- **Frontend:** Next.js, tailwind
- **Backend:** Node.js, Next.js
- **Database:** Firebase
- **APIs:** Yahoo Finance API, Alpha Vantage, IEX Cloud, Twitter/X API, Reddit API, Google Trends API
- **Machine Learning:** Python, scikit-learn, TensorFlow, OpenAI
- **Hosting:** Vercel, Heroku
## Why the Website Was Made
Reddish Trends was created to provide traders with a more comprehensive tool for stock prediction by combining traditional financial data with social sentiment analysis. This approach aims to offer more accurate predictions and actionable insights, helping traders make informed decisions in the stock market.
- Please note that the webiste is still in progress and the fetures may be subject to change in the future.
## File Structure
```plaintext
/Trade-Sense-AI
βββ app/
β βββ components/
β β βββ AnimatedButton.tsx // Animated button component
β β βββ ThreeScene.tsx // Main 3D scene component using Three.js
β β βββ styles/ // component styles
β β βββ three-js-styles.css // CSS styles for Three.js components
β βββ dashboard/ // (post login pages)
β β βββ profile/
β β β βββ page.tsx // user profile page
β β βββ styles/ // dashboard styles
β β β βββ home-page-styles.css // home page styles
β β βββ layout.tsx // Layout for the dashboard
β β βββ page.tsx // home page for user
β βββ hooks/
β β βββ GetUserData.tsx // to fetch the user data like name email profile stuff etc
β βββ login/
β β βββ [[...rest]]/page.tsx // Login page
β βββ policy/ // policy page
β βββ licence/ // licence page
β βββ about/ // about page
β βββ styles/ // root app styles (pre login pages)
β β βββ button-styles.css // Custom button styles
β β βββ globals.css // Global CSS styles
β β βββ login-page-style.css // CSS styles for the login page
β β βββ main-page-styles.css // CSS styles for the main page
β βββ layout.tsx // Root layout for the website
β βββ page.tsx // Main landing page
βββ favicon.ico // the favicon for web browsers
βββ pages/
β βββ api/
β βββ users.js // API endpoint for user management
β βββ clerk.js // Middleware for Clerk login
βββ public/ // contains all the images for the website
βββ utils/
β βββ firebaseAdmin.js // Firebase admin initialization
β βββ firebase.js // Firebase client initialization for sending data to firebase
βββ node_modules/ // node modules for the dependencies (do npm install to get these before running)
βββ .next/ // final build folder (do npm build then npm start to run this)
βββ README.md // Project README file
βββ package.json // Project dependencies and scripts
βββ .env // Environment variables
βββ .gitignore // Git ignore file
βββ .prettierignore // Prettier ignore file
βββ .prettierrc // Prettier configuration file
βββ eslist.config.mjs // eslint config
βββ jsconfig.json // JavaScript configuration file
βββ tsconfig.json // TypeScript configuration file
βββ next.config.mjs // Next.js configuration file
βββ next-env.d.ts // Next.js env
βββ postcss.config.mjs // PostCSS configuration file
βββ tailwind.config.mjs // Tailwind CSS configuration file
βββ package.json // json file with dependencies
βββ package-lock.json // json file with dependencies with versions to stay in sync everywhere
βββ Licence.md // License file
βββ Private_Policy.md // Privacy policy file
```
## Additional Information
- [License](Licence)
- [Policy](Private_Policy.md)
- [Altharion](https://github.com/HaiderMalikk/Altharion)
- [About-Me](https://github.com/HaiderMalikk)