Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Apr 9, 2024
1 parent dc8eb99 commit 817066a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/models/position.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,6 @@ def next(self, ohlcvs: List[Tuple[OHLCV]]) -> "Position":
ohlcvs,
)

if next_stop_loss_price != self.stop_loss_price:
print(f"Next SL: {next_stop_loss_price}, Prev: {self.stop_loss_price}")

if next_take_profit_price != self.take_profit_price:
print(f"Next TP: {next_take_profit_price}, Prev: {self.take_profit_price}")

return replace(
self,
stop_loss_price=next_stop_loss_price,
Expand Down

0 comments on commit 817066a

Please sign in to comment.