feat: fix Safe Paper Trading display formatting and API sync

- Fixed field mapping between API and frontend (amount→positionSize, entry→entryPrice, createdAt→timestamp)
- Updated API sync function to properly convert API trade format to frontend format
- Resolved display issues: 'Invalid Date', missing entry price, missing trade size
- Added trade monitoring system and automation improvements
- Enhanced automation with simple-automation.js for reliable 24/7 operation
- Working automation now detecting 85% confidence BUY signals and executing trades
This commit is contained in:
mindesbunister
2025-08-07 16:55:41 +02:00
parent ce42b8cade
commit 284e1c8b8c
13 changed files with 901 additions and 11 deletions

5
automation.log Normal file
View File

@@ -0,0 +1,5 @@
nohup: ignoring input
[Thu Aug 7 16:00:18 CEST 2025] Running automation cycle...
🚀 Executing BUY trade at 85% confidence (entry: 171.8)
✅ Trade executed successfully: PAPER_1754575319443_2
💤 Sleeping for 1 hour...