This commit is contained in:
algizn97
2025-09-18 16:17:39 +05:00
parent 4f0668970f
commit e2f9478971
4 changed files with 44 additions and 53 deletions

View File

@@ -71,7 +71,7 @@ def on_order_callback(message, msg):
if event_loop is not None:
from app.services.Bybit.functions.Futures import handle_order_message
asyncio.run_coroutine_threadsafe(handle_order_message(message, msg), event_loop)
logger.info("Callback выполнен.")
logger.info("Callback для ордера выполнен.")
else:
logger.error("Event loop не установлен, callback пропущен.")
@@ -80,7 +80,7 @@ def on_execution_callback(message, ws_msg):
if event_loop is not None:
from app.services.Bybit.functions.Futures import handle_execution_message
asyncio.run_coroutine_threadsafe(handle_execution_message(message, ws_msg), event_loop)
logger.info("Callback выполнен.")
logger.info("Callback для маркета выполнен.")
else:
logger.error("Event loop не установлен, callback пропущен.")