CryptoData Bot is a Telegram bot designed to provide users with historical cryptocurrency data from the Binance exchange. Users can select a cryptocurrency (ADA, BTC, or ETH) and a time frame (1 hour, 4 hours, or 1 day) to retrieve historical price data and visualize it on a chart.
- Currency Selection: Users can choose between ADA, BTC, and ETH to retrieve historical data.
- Time Frame Selection: Users can select a time frame (1 hour, 4 hours, or 1 day) for the historical data.
- Chart Visualization: The bot generates a chart displaying the historical price data for the selected cryptocurrency and time frame.
- Daily Usage Limit: The bot limits users to one request per day to prevent abuse.
- Start a conversation with the bot on Telegram.
- Use the command
/start
to initiate the bot. - Select a cryptocurrency (ADA, BTC, or ETH) from the provided options.
- After selecting a currency, choose a time frame (1 hour, 4 hours, or 1 day).
- The bot will generate a chart displaying the historical price data for the selected cryptocurrency and time frame.
To run the bot:
- Install the required dependencies by running
pip install -r requirements.txt
. - Replace
"YOUR_TELEGRAM_BOT_TOKEN"
in the code with your actual Telegram bot token. - Run the script using
python bot.py
.
Note: Ensure that you have Python installed on your system before running the bot.