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:
@@ -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('Неверно указана торговая пара')
|
||||
|
Reference in New Issue
Block a user