Lakshya1726 / CRYPTOANALYSIS

2 stars 17 forks source link

Enhancement: Improve Crypto Chart with Error Handling and Flexibility #26

Open BigBang001 opened 1 month ago

BigBang001 commented 1 month ago

Description: This issue aims to enhance the existing cryptocurrency price chart feature with the following improvements:

  1. Error Handling: Implement error handling to manage cases where data retrieval fails or returns no data. This will prevent the application from breaking and provide informative error messages.

  2. Flexibility: Make the functions more versatile by:

    • Allowing customization of the cryptocurrency symbol (currently fixed to 'BTC-USD').
    • Letting users specify the start and end dates for data retrieval. If no end date is provided, it defaults to the current date.
  3. Modular Code Structure: Refactor the code to separate data fetching and chart plotting into distinct functions. This will improve readability, facilitate testing, and allow for easier future extensions.

  4. Documentation: Add detailed docstrings and comments for better understanding of the code.

  5. Safety Checks: Implement checks to ensure that data is available before proceeding with chart creation.

Request for Assignment:
Kindly assign this issue to me for contribution under GSSoC-extd and Hacktoberfest 2024. I am looking forward to working on this enhancement to improve the functionality and user experience.