Skip to content
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
6 changes: 4 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion tests/exchange/test_exchange_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading