forked from kodorvan/stcs
Fixed
This commit is contained in:
@@ -8,7 +8,7 @@ logging.config.dictConfig(LOGGING_CONFIG)
|
||||
logger = logging.getLogger("price_symbol")
|
||||
|
||||
|
||||
async def get_price(tg_id: int) -> float:
|
||||
async def get_price(tg_id: int, symbol: str) -> float:
|
||||
"""
|
||||
Асинхронно получает текущую цену символа пользователя на Bybit.
|
||||
|
||||
@@ -17,7 +17,6 @@ async def get_price(tg_id: int) -> float:
|
||||
"""
|
||||
api_key = await rq.get_bybit_api_key(tg_id)
|
||||
secret_key = await rq.get_bybit_secret_key(tg_id)
|
||||
symbol = await rq.get_symbol(tg_id)
|
||||
|
||||
client = HTTP(
|
||||
api_key=api_key,
|
||||
|
Reference in New Issue
Block a user