mirror of
https://gitlab.com/simple-stock-bots/docs.git
synced 2025-08-02 11:31:34 +00:00
updated mkdocs version, replaced IEX with marketdata, and updated commands
This commit is contained in:
151
docs/commands.md
151
docs/commands.md
@@ -41,48 +41,6 @@ The donate command is used to send money to the bot to help keep it free. The pr
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## `/status` :robot:
|
||||
|
||||
This command is to get diagnostic information about the bot and the services it is dependant on in order to operate. Any issues should be reported to me. [Contact](contact.md)
|
||||
|
||||
<div class="phone">
|
||||
<div class="messages-wrapper">
|
||||
<div class="message to">
|
||||
/status
|
||||
</div>
|
||||
<div class="message from">
|
||||
Bot Status:
|
||||
It took 0.783369 seconds for the bot to get your message.
|
||||
|
||||
Stock Market Data:
|
||||
IEX Cloud is currently not reporting any issues with its API.
|
||||
|
||||
Cryptocurrency Data:
|
||||
CoinGecko API responded that it was OK in 0.160962 Seconds.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
## `/dividend [symbol]` :bank:
|
||||
|
||||
This command gives the rate and date of the dividend for a stock symbol.
|
||||
|
||||
<div class="phone">
|
||||
<div class="messages-wrapper">
|
||||
<div class="message to">
|
||||
/dividend $psec
|
||||
</div>
|
||||
<div class="message from">
|
||||
The next dividend for $PSEC: Prospect Capital Corp is on Thursday, August 4 which is in 44 days. The dividend is for $0.06 per share.
|
||||
</br></br>
|
||||
The dividend was declared on Monday, May 1 and the ex-dividend date is Tuesday, July 2
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
## `/intra [symbol]` :bank: :material-currency-btc:
|
||||
|
||||
This command makes a chart of a stocks movement since the last market open, or the last 24 hours for cryptocurrency.
|
||||
@@ -121,90 +79,6 @@ This command makes a chart of the last 1 month of trading data up until the day
|
||||
|
||||
</div>
|
||||
|
||||
## `/news [symbol]` :bank:
|
||||
|
||||
Gets the most recent, non paywalled, english news for a stock. If you have any suggestions for a cryptocurrency news source please [contact me.](contact.md)
|
||||
|
||||
<div class="phone">
|
||||
<div class="messages-wrapper">
|
||||
<div class="message to">
|
||||
/news
|
||||
</div>
|
||||
<pre class="message from">
|
||||
News for TSLA:
|
||||
Top Tech News: Elon Musk admits self-driving is harder than he thought as Tesla owners troll him over missed deadlines
|
||||
Bitcoin Ethereum News: DOGE Price Analysis $0.231 | Cryptopolitan
|
||||
Tesla North: Bugatti to Merge with EV Hypercar Startup Rimac
|
||||
Tesla North: China-Made Tesla Model 3 Battery Drain Test After 14 Days of Sleep
|
||||
Tesmanian: Brandenburg Minister Supports Bureaucratic Reform & Hopes Tesla Giga Berlin Production Starts this Year
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## `/info [symbol]` :bank: :material-currency-btc:
|
||||
|
||||
Gets a description of a company. Aimed to inform you on what a ticker is if you have no prior knowledge of it.
|
||||
|
||||
<div class="phone">
|
||||
<div class="messages-wrapper">
|
||||
<div class="message to">
|
||||
/info $spce
|
||||
</div>
|
||||
<div class="message from">
|
||||
Virgin Galactic Holdings, Inc. is a vertically integrated aerospace and space travel company, pioneering human spaceflight for private individuals and researchers, as well as a manufacturer of advanced air and space vehicles. It is developing a spaceflight system designed to offer customers a unique and transformative experience.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## `/stat [symbol]` :bank: :material-currency-btc:
|
||||
|
||||
Gets key market data of the symbol passed in.
|
||||
|
||||
<div class="phone">
|
||||
<div class="messages-wrapper">
|
||||
<div class="message to">
|
||||
/stat $$ada
|
||||
</div>
|
||||
<pre class="message from">
|
||||
Cardano Statistics:
|
||||
Market Cap: $0.0
|
||||
Market Cap Ranking: None
|
||||
CoinGecko Scores:
|
||||
Overall: 8.928
|
||||
Development: 0.0
|
||||
Community: 12.066
|
||||
Public Interest: 0.285
|
||||
</pre>
|
||||
<div class="message to">
|
||||
/stat $$ada
|
||||
</div>
|
||||
<pre class="message from">
|
||||
Company Name: Prospect Capital Corp
|
||||
Market Cap: $3,280,433,315
|
||||
52 Week (high-low): 9.19 - 4.21
|
||||
Number of Employees: 0
|
||||
Next Earnings Date: 2021-08-26
|
||||
Price to Earnings: 0.000
|
||||
Beta: 0.404
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## `/cap [symbol]` :material-currency-btc: :bank: :dollar:
|
||||
|
||||
Gets the market capitalization of the symbol passed in.
|
||||
|
||||
<div class="phone">
|
||||
<div class="messages-wrapper">
|
||||
<div class="message to">
|
||||
/cap $$sol
|
||||
</div>
|
||||
<div class="message from">
|
||||
The current price of Solana is $37.91 and its market cap is $10,283,314,872.25 USD
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## `/trending`
|
||||
|
||||
Gets the latest trending stocks and their change in price
|
||||
@@ -270,7 +144,30 @@ Just a simple command to get help in app. Returns a more summarized version of t
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## Inline Features :fontawesome-brands-telegram-plane: :material-currency-btc: :bank: :dollar:
|
||||
## `/status` :robot:
|
||||
|
||||
This command is to get diagnostic information about the bot and the services it is dependant on in order to operate. Any issues should be reported to me. [Contact](contact.md)
|
||||
|
||||
<div class="phone">
|
||||
<div class="messages-wrapper">
|
||||
<div class="message to">
|
||||
/status
|
||||
</div>
|
||||
<pre class="message from">
|
||||
Bot Status:
|
||||
It took 0.783369 seconds for the bot to get your message.
|
||||
|
||||
Stock Market Data:
|
||||
marketdata.app is currently not reporting any issues with its API.
|
||||
|
||||
Cryptocurrency Data:
|
||||
CoinGecko API responded that it was OK in 0.160962 Seconds.
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
## Inline Features :fontawesome-brands-telegram: :material-currency-btc: :bank: :dollar:
|
||||
|
||||
You can type @SimpleStockBot `[search]` in any chat or direct message to search for the stock bots
|
||||
full list of stock symbols and return the price of the ticker. Then once you select the ticker
|
||||
|
@@ -1,4 +1,4 @@
|
||||
Simple Stock Bot is run entirely on donations, and costs about $420 a year to run. All donations go directly towards paying for servers, and premium market data provided by [IEX Cloud](https://iexcloud.io/).
|
||||
Simple Stock Bot is run entirely on donations, and costs about $420 a year to run. All donations go directly towards paying for servers, and premium market data provided by [matketdata.app](https://dashboard.marketdata.app/marketdata/aff/go/misterbiggs?keyword=repo).
|
||||
|
||||
The best way to donate is through [Buy Me A Coffee](https://www.buymeacoffee.com/Anson) which accepts Paypal or Credit card.
|
||||
|
||||
@@ -11,5 +11,5 @@ If you have any questions get in [touch.](contact.md)
|
||||
- Follow me on [twitter](https://twitter.com/AnsonBiggs)
|
||||
- Contribute to the project on [GitLab](https://gitlab.com/simple-stock-bots) or just leave a star
|
||||
- Using my referral links to host your own Bot
|
||||
- [DigitalOcean](https://m.do.co/c/6b5df7ef55b6)
|
||||
- [IEX Cloud](https://iexcloud.io/s/62c8503e)
|
||||
- [matketdata.app](https://dashboard.marketdata.app/marketdata/aff/go/misterbiggs?keyword=repo)
|
||||
- [DigitalOcean](https://m.do.co/c/6b5df7ef55b6)
|
12
docs/host.md
12
docs/host.md
@@ -11,17 +11,17 @@ Depending on what platform you'll need:
|
||||
- Telegram API key which can be obtained for free by talking to [BotFather](https://telegram.me/botfather), more details [here.](https://core.telegram.org/bots#3-how-do-i-create-a-bot)
|
||||
- Discord API key which can be obtained for free at [https://discord.com/developers](https://discord.com/developers)
|
||||
|
||||
Finally, you will need and IEX Cloud API key. They offer a free tier that should be enough for any private groups, more details [here.](https://iexcloud.io/)
|
||||
Finally, you will need a [matketdata.app](https://dashboard.marketdata.app/marketdata/aff/go/misterbiggs?keyword=repo) API key. They offer a free tier that should be enough for any private groups, more details [here.](https://dashboard.marketdata.app/marketdata/aff/go/misterbiggs?keyword=repo)
|
||||
|
||||
!!! tip
|
||||
The bot will function without an IEX key and will fall back to only using cryptocurrency data.
|
||||
The bot will function without a [matketdata.app](https://dashboard.marketdata.app/marketdata/aff/go/misterbiggs?keyword=repo) key and will fall back to only using cryptocurrency data.
|
||||
|
||||
!!! note
|
||||
If you want to accept donations you also need a Stripe API key. [https://stripe.com/]
|
||||
If you want to accept donations you also need a Stripe API key and provide a `STRIPE` key to your bot. [https://stripe.com/]
|
||||
|
||||
## Installing
|
||||
|
||||
Once Docker is installed and you have your API keys for Telegram and IEX Cloud getting the bot running on any platform is extremely easy.
|
||||
Once Docker is installed and you have your API keys for Telegram and [matketdata.app](https://dashboard.marketdata.app/marketdata/aff/go/misterbiggs?keyword=repo) getting the bot running on any platform is extremely easy.
|
||||
|
||||
Download or clone the repository to your machine and open a terminal in the project and build the Docker container.
|
||||
|
||||
@@ -33,8 +33,8 @@ Then run the bot using your API keys.
|
||||
|
||||
```
|
||||
docker run --detach \
|
||||
-e TELEGRAM=TELEGRAM_API \
|
||||
-e IEX=IEX_API \
|
||||
-e TELEGRAM=TELEGRAM_API_KEY \
|
||||
-e MARKETDATA=MARKETDATA_API_KEY \
|
||||
simple-telegram-bot
|
||||
```
|
||||
|
||||
|
@@ -6,12 +6,10 @@ Simple Stock Bots is a family of messaging bots that aim to provide simple inter
|
||||
|
||||
The bots can either be added to a server or can be direct messaged for the exact same functionality. Links for each platform are below:
|
||||
|
||||
[Telegram Bot :fontawesome-brands-telegram-plane:](https://t.me/SimpleStockBot){ .md-button .md-button--primary }
|
||||
[Telegram Bot :fontawesome-brands-telegram:](https://t.me/SimpleStockBot){ .md-button .md-button--primary }
|
||||
|
||||
[Discord Bot :fontawesome-brands-discord:](https://discordapp.com/api/oauth2/authorize?client_id=532045200823025666&permissions=36507338752&scope=bot){ .md-button .md-button--primary }
|
||||
|
||||
|
||||
|
||||
Alternatively, this project is completely open source and instructions on how to run your own instance of the bot are provided on each of the bots pages. [Hosting](host.md)
|
||||
|
||||
## Usage
|
||||
@@ -25,7 +23,7 @@ The source code for the bots is completely open and hosted on GitLab. The projec
|
||||
- [Telegram Bot Source](https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot)
|
||||
- [Discord Bot Source](https://gitlab.com/simple-stock-bots/simple-discord-stock-bot)
|
||||
|
||||
If you decide to host your own bots using my source code please consider using my referral links for DigitalOcean and IEX Cloud. We both get a kickback when you use them.
|
||||
If you decide to host your own bots using my source code please consider using my referral links for marketdata.app and DigitalOcean. We both get a kickback when you use them.
|
||||
|
||||
- [DigitalOcean](https://m.do.co/c/6b5df7ef55b6)
|
||||
- [IEX Cloud](https://iexcloud.io/s/62c8503e)
|
||||
- [matketdata.app](https://dashboard.marketdata.app/marketdata/aff/go/misterbiggs?keyword=repo)
|
||||
|
Reference in New Issue
Block a user