**Problem:** Config had minOrderSize: 0.01 ETH for ETH-PERP, but user successfully opens positions as small as $4-8 (0.001-0.002 ETH at ~$4000/ETH). Database shows successful ETH trades: - $8 positions = 0.002 ETH at $4000/ETH - $4 positions = 0.001 ETH at $4000/ETH **Actual Drift Minimum:** 0.001 ETH (~$4 at $4000/ETH), NOT 0.01 ETH **Fix:** Updated config/trading.ts: - minOrderSize: 0.01 → 0.001 ETH - Updated comment to reflect actual minimum **Impact:** - ✅ Accurate minimum validation - ✅ Small runner positions (0.0005-0.001 ETH) won't be falsely flagged - ✅ Prevents incorrect "forcing 100% close" on valid sizes - ✅ Allows proper data collection at $4 position size **Note:** The previous fix for checking minOrderSize before close is still valid and needed - it just now uses the correct minimum (0.001 instead of 0.01).
14 KiB
14 KiB