1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 07:16:40 +00:00
Simple-Stock-Bot/web/docs/commands.md
2019-02-05 21:12:56 -07:00

1.7 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:

Conversation With Simple Telegram Bot

Commands

  • /help - Create a new project.
  • /news - Start the live-reloading docs server.

/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. The bot will then return the price of the ticker, and links various websites that provide news about the ticker. Currently for Apple stock the Bot would return:

The current stock price of Apple Inc. is **$174.18**, the stock is currently up **1.71%**
Bravos
Seeking Alpha
MSN Money
Yahoo Finance
Wall Street Journal
The Street
Zacks

This command needs updating, feel free to open an issue with suggestions.