Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #19 by Implemented Buy/Sell Recommendation System with K-Means Clustering and Silhouette Score Evaluation #97

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

kundana29
Copy link
Contributor

@kundana29 kundana29 commented Oct 8, 2024

Fixes #19

  • 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.

Screenshot 2024-10-08 100729
Screenshot 2024-10-08 190929
Screenshot 2024-10-08 190942

…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.
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure the PR matches the requirements mentioned in the Contribution guide. The maintainer might get in touch to enusre quality. Thanks for your time

@Mayureshd-18
Copy link
Collaborator

Mayureshd-18 commented Oct 9, 2024

@kundana29 What's the issue number that you have been assigned? If not please create one first else please link the issue using keywords. (fixes/closes..) You can find the detailed info about the same here:
https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

Thanks & regards.

@kundana29
Copy link
Contributor Author

@Mayureshd-18 I am working on issue #19 . Clustering Algorithms for Buy/Sell Recommendation System .

@Mayureshd-18
Copy link
Collaborator

Mayureshd-18 commented Oct 11, 2024

@kundana29 Please use the keywords as mentioned in the docs as they are. Then only your issue will be linked to the PR. If needed please refer to other PRs which have issues linked to them.

Thanks and Regards

@kundana29 kundana29 changed the title Implemented Buy/Sell Recommendation System with K-Means Clustering and Silhouette Score Evaluation Fixes #19 by Implemented Buy/Sell Recommendation System with K-Means Clustering and Silhouette Score Evaluation Oct 13, 2024
@jvedsaqib jvedsaqib added the level3 45 Points 🥉(GSSoC) label Oct 13, 2024
Copy link
Collaborator

@Mayureshd-18 Mayureshd-18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@Mayureshd-18 Mayureshd-18 added gssoc-ext GSSoC'24 Extended Version hacktoberfest-accepted Hacktoberfest 2024 hacktoberfest Hacktober Collaboration labels Oct 14, 2024
@Mayureshd-18 Mayureshd-18 merged commit 80ca16c into rohitinu6:main Oct 14, 2024
1 of 5 checks passed
shristirwt pushed a commit to shristirwt/Stock-Price-Prediction that referenced this pull request Oct 22, 2024
Fixes rohitinu6#19 by Implemented Buy/Sell Recommendation System with K-Means Clustering and Silhouette Score Evaluation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext GSSoC'24 Extended Version hacktoberfest Hacktober Collaboration hacktoberfest-accepted Hacktoberfest 2024 level3 45 Points 🥉(GSSoC)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clustering Algorithms for Buy/Sell Recommendation System
3 participants