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

Removed all mentions of IEX cloud

This commit is contained in:
Anson Biggs 2023-04-09 11:16:35 -06:00
parent 3ba785824c
commit bf4b3032f1
6 changed files with 5 additions and 19 deletions

View File

@ -13,7 +13,7 @@ COPY --from=builder /root/.local /root/.local
RUN pip install --no-cache-dir black
ENV TELEGRAM=TOKEN
ENV IEX=TOKEN
ENV MARKETDATA=TOKEN
COPY . .

View File

@ -1,6 +1,3 @@
"""Class with functions for running the bot with IEX Cloud.
"""
import logging
import os
import datetime as dt

View File

@ -15,7 +15,7 @@ https://docs.simplestockbot.com/commands/
## Donate
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 [Market Data](https://www.marketdata.app/).
The best way to donate is through [Buy Me A Coffee](https://www.buymeacoffee.com/Anson) which accepts Paypal or Credit card.
@ -29,4 +29,4 @@ If you have any questions get in [touch.](contact.md)
- 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)
- [Market Data](https://www.marketdata.app/)

View File

@ -39,7 +39,7 @@ Simply calling a symbol in any message that the bot can see will also return the
**Inline Features**
You can type @SimpleStockBot `[search]` in any chat or direct message to search for the stock bots full list of stock and crypto symbols and return the price. Then once you select the ticker want the bot will send a message as you in that chat with the latest stock price. Prices may be delayed by up to an hour.
Market data is provided by [IEX Cloud](https://iexcloud.io)
Market data is provided by [Market Data](https://www.marketdata.app/)
If you believe the bot is not behaving properly run `/status` or [get in touch](https://docs.simplestockbot.com/contact).
"""
@ -47,7 +47,7 @@ Simply calling a symbol in any message that the bot can see will also return the
donate_text = """
Simple Stock Bot is run entirely on donations[.](https://www.buymeacoffee.com/Anson)
All donations go directly towards paying for servers, and market data is provided by
[IEX Cloud](https://iexcloud.io/).
[Market Data](https://www.marketdata.app/).
The easiest way to donate is to run the `/donate [amount in USD]` command with US dollars you would like to donate.

View File

@ -1,6 +1,3 @@
"""Class with functions for running the bot with IEX Cloud.
"""
import logging as log
from typing import List
@ -22,13 +19,6 @@ class cg_Crypto:
trending_cache: List[str] = []
def __init__(self) -> None:
"""Creates a Symbol Object
Parameters
----------
IEX_TOKEN : str
IEX Token
"""
self.get_symbol_list()
schedule.every().day.do(self.get_symbol_list)

View File

@ -390,7 +390,6 @@ class Router:
log.debug(f"{symbol} is not a Stock or Coin")
if stocks:
# IEX batch endpoint doesnt seem to be working right now
for stock in stocks:
replies.append(self.stock.price_reply(stock))
if coins: