mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 06:46:41 +00:00
22 lines
309 B
Python
22 lines
309 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")
|