1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-07-26 08:01:26 +00:00

mostly implemented router and IEX

This commit is contained in:
2021-02-17 21:09:03 -07:00
parent b10517e025
commit 96321d7c07
3 changed files with 296 additions and 136 deletions

6
bot.py
View File

@@ -26,8 +26,7 @@ from telegram.ext import (
CallbackContext,
)
from IEX_Symbol import IEX_Symbol
from cg_Crypto import cg_Crypto
from symbol_router import Router
from T_info import T_info
TELEGRAM_TOKEN = os.environ["TELEGRAM"]
@@ -43,8 +42,7 @@ except KeyError:
STRIPE_TOKEN = ""
print("Starting without a STRIPE Token will not allow you to accept Donations!")
s = IEX_Symbol(IEX_TOKEN)
c = cg_Crypto()
s = Router(IEX=IEX_TOKEN)
t = T_info()
# Enable logging