From d710ea448f151584cc83e970530b2f20d49db3a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 03:06:38 +0000 Subject: [PATCH 1/7] chore(deps): bump mkdocs-material in the mkdocs group Bumps the mkdocs group with 1 update: [mkdocs-material](https://github.com/squidfunk/mkdocs-material). Updates `mkdocs-material` from 9.5.49 to 9.5.50 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.49...9.5.50) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch dependency-group: mkdocs ... Signed-off-by: dependabot[bot] --- docs/requirements-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 11d597731e2..ee49045e19f 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,6 +1,6 @@ markdown==3.7 mkdocs==1.6.1 -mkdocs-material==9.5.49 +mkdocs-material==9.5.50 mdx_truly_sane_lists==1.3 pymdown-extensions==10.14 jinja2==3.1.5 From 152358ee18e458727d2cd6cf7eb152a34726466a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 03:07:03 +0000 Subject: [PATCH 2/7] chore(deps): bump orjson from 3.10.14 to 3.10.15 Bumps [orjson](https://github.com/ijl/orjson) from 3.10.14 to 3.10.15. - [Release notes](https://github.com/ijl/orjson/releases) - [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md) - [Commits](https://github.com/ijl/orjson/compare/3.10.14...3.10.15) --- updated-dependencies: - dependency-name: orjson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5a224482c43..121ec0f43ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,7 +32,7 @@ py_find_1st==1.1.7 # Load ticker files 30% faster python-rapidjson==1.20 # Properly format api responses -orjson==3.10.14 +orjson==3.10.15 # Notify systemd sdnotify==0.3.2 From 0a09c6cbd79a68c87edcb05ff7b9d7a1c42b6235 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 03:07:09 +0000 Subject: [PATCH 3/7] chore(deps): bump websockets from 14.1 to 14.2 Bumps [websockets](https://github.com/python-websockets/websockets) from 14.1 to 14.2. - [Release notes](https://github.com/python-websockets/websockets/releases) - [Commits](https://github.com/python-websockets/websockets/compare/14.1...14.2) --- updated-dependencies: - dependency-name: websockets dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5a224482c43..83a838524a3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -56,7 +56,7 @@ pytz==2024.2 schedule==1.2.2 #WS Messages -websockets==14.1 +websockets==14.2 janus==2.0.0 ast-comments==1.2.2 From df71670e6d126ff9ba6fec1a9ae813cf373d0303 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 03:07:36 +0000 Subject: [PATCH 4/7] chore(deps): bump ccxt from 4.4.48 to 4.4.49 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.4.48 to 4.4.49. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md) - [Commits](https://github.com/ccxt/ccxt/compare/4.4.48...4.4.49) --- updated-dependencies: - dependency-name: ccxt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5a224482c43..3d65346b965 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ bottleneck==1.4.2 numexpr==2.10.2 pandas-ta==0.3.14b -ccxt==4.4.48 +ccxt==4.4.49 cryptography==42.0.8; platform_machine == 'armv7l' cryptography==44.0.0; platform_machine != 'armv7l' aiohttp==3.10.11 From 0358a4d23bf35a9a0fae509b1ff70f513003896e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 03:07:52 +0000 Subject: [PATCH 5/7] chore(deps-dev): bump ruff from 0.9.1 to 0.9.2 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.1 to 0.9.2. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.9.1...0.9.2) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index deef7da33f1..530afac4ddf 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,7 +7,7 @@ -r docs/requirements-docs.txt coveralls==4.0.1 -ruff==0.9.1 +ruff==0.9.2 mypy==1.14.1 pre-commit==4.0.1 pytest==8.3.4 From fc1feb9abce7e592880fd13c3613f1d43bc7f68f Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 20 Jan 2025 06:45:27 +0100 Subject: [PATCH 6/7] chore: try fix random test failure --- tests/exchange/test_exchange_ws.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/exchange/test_exchange_ws.py b/tests/exchange/test_exchange_ws.py index b8dafb7dd84..1e7aaef4cd9 100644 --- a/tests/exchange/test_exchange_ws.py +++ b/tests/exchange/test_exchange_ws.py @@ -105,9 +105,11 @@ async def sleeper(*args, **kwargs): assert exchange_ws._klines_watching == { ("ETH/BTC", "1m", CandleType.SPOT), } + # Cleanup happened. + await asyncio.sleep(0.1) + exchange_ws.schedule_ohlcv("ETH/BTC", "1m", CandleType.SPOT) assert exchange_ws._klines_scheduled == { ("ETH/BTC", "1m", CandleType.SPOT), - ("XRP/BTC", "1m", CandleType.SPOT), } finally: From ffef87f7d19343f26c08c1563f806de5f148ac47 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 20 Jan 2025 06:57:11 +0100 Subject: [PATCH 7/7] docs: improve FAQ entry --- docs/faq.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index c3b18937540..8d19b5db0f3 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -46,10 +46,12 @@ Make sure you set the `initial_state` config option to `"running"` in your confi ### I have waited 5 minutes, why hasn't the bot made any trades yet? -* Depending on the buy strategy, the amount of whitelisted coins, the -situation of the market etc, it can take up to hours to find a good entry +* Depending on the entry strategy, the amount of whitelisted coins, the +situation of the market etc, it can take up to hours or days to find a good entry position for a trade. Be patient! +* Backtesting will tell you roughly how many trades to expect - but that won't guarantee that they'll be distributed evenly across time - so you could have 20 trades on one day, and 0 for the rest of the week. + * It may be because of a configuration error. It's best to check the logs, they usually tell you if the bot is simply not getting buy signals (only heartbeat messages), or if there is something wrong (errors / exceptions in the log). ### I have made 12 trades already, why is my total profit negative?