mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-06-15 14:36:48 +00:00
24 lines
338 B
Python
24 lines
338 B
Python
import time
|
|
|
|
import keyboard
|
|
|
|
tests = """$$xno
|
|
$tsla
|
|
/intra $tsla
|
|
/intra $$btc
|
|
/chart $tsla
|
|
/chart $$btc
|
|
/help
|
|
/trending""".split(
|
|
"\n"
|
|
)
|
|
|
|
print("press enter to start")
|
|
keyboard.wait("enter")
|
|
|
|
for test in tests:
|
|
print(test)
|
|
keyboard.write(test)
|
|
time.sleep(1)
|
|
keyboard.press_and_release("enter")
|