1
0
forked from kodorvan/stcs

fix app/telegram/handlers/handlers.py, fix app/telegram/functions/functions.py || change two buttons "Начать торговлю" || fix text registration message, fix text profile || delete app/services/Bybit/config.py || delete comments

This commit is contained in:
Kirill Strelnikov
2025-07-21 16:55:30 +07:00
parent fb0c14aba1
commit 242be34a97
9 changed files with 34 additions and 145 deletions

View File

@@ -18,22 +18,6 @@ async def get_price(tg_id, message):
try:
price = float(client.get_tickers(category='linear', symbol=SYMBOL).get('result').get('list')[0].get('ask1Price'))
print(f'''
=====================
=====PRICE=========
===================
===================
=================
{price}
===============
===============
=============
===============
==============
''')
return price
except exceptions.InvalidRequestError as e:
await message.answer('Неверно указана торговая пара')