Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔊 for ignore check and ⬆️ DXSP and MyLLM #911

Merged
merged 7 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ bidict==0.22.1 ; python_version >= "3.10" and python_version < "4.0"
bitarray==2.8.2 ; python_version >= "3.10" and python_version < "4"
blinker==1.6.3 ; python_version >= "3.10" and python_version < "4.0"
blurhash==1.1.4 ; python_version >= "3.10" and python_version < "4.0"
brotli==1.1.0 ; platform_python_implementation == "CPython" and python_version >= "3.10" and python_version < "4.0"
brotlicffi==1.1.0.0 ; platform_python_implementation != "CPython" and python_version >= "3.10" and python_version < "4.0"
browser-cookie3==0.19.1 ; python_version >= "3.10" and python_version < "4.0"
ccxt==4.1.1 ; python_version >= "3.10" and python_version < "4.0"
cefi==3.1.4 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -29,7 +31,8 @@ cryptography==41.0.4 ; python_version >= "3.10" and python_version < "4.0"
curl-cffi==0.5.7 ; python_version >= "3.10" and python_version < "4.0"
cytoolz==0.12.2 ; python_version >= "3.10" and python_version < "4" and implementation_name == "cpython"
decorator==5.1.1 ; python_version >= "3.10" and python_version < "4.0"
dxsp==5.2.5 ; python_version >= "3.10" and python_version < "4.0"
duckduckgo-search==3.8.5 ; python_version >= "3.10" and python_version < "4.0"
dxsp==5.2.6 ; python_version >= "3.10" and python_version < "4.0"
dynaconf==3.2.3 ; python_version >= "3.10" and python_version < "4.0"
eth-abi==4.2.1 ; python_version >= "3.10" and python_version < "4"
eth-account==0.9.0 ; python_version >= "3.10" and python_version < "4"
Expand All @@ -49,7 +52,7 @@ flask==3.0.0 ; python_version >= "3.10" and python_version < "4.0"
frozendict==2.3.8 ; python_version >= "3.10" and python_version < "4.0"
frozenlist==1.4.0 ; python_version >= "3.10" and python_version < "4.0"
future==0.18.3 ; python_version >= "3.10" and python_version < "4.0"
g4f==0.1.5.5 ; python_version >= "3.10" and python_version < "4.0"
g4f==0.1.5.8 ; python_version >= "3.10" and python_version < "4.0"
gql==3.4.1 ; python_version >= "3.10" and python_version < "4.0"
graphql-core==3.2.3 ; python_version >= "3.10" and python_version < "4"
guilded-py==1.11.0 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -61,8 +64,9 @@ html5lib==1.1 ; python_version >= "3.10" and python_version < "4.0"
httpcore==0.17.3 ; python_version >= "3.10" and python_version < "4.0"
httptools==0.6.0 ; python_version >= "3.10" and python_version < "4.0"
httpx==0.24.1 ; python_version >= "3.10" and python_version < "4.0"
httpx[brotli,http2,socks]==0.24.1 ; python_version >= "3.10" and python_version < "4.0"
hyperframe==6.0.1 ; python_version >= "3.10" and python_version < "4.0"
iamlistening==4.2.7 ; python_version >= "3.10" and python_version < "4.0"
iamlistening==4.2.8 ; python_version >= "3.10" and python_version < "4.0"
idna==3.4 ; python_version >= "3.10" and python_version < "4.0"
iso8601==2.1.0 ; python_version >= "3.10" and python_version < "4.0"
itsdangerous==2.1.2 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -84,11 +88,11 @@ mastodon-py==1.8.1 ; python_version >= "3.10" and python_version < "4.0"
matrix-nio==0.20.2 ; python_version >= "3.10" and python_version < "4.0"
multidict==6.0.4 ; python_version >= "3.10" and python_version < "4.0"
multitasking==0.0.11 ; python_version >= "3.10" and python_version < "4.0"
myllm==3.1.16 ; python_version >= "3.10" and python_version < "4.0"
myllm==3.1.17 ; python_version >= "3.10" and python_version < "4.0"
nicegui==1.3.16 ; python_version >= "3.10" and python_version < "4.0"
numpy==1.25.2 ; python_version >= "3.10" and python_version < "4.0"
oauthlib==3.2.2 ; python_version >= "3.10" and python_version < "4.0"
orjson==3.9.7 ; python_version >= "3.10" and python_version < "4.0" and (platform_machine != "i386" and platform_machine != "i686")
orjson==3.9.8 ; python_version >= "3.10" and python_version < "4.0" and (platform_machine != "i386" and platform_machine != "i686")
packaging==23.2 ; python_version >= "3.10" and python_version < "4.0"
pandas==2.1.1 ; python_version >= "3.10" and python_version < "4.0"
parsimonious==0.9.0 ; python_version >= "3.10" and python_version < "4"
Expand Down Expand Up @@ -141,14 +145,15 @@ simple-websocket==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
simplematrixbotlib==2.10.1 ; python_version >= "3.10" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.10" and python_version < "4.0"
sniffio==1.3.0 ; python_version >= "3.10" and python_version < "4.0"
socksio==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
soupsieve==2.5 ; python_version >= "3.10" and python_version < "4.0"
starlette==0.27.0 ; python_version >= "3.10" and python_version < "4.0"
talkytrend==1.15.1 ; python_version >= "3.10" and python_version < "4.0"
telethon==1.30.3 ; python_version >= "3.10" and python_version < "4.0"
toml==0.10.2 ; python_version >= "3.10" and python_version < "4.0"
toolz==0.12.0 ; python_version >= "3.10" and python_version < "4" and (implementation_name == "pypy" or implementation_name == "cpython")
tradingview-ta==3.3.0 ; python_version >= "3.10" and python_version < "4.0"
twitchio==2.8.1 ; python_version >= "3.10" and python_version < "4.0"
twitchio==2.8.2 ; python_version >= "3.10" and python_version < "4.0"
typing-extensions==4.8.0 ; python_version >= "3.10" and python_version < "4.0"
tzdata==2023.3 ; python_version >= "3.10" and python_version < "4.0"
tzlocal==4.3.1 ; python_version >= "3.10" and python_version < "4.0"
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ apprise = "^1.5.0"
asyncz = ">=0.3.1"
nicegui = "^1.3.15"
ping3 = "^4.0.4"
iamlistening = "4.2.7"
iamlistening = "4.2.8"
findmyorder = "1.8.0"
dxsp = "5.2.5"
dxsp = "5.2.6"
cefi = "3.1.4"
talkytrend = "1.15.1"
myllm = "3.1.16"
myllm = "3.1.17"


[tool.poetry.group.dev.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions tt/plugins/default_plugins/cex_exchange_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from cefi import CexTrader
from findmyorder import FindMyOrder

from tt.config import settings
from tt.config import logger, settings
from tt.plugins.plugin_manager import BasePlugin
from tt.utils import send_notification

Expand Down Expand Up @@ -60,7 +60,7 @@ async def handle_message(self, msg):
"""
if not self.should_handle(msg):
return

logger.debug("settings.bot_ignore: %s", settings.bot_ignore)
if not msg.startswith(settings.bot_ignore):
if await self.fmo.search(msg):
order = await self.fmo.get_order(msg)
Expand Down