markdown Copy code
Welcome to the Telegram Trading Bot! This bot provides subscription-based notifications for trading signals based on specific strategies. It fetches historical and real-time stock data and generates buy/sell signals for a predefined list of stocks.
- Subscribe to receive notifications for trading signals.
- Unsubscribe from trading signal notifications.
- Set your notification preferences (on/off).
- View historical and real-time data for subscribed stocks.
- Main menu for easy navigation.
- Clone this repository to your local machine.
- Create a
.envfile in the project directory and add your API tokens and keys:
BOT_TOKEN=your_telegram_bot_token ALPHA_VANTAGE_API_KEY=your_alpha_vantage_api_key
arduino Copy code
- Install the required Python packages by running:
pip install -r requirements.txt
arduino Copy code
- Run the bot using the command:
python bot.py
markdown Copy code
/start: Start the bot and get a welcome message./menu: Display the main menu with options./subscribe: Subscribe to trading signal notifications./unsubscribe: Unsubscribe from trading signal notifications./notification true|false: Enable or disable trading signal notifications.
- Use the inline query
@your_bot_name subscriptionsto view your subscribed stocks.
Contributions are welcome! Feel free to submit pull requests for bug fixes, new features, or improvements.
This project is licensed under the MIT License.
For questions or support, contact [your_email@example.com](mailto:your_email@exam