Skip to content

Commit

Permalink
[skip ci] fix wrong variable access
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Jan 8, 2025
1 parent b2bd146 commit 5e2fa1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kraken_infinity_grid/gridbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ def get_value_of_orders(self: Self, orders: Iterable) -> float:
@property
def investment(self: Self) -> float:
"""Returns the current investment based on open orders."""
return self.__s.get_value_of_orders( # type: ignore[no-any-return]
orders=self.__s.orderbook.get_orders(),
return self.get_value_of_orders(
orders=self.orderbook.get_orders(),
)

@property
Expand Down

0 comments on commit 5e2fa1a

Please sign in to comment.