Skip to content

Wizard-hash2/CryptoChatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Crypto Information Chatbot

An intelligent chatbot that provides real-time cryptocurrency information using natural language processing. Built with Streamlit, NLTK, and the CoinGecko API.

Created with ❤️ by Ngenoh

✨ Features

1. Real-time Cryptocurrency Data

  • Live price tracking
  • Market capitalization
  • 24-hour price changes
  • Historical price data
  • Automatic data refresh every 60 seconds

Images

image

2. Natural Language Processing

  • Intelligent query understanding using NLTK
  • Conversational interface with greeting recognition
  • Context-aware responses
  • Multi-topic query handling

3. Sustainability Metrics

  • Energy usage ratings
  • Environmental impact scores
  • Sustainability analysis
  • Green technology adoption metrics

4. News Integration

  • Latest cryptocurrency news
  • Project updates
  • Market developments
  • Summarized news content

5. Supported Cryptocurrencies

  • Bitcoin (BTC)
  • Ethereum (ETH)
  • Cardano (ADA)

🚀 Quick Start

  1. Clone the repository:
git clone https://github.com/Wizard-hash2/CryptoChatbot.git
cd CryptoChatbot
  1. Create and activate a virtual environment (recommended):
# Windows
python -m venv .venv
.venv\Scripts\activate

# Linux/Mac
python3 -m venv .venv
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
streamlit run app.py

💬 Example Queries

The chatbot understands various types of questions, such as:

Basic Queries

  • "Hi" or "Hello" - Get a friendly greeting and capabilities list
  • "What can you do?" - See all available features
  • "Help" - Get assistance with using the bot

Cryptocurrency Queries

  • "What's Bitcoin's current price?"
  • "Show me Ethereum's market cap"
  • "How has Cardano's price changed in the last 24 hours?"
  • "Compare the sustainability scores of all cryptocurrencies"

Combined Queries

  • "Show me Bitcoin's price and latest news"
  • "Tell me about Ethereum's market cap and sustainability"
  • "What's the energy usage and price of Cardano?"

🛠️ Technologies Used

  • Python 3.8+
  • Streamlit: For the interactive web interface
  • NLTK: Natural Language Processing
    • Word tokenization
    • Stopword removal
    • Text preprocessing
  • CoinGecko API: Real-time cryptocurrency data
  • Requests: HTTP library for API calls

📊 Data Sources

  • Real-time market data: CoinGecko API
  • Sustainability scores: Curated database
  • Energy usage metrics: Industry research
  • News content: CoinGecko API

🔄 Auto-Refresh Features

  • Market data refreshes every 60 seconds
  • News updates with each query
  • Session persistence for chat history
  • Cached API responses for better performance

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

MIT License - feel free to use this project for your own learning and development!


Created and maintained by Ngenoh 🌟

About

This bot predicts and also actual price of crypto currencies in real time by fetching the data and news from coingecko api interngation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages