1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-15 14:56:40 +00:00

Resolve "Add a blog to the website"

This commit is contained in:
Anson Biggs 2023-10-10 04:19:46 +00:00
parent 937732b346
commit 33550f1519
26 changed files with 114 additions and 15 deletions

View File

@ -1,6 +1,9 @@
stages:
- lint
- build
- build_site
- deploy
- deploy_site
black:
stage: lint
@ -18,4 +21,4 @@ ruff:
include:
- local: /docs/.gitlab-ci.yml
- local: /site/.gitlab-ci.yml

View File

@ -1,12 +0,0 @@
image: python:3.11
pages:
stage: deploy
script:
- cd ./docs
- pip install -r requirements.txt
- mkdocs build --site-dir ../public --verbose
artifacts:
paths:
- public
# rules:
# - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'

View File

23
site/.gitlab-ci.yml Normal file
View File

@ -0,0 +1,23 @@
image: python:3.11
build_site:
stage: build
script:
- cd ./site
- pip install -r requirements.txt
- mkdocs build --site-dir ../public --verbose
artifacts:
paths:
- public
deploy_site:
stage: deploy
script:
- echo "Publishing site..."
dependencies:
- build_site
artifacts:
paths:
- public
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'

View File

@ -0,0 +1,5 @@
authors:
Anson:
name: Anson Biggs
description: Creator
avatar: https://gitlab.com/uploads/-/system/user/avatar/1377308/avatar.png

2
site/docs/blog/index.md Normal file
View File

@ -0,0 +1,2 @@
# Blog

View File

@ -0,0 +1,64 @@
---
title: "Introducing Simple Stock Bot: Your Chat Group's Financial Whiz"
date: 2023-10-10
tags: [Simple Stock Bot, Introduction, Telegram, Discord, Financial Insights]
authors: [Anson]
description: >
Welcome to the world of Simple Stock Bot, where real-time financial insights are integrated seamlessly into your group chats on Telegram and Discord!
---
## What is Simple Stock Bot?
Simple Stock Bot is a chatbot designed to enrich your financial discussions on Telegram and Discord. Regardless of whether you're a seasoned trader or a beginner in the stock market, this bot is here to make your discussions more informative and engaging.
<div class="phone">
<div class="messages-wrapper">
<div class="message to">
I wonder how $tsla is affecting the price of $$btc
</div>
<div class="message from">
The current stock price of Tesla Inc is $866.57, the stock is currently up 1.68%
</div>
<div class="message from">
The current price of Bitcoin is $34,815, the coin is currently down -0.151% for today
</div>
</div>
</div>
With Simple Stock Bot, you can:
- **Fetch Real-time Quotes**: Obtain the latest stock and cryptocurrency prices instantly within your group chat.
- **View Charts**: Delve into intraday movements or assess a month's trading data right inside your group chat.
- **Stay Updated on Market Trends**: Discover what's buzzing in the stock and crypto spheres.
## Add the Bot to your Group
[:fontawesome-brands-telegram: Telegram](https://t.me/SimpleStockBot){ .md-button }
[:fontawesome-brands-discord: Discord](https://discordapp.com/api/oauth2/authorize?client_id=532045200823025666&permissions=36507338752&scope=bot){ .md-button }
## Using the Bot
Embarking on your journey with Simple Stock Bot is effortless. Just add the bot to your Telegram or Discord group, and you're all set to dive into financial discussions right from your chat!
Here are some simple commands to get you started:
- `/intra` to view intraday charts.
- `/chart` for a glimpse of the last month's trading data.
- `/trending` to catch up on the latest trending stocks and cryptocurrencies.
## Keeping It Free
Simple Stock Bot is a community-supported project, thriving on the contributions from its users. It's sustained entirely through donations to cover server costs and premium market data subscriptions, ensuring it remains free for everyone.
Feeling generous? You can support the project by [donating](https://docs.simplestockbot.com/donate/), following on [Twitter](https://twitter.com/AnsonBiggs), or contributing on [GitLab](https://gitlab.com/simple-stock-bot).
## Dive Deeper
Craving more insights and features? Explore the [official documentation](https://docs.simplestockbot.com/) to uncover all the capabilities of Simple Stock Bot.
Get ready to elevate your financial discussions with Simple Stock Bot! Your group chats will never be the same again.
---
Stay tuned for more updates, tips, and financial insights brought to you by Simple Stock Bot. Heres to making every financial discussion enriched and informed!

View File

@ -1,12 +1,16 @@
Symbols are used in headings to denote what platforms and symbol types a command supports.
- Telegram Only :fontawesome-brands-telegram-plane:
- Telegram Only :fontawesome-brands-telegram:
- Discord Only :fontawesome-brands-discord:
- Bot Commands :robot:
- Cryptocurrency Support :material-currency-btc:
- Stock Market Support :bank:
- OTC Support :dollar:
## Get the Bots
[:fontawesome-brands-telegram: Telegram](https://t.me/SimpleStockBot){ .md-button } [:fontawesome-brands-discord: Discord](https://discordapp.com/api/oauth2/authorize?client_id=532045200823025666&permissions=36507338752&scope=bot){ .md-button }
## Symbol Detection :material-currency-btc: :bank: :dollar:
The Simple Stock Bot looks at every message it can see and tries to detect stock and cryptocurrency symbols. Stock market tickers are denoted with a single `$` and cryptocurrency coins are denoted with a double `$$`. So getting the price of Tesla is as simple as `$tsla` and Bitcoin `$$btc`. These symbols can be in any part of a message and there can be multiple of them aswell.

View File

@ -2,6 +2,10 @@
This guide provides step-by-step instructions for setting up and running this project on your local machine, whether for development, testing, or personal use.
## Get the Bots
[:fontawesome-brands-telegram: Telegram](https://t.me/SimpleStockBot){ .md-button } [:fontawesome-brands-discord: Discord](https://discordapp.com/api/oauth2/authorize?client_id=532045200823025666&permissions=36507338752&scope=bot){ .md-button }
## Pre-requisites
Ensure the following are installed or obtained before proceeding:

View File

Before

Width:  |  Height:  |  Size: 467 KiB

After

Width:  |  Height:  |  Size: 467 KiB

View File

Before

Width:  |  Height:  |  Size: 433 KiB

After

Width:  |  Height:  |  Size: 433 KiB

View File

Before

Width:  |  Height:  |  Size: 455 KiB

After

Width:  |  Height:  |  Size: 455 KiB

View File

Before

Width:  |  Height:  |  Size: 486 KiB

After

Width:  |  Height:  |  Size: 486 KiB

View File

Before

Width:  |  Height:  |  Size: 490 KiB

After

Width:  |  Height:  |  Size: 490 KiB

View File

Before

Width:  |  Height:  |  Size: 474 KiB

After

Width:  |  Height:  |  Size: 474 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -2,6 +2,10 @@
Discover a new level of financial discussion with Simple Stock Bot, your go-to solution for real-time stock market and cryptocurrency insights within your Telegram or Discord group chats. Transform your everyday discussions into an interactive financial exploration experience. With Simple Stock Bot, keeping up with the stock market or cryptocurrency trends has never been more seamless and engaging.
## Get the Bots
[:fontawesome-brands-telegram: Telegram](https://t.me/SimpleStockBot){ .md-button } [:fontawesome-brands-discord: Discord](https://discordapp.com/api/oauth2/authorize?client_id=532045200823025666&permissions=36507338752&scope=bot){ .md-button }
## [Commands](commands.md)
### Real-Time Stock and Cryptocurrency Updates

View File

@ -1,6 +1,6 @@
site_name: Simple Stock Bot
site_url: https://simplestockbot.com
edit_uri: /simple-stock-bots/site/tree/master/docs
edit_uri: /simple-stock-bots/site/tree/master/site
repo_url: https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot
repo_name: Simple Stock Bots
@ -15,6 +15,7 @@ nav:
- Self-Host: host.md
- Donate: donate.md
- Contact: contact.md
- Blog: /blog
theme:
name: material
@ -65,6 +66,7 @@ extra_css:
plugins:
- search
- social
- blog
markdown_extensions: