Skip to content
View guddu8kr's full-sized avatar

Block or report guddu8kr

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
guddu8kr/README.md

import requests import time from datetime import datetime

Bot Token & Chat ID

BOT_TOKEN = "8105971100:AAE257vkFIw5RO_4z7MRgp3tElLnDraNWaw" CHAT_ID = "932913595" # Numeric ID hona chahiye

def send_alert(msg): url = f"https://api.telegram.org/bot{BOT_TOKEN}/sendMessage" payload = { "chat_id": CHAT_ID, "text": msg } try: response = requests.post(url, data=payload) print("✅ Message sent:", response.text) except Exception as e: print("❌ Error sending alert:", e)

def check_price(): price = 105000 # Example (replace with API value later) if price > 104700: message = f"""🚨 BUY Signal Alert 🚨 Coin: BTCUSDT Zone: BOS Price: {price} Time: {datetime.now().strftime('%H:%M:%S')}""" send_alert(message)

🔁 Repeat every 5 min (300 seconds)

while True: check_price() time.sleep(300)

Popular repositories Loading

  1. guddu8kr guddu8kr Public

    Config files for my GitHub profile.

  2. all_stocks_scanner.py- all_stocks_scanner.py- Public template

    Forked from pkjmesra/PKScreener

    A Python-based stock screener for NSE, India. PKScreener is an advanced free stock screener to find potential breakout stocks from NSE and show its possible breakout values. It also helps to find t…

    Python

  3. devguide devguide Public

    Forked from python/devguide

    The Python developer's guide

    Python