Skip to content

Commit

Permalink
Merge pull request #776 from TruBluStu/addinfo-to-pair.json-issue
Browse files Browse the repository at this point in the history
Update PyCryptoBot.py
  • Loading branch information
whittlem authored Mar 26, 2023
2 parents 10ad002 + 57871e8 commit af16f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/PyCryptoBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ def _notify(notification: str = "", level: str = "normal") -> None:
self._simulation_summary()
self._simulation_save_orders()

if self.state.last_buy_size <= 0 and self.state.last_buy_price <= 0 and self.price <= 0 and self.state.last_action != "BUY":
if self.state.last_buy_size <= 0 and self.state.last_buy_price <= 0 and self.state.last_action != "BUY":
self.telegram_bot.add_info(
f'Current price: {str(self.price)}{trailing_action_logtext} | {str(round(((self.price-df["close"].max()) / df["close"].max())*100, 2))}% from DF HIGH',
round(self.price, 4),
Expand Down

0 comments on commit af16f46

Please sign in to comment.