From bd6dedcf25b3f4e84f83d9eb8137cf51fc691e81 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Tue, 2 Apr 2024 12:01:32 +0200 Subject: [PATCH] fix comment --- prediction_prophet/deployment/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prediction_prophet/deployment/models.py b/prediction_prophet/deployment/models.py index f47e727f..b18eb67f 100644 --- a/prediction_prophet/deployment/models.py +++ b/prediction_prophet/deployment/models.py @@ -67,7 +67,7 @@ def calculate_bet_amount(self, answer: bool, market: AgentMarket) -> BetAmount: else: should_not_happen(f"Unknown market type: {market}") if amount > max_bet_amount: - logger.warning(f"Would need at least {amount} {market.currency} to be profitable, betting only {market.get_tiny_bet_amount()} for benchmark purposes.") + logger.warning(f"Calculated amount {amount} {market.currency} is exceeding our limit {max_bet_amount=}, betting only {market.get_tiny_bet_amount()} for benchmark purposes.") amount = market.get_tiny_bet_amount().amount return BetAmount(amount=amount, currency=market.currency)