feature/issue-49-valueerror-empty-string
main
Resolved conflict in src/main.py by using safe_float() from main instead of float(...or '0') pattern. Changes: - src/main.py: Use safe_float() for consistent empty string handling - All 16 tests pass including test_overseas_price_empty_string
Apply consistent empty-string handling across main.py and scanner.py to prevent ValueError when KIS API returns empty strings. Changes: - src/main.py:110 - Add 'or "0"' for current_price parsing - src/analysis/scanner.py:86-87 - Add 'or "0"' for price/volume parsing - tests/test_main.py - Add test_overseas_price_empty_string - tests/test_volatility.py - Add test_scan_stock_overseas_empty_price Before: ValueError crashes trading cycle After: Empty strings default to 0.0, trading continues Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>