Lakshya1726 / CRYPTOANALYSIS

2 stars 17 forks source link

Updated btc.py #28

Closed vermu490 closed 3 days ago

vermu490 commented 1 month ago

name: Feature Enhancement in Crypto Price Graph

about: Added multiple technical indicators, improved UI/UX with theme toggling, and CSV download functionality for enhanced data analysis.

title: Add Technical Indicators, Theme Toggle, and CSV Download Feature

labels: enhancement, feature

assignees: none


Summary

The new code introduces several features aimed at enhancing the functionality and user experience of the existing cryptocurrency price analysis dashboard. Below is a summary of added features and functionalities for this pull request.


Features Added

  1. Additional Indicators

    • 50-Day Moving Average: Introduced alongside the existing 30-day moving average to provide broader trend analysis.
    • Relative Strength Index (RSI): A momentum oscillator used to identify overbought or oversold conditions.
    • Bollinger Bands: Includes upper and lower bands based on standard deviation, offering insights into price volatility.
    • MACD (Moving Average Convergence Divergence): Adds MACD line and signal line for further momentum analysis.
  2. CSV Download Functionality

    • Allows users to download the cryptocurrency data as a CSV file, useful for external analysis or record-keeping.
  3. Theme Toggle (Light/Dark Mode)

    • Enables theme switching with a "Switch to Dark Mode/Light Mode" button, modifying the entire page and graph layout.
    • In dark mode, the page background is black with white text, and in light mode, the page background is white with black text.
    • The graph's background color also adapts based on the theme: dark mode applies a light background to the graph, while light mode applies a dark background.
  4. Responsive UI and Enhanced Interactivity

    • A streamlined interface with CSS enhancements for buttons, forms, and theme toggling.
    • Improved transitions for theme changes to enhance the user experience.

Expected Behavior


Code Changes Overview


Additional Context

The new features provide expanded analytical capabilities to support deeper technical analysis for traders and users. Future improvements could include adding more indicators (e.g., Fibonacci retracements), predictive model visualizations, and real-time updates for enhanced interactivity.


Screenshot 2024-10-25 234430