diff --git a/src/main_ml.py b/src/main_ml.py index e97b6e4..9572869 100644 --- a/src/main_ml.py +++ b/src/main_ml.py @@ -156,7 +156,7 @@ class TradingBotV03: 'entry_price': entry_price, 'qty': qty, 'order_id': order.get('orderId'), - 'entry_time': datetime.now() + 'entry_time': datetime.now().isoformat() } logger.info(f"BUY: {qty} {symbol} @ ${entry_price:.2f} (${qty*entry_price:.2f})") @@ -279,3 +279,4 @@ if __name__ == '__main__': bot.run() +