switch_to_long error

This commit is contained in:
Nicolás Sánchez 2024-12-04 16:39:52 -03:00
parent e0d3d4e078
commit 9ad0b8438b
3 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@ -21,4 +21,6 @@ utils/data/binance.db
utils/data/okx.db utils/data/okx.db
utils/data/gateio.db utils/data/gateio.db
utils/data/kucoin.db utils/data/kucoin.db
utils/data/bybit.db
utils/data/test.py utils/data/test.py
profits/db_read.py

View File

@ -22,7 +22,7 @@ In case the permissions of the certificate changes, reset them this way:
# ll /etc/letsencrypt/ # ll /etc/letsencrypt/
''' '''
version = "2024.12.02" version = "2024.12.04"
''' '''
Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors

View File

@ -742,6 +742,7 @@ class trader:
self.is_short = False self.is_short = False
except Exception as e: except Exception as e:
self.broker.logger.log_this(f"Exception in switch_to_long while switching config files: {e}",1,self.pair) self.broker.logger.log_this(f"Exception in switch_to_long while switching config files: {e}",1,self.pair)
self.quit = True
return 1 return 1
#Remove old_long file (if it exists) #Remove old_long file (if it exists)