fixed buy and sell transactions

This commit is contained in:
smypmsa
2025-03-06 16:13:59 +00:00
parent 25c304f0fe
commit a7b2c135f9
-7
View File
@@ -168,13 +168,6 @@ class PumpTrader:
elif marry_mode:
logger.info("Marry mode enabled. Skipping sell operation.")
# Wait before looking for the next token
if yolo_mode:
logger.info(
f"YOLO mode enabled. Waiting {config.WAIT_TIME_BEFORE_NEW_TOKEN} seconds before looking for next token..."
)
await asyncio.sleep(config.WAIT_TIME_BEFORE_NEW_TOKEN)
except Exception as e:
logger.error(f"Error handling token {token_info.symbol}: {str(e)}")