From c7d985262ee19bcdf8f98b77870898352e36854f Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:05:12 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=E2=9A=A1=20update=20cex=5Fexchange=5Fplugi?= =?UTF-8?q?n.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tt/plugins/default_plugins/cex_exchange_plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tt/plugins/default_plugins/cex_exchange_plugin.py b/tt/plugins/default_plugins/cex_exchange_plugin.py index e405be3c6..134414b78 100644 --- a/tt/plugins/default_plugins/cex_exchange_plugin.py +++ b/tt/plugins/default_plugins/cex_exchange_plugin.py @@ -1,5 +1,6 @@ from cefi import CexTrader from findmyorder import FindMyOrder +from loguru import logger from tt.config import settings from tt.plugins.plugin_manager import BasePlugin @@ -57,6 +58,7 @@ async def handle_message(self, msg): order = await self.fmo.get_order(msg) if order and settings.trading_enabled: trade = await self.exchange.submit_order(order) + logger.debug("trade {}", trade) if trade: await send_notification(trade) From 49034ff398cce923b55534be0787f92e8a4f2ad6 Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:08:04 +0200 Subject: [PATCH 2/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20build(deps):=20update?= =?UTF-8?q?=20pyproject.toml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b62729078..def1cc219 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ talkytrend = "2.0.8" iamlistening = "5.1.7" findmyorder = "1.9.19" dxsp = "10.0.2" -cefi = "4.4.15" +cefi = "4.4.16" myllm = "4.8.1" From 4e9904345f081f31a0e8fa17817796135aa59125 Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:15:40 +0200 Subject: [PATCH 3/3] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20update=20config.py=20a?= =?UTF-8?q?nd=20utils.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tt/config.py | 2 +- tt/utils.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tt/config.py b/tt/config.py index b52f9d9a9..5eff0bb97 100644 --- a/tt/config.py +++ b/tt/config.py @@ -178,7 +178,7 @@ def loguru_setup(): "discord": settings.thirdparty_lib_loglevel, "telethon": settings.thirdparty_lib_loglevel, "web3": settings.thirdparty_lib_loglevel, - "apprise": settings.thirdparty_lib_loglevel, + # "apprise": settings.thirdparty_lib_loglevel, "urllib3": settings.thirdparty_lib_loglevel, "asyncz": settings.thirdparty_lib_loglevel, "rlp": settings.thirdparty_lib_loglevel, diff --git a/tt/utils.py b/tt/utils.py index eabf2e493..3ac8d10c5 100644 --- a/tt/utils.py +++ b/tt/utils.py @@ -44,7 +44,6 @@ async def send_notification(msg): https://github.com/caronc/apprise/wiki """ - if not settings.apprise_url: logger.warning("No Apprise URL set") return