Files
trading_bot_v4/.github
mindesbunister 43bf97d48b docs: Add Bug #81 to TOP 10 CRITICAL PITFALLS - root cause of $1,000+ losses
Bug #81 (usdToBase wrong price) deserves TOP 10 status because:
- ROOT CAUSE of ,000+ user losses
- Broke working implementation (4cc294b: 100% success rate)
- Positions repeatedly created without stop loss protection
- Database showed NULL signatures despite orders supposedly placed
- User had to manually close multiple positions

This was THE bug that made user say: "we had this working perfectly in the past"

Fix: Reverted usdToBase() to use SPECIFIC price for each order (TP1/TP2/SL)
Status:  DEPLOYED Dec 10, 2025 14:31 CET (commit 55d780c)
2025-12-10 10:54:15 +01:00
..