chore: improve log message

This commit is contained in:
Matthias
2025-09-06 18:01:35 +02:00
parent 66577b741f
commit 5ddaea7efc

View File

@@ -391,7 +391,7 @@ class Binance(Exchange):
async def _async_get_trade_history_id( async def _async_get_trade_history_id(
self, pair: str, until: int, since: int, from_id: str | None = None self, pair: str, until: int, since: int, from_id: str | None = None
) -> tuple[str, list[list]]: ) -> tuple[str, list[list]]:
logger.info(f"Fetching trades from Binance, {from_id=}, {since=}, {until=}") logger.info(f"Fetching trades for {pair} from Binance, {from_id=}, {since=}, {until=}")
if not self._config["exchange"].get("only_from_ccxt", False): if not self._config["exchange"].get("only_from_ccxt", False):
if from_id is None or not since: if from_id is None or not since: