Skip to content

EPC310TECH/SHORT_BOT

Repository files navigation

markdown Copy code

Telegram Trading Bot

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.

Features

  • 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.

Getting Started

  1. Clone this repository to your local machine.
  2. Create a .env file 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

  1. Install the required Python packages by running:

pip install -r requirements.txt

arduino Copy code

  1. Run the bot using the command:

python bot.py

markdown Copy code

Commands

  • /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.

Inline Queries

  • Use the inline query @your_bot_name subscriptions to view your subscribed stocks.

Contributing

Contributions are welcome! Feel free to submit pull requests for bug fixes, new features, or improvements.

License

This project is licensed under the MIT License.


For questions or support, contact [your_email@example.com](mailto:your_email@exam

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors