Skip to content

Conversation

@Stevic-Nenad
Copy link
Contributor

No description provided.

@Stevic-Nenad Stevic-Nenad requested review from JumpiiX and Copilot March 12, 2025 21:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR, titled "american", updates the trading bot test by modifying the available balance assignment within the portfolio value calculation test.

  • Update available balance value assignment in tests/trading_bot.py

def test_calculate_total_portfolio_value(self, trading_bot):
"""Test portfolio value calculation."""
trading_bot.available_balance = Decimal('300')
trading_bot.available_balance = Decimal('300')33
Copy link

Copilot AI Mar 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears that '33' has been erroneously appended to the Decimal constructor string. Remove the extraneous '33' so that the line correctly sets the balance to Decimal('300').

Suggested change
trading_bot.available_balance = Decimal('300')33
trading_bot.available_balance = Decimal('300')

Copilot uses AI. Check for mistakes.
@Stevic-Nenad Stevic-Nenad deleted the test branch March 16, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants