This Streamlit-based web application allows users to analyze the correlation trends of the top 10 cryptocurrencies in relation to Bitcoin (BTC) and visualize these trends in a table.
-
Market Data Retrieval:
- Fetches the top 10 cryptocurrencies by market cap.
- Defines a date range for data analysis from January 1, 2023, to December 31, 2025.
-
Historical Price Data:
- Fetches historical price data for the top 10 cryptocurrencies within the specified date range.
- Stores the closing prices of these cryptocurrencies in a DataFrame.
-
Correlation Analysis:
-
BTC Trend Analysis:
- Fetches historical price data for BTC.
- Calculates the 25-period Simple Moving Average (SMA) for BTC.
- Determines the binary trend for BTC based on the SMA, categorizing the trend as:
-
Adjusted Trend Calculation:
-
Additional Information:
-
View Correlation Heatmap:
- Analyze the correlation heatmap to understand the relationships between the top 10 cryptocurrencies.
-
Analyze BTC Trend:
- Review the BTC trend chart to observe BTC's price movements and it's trend.
-
Review Adjusted Trends:
- Check the adjusted trend values for each cryptocurrency to see it trends.
- Look at the average adjusted trend value for a summary statistic.
This application provides a comprehensive tool for cryptocurrency traders and analysts to understand market correlations and trends, helping them make informed investment decisions.