Skip to content

Commit

Permalink
Fix ratio in trade report
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Jan 24, 2024
1 parent d4dede1 commit ec8ab16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion balancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self):

try:
props = config['config']
self.bot_version = '1.4.1'
self.bot_version = '1.4.2'
self.exchange = str(props['exchange']).strip('"').lower()
self.api_key = str(props['api_key']).strip('"')
self.api_secret = str(props['api_secret']).strip('"')
Expand Down Expand Up @@ -1874,6 +1874,8 @@ def check_deposits():
ATTEMPT = 1
if CONF.backtrade_only_on_profit:
LAST_ORDER = ORDER
# we need the values after the trade
BAL = calculate_balances()
do_post_trade_action()
ACTION = None
else:
Expand Down

0 comments on commit ec8ab16

Please sign in to comment.