{"id":19427885,"url":"https://github.com/garcane/SUI-Crypto-analysis","last_synced_at":"2025-09-13T23:31:57.530Z","repository":{"id":215352405,"uuid":"735145356","full_name":"gappeah/Online-Banking-System","owner":"gappeah","description":"A comprehensive bank management system which caters to customers and bank employees, providing functionalities for account management, transaction logging and financial reporting.","archived":false,"fork":false,"pushed_at":"2024-06-13T22:24:35.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-14T00:45:16.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gappeah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-23T20:33:37.000Z","updated_at":"2024-05-15T17:09:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c379803-e9ec-430f-b8fb-d0c0b0a9a762","html_url":"https://github.com/gappeah/Online-Banking-System","commit_stats":null,"previous_names":["gappeah/pixelarranger","gappeah/online-banking-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gappeah%2FOnline-Banking-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gappeah%2FOnline-Banking-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gappeah%2FOnline-Banking-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gappeah%2FOnline-Banking-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gappeah","download_url":"https://codeload.github.com/gappeah/Online-Banking-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223961235,"owners_count":17232251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T14:13:09.781Z","updated_at":"2025-09-13T23:31:57.517Z","avatar_url":"https://github.com/gappeah.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SUI Cryptocurrency Sentiment Analysis and Price Prediction\n\n## Project Overview\nThis project provides an in-depth analysis of cryptocurrency news sentiment related to the SUI token and predicts future price movements using machine learning models. The project integrates web scraping, natural language processing (NLP), and machine learning techniques to analyze how market sentiment impacts price trends.\n\n## What is SUI?\n\nSUI is the native coin of the Sui network, a layer-1 blockchain platform designed for global adoption that utilizes a novel object-centric data model and the Move programming language. The SUI coin has a capped total supply of 10 billion.\n\nKey aspects of the SUI coin and the Sui network include:\n*   **Functionality** SUI serves as the network's currency and is used for paying transaction fees (gas fees) and storage. It can be staked to participate in the network's proof-of-stake mechanism. SUI is also a versatile and liquid asset for various applications within the Sui ecosystem.\n*   **Proof-of-Stake (PoS) Mechanism:** The Sui network uses a delegated proof-of-stake (PoS) consensus mechanism where validators lock up SUI as collateral and earn rewards for processing operations. Users can delegate their SUI to validators and earn rewards.\n*   **Tokenomics:** Sui's tokenomics are designed to support the long-term financial needs of Web3. The tokenomics structure includes a vesting schedule to enhance network stability. There were no SUI airdrops to support the launch of the Mainnet network.\n*   **Storage Fund:** Sui utilizes a storage fund, which is a cache of SUI that collects fees from on-chain transactions that add data to the chain. The storage fund is used to compensate validators for storage costs, and it also contributes to the deflationary aspect of the network.\n*   **Deflationary Aspects** The capped total supply of SUI and the storage fund contribute to the deflationary nature of the network. Increased activity on the network leads to a larger storage fund, which reduces the amount of SUI in circulation.\n*   **Validator Rewards** Sui uses a novel approach to reward validators, where all honest validators receive staking rewards based only on the amount of stake they hold, removing randomness from the equation. Each validator on Sui maintains its own staking pool that tracks the amount of stake and compounds rewards over time.\n*   **Technology**: Sui’s architecture features low-latency transactions with stable fees, high throughput through horizontal scaling and parallelized execution. The object-oriented design of Sui allows developers to create objects tailored to their needs with inherent network-wide compatibility. Sui uses the Move programming language for its smart contracts, which is designed to be safe and expressive.\n*  **Transactions**: Transactions on Sui are executed in parallel, and many transactions can be finalized and settled in less than half a second.\n*   **zkLogin**: Sui uses zkLogin to enable users to create and manage accounts using web logins.\n\nThe Sui network is maintained by a permissionless set of authorities, similar to validators on other blockchains. It uses a Byzantine consistent broadcast protocol between authorities to ensure safety of operations on assets, while relying on Byzantine agreement for shared objects, governance and check-pointing.\n\nSui's native token, SUI, is used for staking, paying gas fees, and as a versatile asset within its ecosystem. The network uses a storage fund, a mechanism that adds a deflationary aspect to SUI. Validators play a key role in securing the network by processing transactions and are rewarded in proportion to their stake. The Sui network also supports light clients and bridges to other blockchains.\n\n\n## Features\n- **Sentiment Analysis**: Utilizes TextBlob and VADER sentiment analysis tools to classify news headlines as Bullish, Slightly Bullish, Neutral, Slightly Bearish, or Bearish.\n- **Web Scraping**: Extracts news articles from multiple financial sources, including Crypto News and Yahoo Finance, to gather sentiment-related insights.\n- **Data Cleaning \u0026 Preprocessing**: Uses NLP techniques such as tokenization, lemmatization, stopword removal, and regex cleaning to refine the text data.\n- **Visualization \u0026 Insights**:\n  - Time-series sentiment trend analysis\n  - Histogram distributions of sentiment scores\n  - Scatter plots comparing TextBlob and VADER sentiment scores\n- **Machine Learning Model (XGBoost)**:\n  - Processes historical price data combined with sentiment scores\n  - Predicts future SUI cryptocurrency prices\n  - Evaluates model performance using R-squared and Mean Absolute Error (MAE)\n\n## Technologies Used\n- **Programming Language**: Python\n- **Data Handling \u0026 Analysis**:\n  - `pandas`, `numpy`\n- **Web Scraping**:\n  - `BeautifulSoup`, `requests`\n- **Natural Language Processing**:\n  - `TextBlob`, `VADER SentimentIntensityAnalyzer`, `NLTK`\n- **Visualization**:\n  - `matplotlib`, `seaborn`\n- **Machine Learning**:\n  - `XGBoost`, `scikit-learn`\n\n## Installation\n### Prerequisites\nEnsure you have Python 3.8 or later installed.\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/your-repo-name.git\n   cd your-repo-name\n   ```\n2. Create a virtual environment and activate it:\n   ```sh\n   python -m venv venv\n   source venv/bin/activate  # On macOS/Linux\n   venv\\Scripts\\activate     # On Windows\n   ```\n3. Install dependencies:\n   ```sh\n   pip install -r requirements.txt\n   ```\n4. Download necessary NLTK resources:\n   ```python\n   import nltk\n   nltk.download('punkt')\n   nltk.download('stopwords')\n   nltk.download('wordnet')\n   ```\n\n## Usage\n### Running Sentiment Analysis\nRun the following command to scrape news headlines and perform sentiment analysis:\n```sh\npython main.py\n```\nThis script will:\n- Collect crypto news headlines from multiple sources\n- Apply NLP preprocessing\n- Perform sentiment analysis using TextBlob and VADER\n- Save the processed data in `sui_crypto_headlines_sentiment_analysis.csv`\n- Generate visualizations of sentiment trends over time\n\n### Running the XGBoost Model\nExecute the Jupyter Notebook to run the machine learning model:\n```sh\njupyter notebook main_xgboost.ipynb\n```\nThis notebook will:\n- Load the historical SUI cryptocurrency price dataset (`sui_2023-05-09_2025-02-08.csv`)\n- Preprocess and engineer features including sentiment scores\n- Train an XGBoost regressor to predict future prices\n- Evaluate model performance using statistical metrics\n\n## Results\n- **Sentiment Analysis Findings**:\n  - Identifies shifts in market sentiment based on financial news.\n  - Visualizations help interpret sentiment distribution over time.\n- **XGBoost Model Performance**:\n  - Achieves high accuracy in short-term price predictions.\n  - Shows correlation between sentiment shifts and price movements.\n- **Key Insights**:\n  - Combining sentiment scores with historical price data improves prediction reliability.\n  - Volatility in sentiment scores often correlates with sudden price changes.\n\n## Future Improvements\n- Expand data sources to include social media sentiment (e.g., Twitter, Reddit).\n- Implement real-time sentiment tracking and live price forecasting.\n- Explore deep learning techniques (e.g., LSTMs, Transformers) for improved accuracy.\n- Develop a web dashboard for interactive visualization of sentiment trends and price predictions.\n\n## License\nThis project is licensed under the MIT License.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarcane%2FSUI-Crypto-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarcane%2FSUI-Crypto-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarcane%2FSUI-Crypto-analysis/lists"}