Skip to content

Commit

Permalink
fixed type in DCA strat
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelGard committed Jun 14, 2024
1 parent 2d3b706 commit c0f9fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cira/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def iterate(


class DollarCostAveraging(Strategy):
def __init__(self, amount: int | float = 1) -> None:
def __init__(self, amount: float = 1) -> None:
super().__init__(name="DollarCostAveraging")
self.amount = amount
self.allocation = []
Expand Down

0 comments on commit c0f9fcc

Please sign in to comment.