fix: handle empty strings in price data parsing (issue #49) #50
Reference in New Issue
Block a user
Delete Branch "feature/issue-49-valueerror-empty-string"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
or "0"pattern to handle empty strings across main.py and scanner.pyChanges
or "0"forcurrent_priceparsingor "0"for price/volume parsingtest_overseas_price_empty_stringtest_scan_stock_overseas_empty_priceBefore/After
Before:
Trading cycle crashes, system stops processing stocks.
After:
Empty strings default to
0.0, trading cycle continues normally.Test Results
Impact
Closes #49
🤖 Generated with Claude Code