Skip to content

Commit

Permalink
Implemented Buy/Sell Recommendation System with K-Means Clustering an…
Browse files Browse the repository at this point in the history
…d Silhouette Score Evaluation

- Added K-Means clustering to classify stock price data into Buy, Sell, and Hold signals based on technical indicators such as Returns, Moving Averages (MA_50 and 
  MA_200), and Volatility.
- Integrated a backtesting system to simulate trades based on the generated buy/sell signals and calculated final portfolio value.
- Evaluated the clustering quality using the Silhouette Score and optimized the number of clusters using the Elbow Method.
- Enhanced the feature set by calculating additional indicators like MACD and incorporated them into the clustering model.
- Plotted the buy/sell signals on historical stock data to visually validate the system's performance.
  • Loading branch information
kundana29 authored Oct 8, 2024
1 parent 12adb70 commit 6d4cd91
Showing 1 changed file with 198 additions and 0 deletions.
Loading

0 comments on commit 6d4cd91

Please sign in to comment.