Skip to content

Commit

Permalink
output info adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Azulinho committed Nov 24, 2021
1 parent aba41d3 commit 517ed5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def buy_coin(self, coin) -> None:
+ f"A:{coin.holding_time}s "
+ f"U:{coin.volume} P:{coin.price} T:{coin.value} "
+ f"SP:{coin.price * coin.sell_at_percentage /100} "
+ f"S:{percent(coin.trail_target_sell_percentage, coin.sell_at_percentage):.3f}% "
+ f"S:+{percent(coin.trail_target_sell_percentage,coin.sell_at_percentage) - 100:.3f}% "
+ f"TTS:-{(100 - coin.trail_target_sell_percentage):.3f}% "
+ f"({len(self.wallet)}/{self.max_coins})"
)
Expand Down Expand Up @@ -375,7 +375,8 @@ def sell_coin(self, coin) -> None:
+ f"U:{coin.volume} P:{coin.price} T:{coin.value} "
+ f"{message}:{coin.profit:.3f} "
+ f"SP:{coin.price * coin.sell_at_percentage /100} "
+ f"S:{percent(coin.trail_target_sell_percentage, coin.sell_at_percentage):.3f}% "
+ f"TP:{100 - (coin.bought_at / coin.price * 100):.2f}% "
+ f"S:+{percent(coin.trail_target_sell_percentage,coin.sell_at_percentage) - 100:.3f}% "
+ f"TTS:-{(100 - coin.trail_target_sell_percentage):.3f}% "
+ f"({len(self.wallet)}/{self.max_coins})",
)
Expand Down

0 comments on commit 517ed5e

Please sign in to comment.