Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Dec 30, 2024
1 parent a2a34f6 commit 3be60cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvx/simulator/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def current_prices(self) -> np.array:
"""
return self._state.prices[self._state.assets].values

def __iter__(self) -> Generator[tuple[pd.DatetimeIndex, State], None, None]:
def __iter__(self) -> Generator[tuple[pd.DatetimeIndex, State]]:
"""
The __iter__ method allows the object to be iterated over in a for loop,
yielding time and the current state of the portfolio.
Expand Down

0 comments on commit 3be60cb

Please sign in to comment.