Trade History - Complete API Reference Fetch, sync, and analyze trade history from Polymarket and Kalshi with detailed performance metrics. --- Chat Commands Fetch & Sync View History Statistics P&L Analysis Export Filtering --- TypeScript API Reference Create History Service Fetch Trades from APIs Sync to Database Get Trades Statistics Daily P&L Performance by Market Export --- Database Schema --- Best Practices 1. Sync regularly - Keep local database up to date 2. Export backups - Periodically export to CSV 3. Review weekly - Analyze performance patterns 4. Track by category - Identify stro…