The log is hidden
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import logging.config
|
import logging.config
|
||||||
import math
|
import math
|
||||||
import json
|
# import json
|
||||||
import app.telegram.keyboards.inline as kbi
|
import app.telegram.keyboards.inline as kbi
|
||||||
import database.request as rq
|
import database.request as rq
|
||||||
from app.bybit.get_functions.get_instruments_info import get_instruments_info
|
from app.bybit.get_functions.get_instruments_info import get_instruments_info
|
||||||
@@ -57,7 +57,7 @@ class TelegramMessageHandler:
|
|||||||
|
|
||||||
async def format_execution_update(self, message, tg_id):
|
async def format_execution_update(self, message, tg_id):
|
||||||
try:
|
try:
|
||||||
logger.info("Execution update: %s", json.dumps(message))
|
# logger.info("Execution update: %s", json.dumps(message))
|
||||||
execution = message.get("data", [{}])[0]
|
execution = message.get("data", [{}])[0]
|
||||||
exec_type = format_value(execution.get("execType"))
|
exec_type = format_value(execution.get("execType"))
|
||||||
if exec_type == "Trade" or exec_type == "BustTrade":
|
if exec_type == "Trade" or exec_type == "BustTrade":
|
||||||
|
|||||||
Reference in New Issue
Block a user