e5fb218ac0
Extract duplicated date parsing logic into a reusable _parse_deal_dates helper method. This centralizes error handling, validation, and date grouping logic across multiple market analysis functions. Key improvements: - DRY: Eliminates code duplication across three functions - Implements time_period_months filtering (fixes unused parameter bug) - Returns both monthly and quarterly breakdowns in one pass - Consistent error handling and logging - Better maintainability This change fixes the unused time_period_months parameters in both calculate_market_activity_score and get_market_liquidity functions. Addresses PR #2 review comments on lines 1013, 1058, and 1257. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>