mirror of
https://gitlab.com/simple-stock-bots/docs.git
synced 2025-06-16 07:16:39 +00:00
telegram bot no longer has a news command since its no longer supported by api
This commit is contained in:
parent
b612a1b033
commit
582a436759
@ -31,29 +31,12 @@ As long as the bot is in your chat it will reply to any stock tickers in your me
|
|||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
- [`/help`](#/help)
|
- [`/help`](#/help)
|
||||||
- [`/news`](#/news)
|
|
||||||
- [`/dividend`](#/dividend)
|
- [`/dividend`](#/dividend)
|
||||||
|
|
||||||
### /help
|
### /help
|
||||||
|
|
||||||
This command just displays a short description of what the bot does and a link to this page.
|
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 the command `/news $aapl` returns:
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
`The current stock price of Apple Inc. is $**170.89**, the stock is currently **up 0.86%**`
|
|
||||||
|
|
||||||
[`Apple: The 4 Biggest Risks`](https://api.iextrading.com/1.0/stock/aapl/article/7171544094325661)
|
|
||||||
|
|
||||||
[`Apple is getting so serious about health, it's started hosting heart-health events at Apple Stores`](https://api.iextrading.com/1.0/stock/aapl/article/6966979968162641)
|
|
||||||
|
|
||||||
[`You can now ask Siri to get you directions with Waze so you don't even have to open the app`](https://api.iextrading.com/1.0/stock/aapl/article/7672481171984085)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### /dividend
|
### /dividend
|
||||||
|
|
||||||
The dividend command will give you the `dividend yield`, `dividend rate`, and will tell you how long until the payout date for any tickers input. Currently the command `/dividend $psec` returns:
|
The dividend command will give you the `dividend yield`, `dividend rate`, and will tell you how long until the payout date for any tickers input. Currently the command `/dividend $psec` returns:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user