mirror of
https://gitlab.com/simple-stock-bots/docs.git
synced 2025-06-16 15:17:27 +00:00
2.8 KiB
2.8 KiB
Telegram Bot Commands
Getting a Stock Quote
Anytime the Bot is in your chat it will search all chats for $
followed by a ticker. For example $tsla
will return the following message for Tesla Motors:
The current stock price of Tesla Inc. is $321.35, the stock is currently up 2.7%
This works no matter where the ticker is in the message and you can have as many tickers as you want in the same message. For example:
I wonder how $aapl, $nflx, and $sono are performing today.
Will return:
Commands
/help
This command just displays a short description of what the bot does and a link to this page.
/news
This command is intelligent enough to get any tickers in the ticker format: $amzn
, and can handle as many tickers as you would like to enter. For example saying /news $tsla $aapl
would reply two different messages one for each ticker with a few news articles provided by the IEX API.
The bots need more commands, feel free to open an issue with suggestions.