Created
September 10, 2022 11:37
-
-
Save gsam1/03fc8d56d04012941c0530892091608e to your computer and use it in GitHub Desktop.
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!" | |
TOKEN = "<YOUR-TOKEN-HERE>" | |
CHANNEL = "<YOUR-CHANNEL-ID-HERE>" | |
tb = telebot.TeleBot(TOKEN, parse_mode=None) | |
msg = run_screener() | |
tb.send_message(CHANNEL, msg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment