Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Apr 2, 2024
1 parent e26ce19 commit bd6dedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prediction_prophet/deployment/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit bd6dedc

Please sign in to comment.