This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telebot | |
import schedule | |
TOKEN = "<YOUR-TOKEN-HERE>" | |
CHANNEL = "<YOUR-CHANNEL-ID-HERE>" | |
tb = telebot.TeleBot(TOKEN, parse_mode=None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import schedule | |
schedule.every().hour.at("00").do(send_telegram_signals) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telebot | |
TOKEN = "<YOUR-TOKEN-HERE>" | |
CHANNEL = "<YOUR-CHANNEL-ID-HERE>" | |
tb = telebot.TeleBot(TOKEN, parse_mode=None) | |
def run_screener() -> str: | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telebot | |
def run_screener() -> str: | |
''' | |
This is where you would develop your screener. | |
It is important to note - you should return a string. | |
''' | |
return "I generated a new signal!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telebot | |
bot = telebot.TeleBot("TOKEN", parse_mode=None) |