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? 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 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 diff --git a/requirements.txt b/requirements.txt index 5a224482c43..96105420835 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 @@ -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 @@ -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 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: