7 Commits

Author SHA1 Message Date
Simon Moisy
2f98463df8 more uv updates 2025-05-30 15:54:14 +08:00
Simon Moisy
2a52ffde9a cleanup and uv updates 2025-05-30 15:36:43 +08:00
Simon Moisy
170751db0e Implement Google Sheets integration in main.py for batch updates of backtest results
- Added GSheetBatchPusher class to handle background updates to Google Sheets.
- Refactored write_results_per_combination function to write results directly to Google Sheets instead of CSV files.
- Updated process_timeframe function to handle single stop loss percentages.
- Introduced a global queue for batching results and trades for efficient updates.
- Enhanced error handling for Google Sheets API quota limits.
- Adjusted main execution flow to start the batch pusher and ensure all results are pushed after processing.
2025-05-19 02:02:03 +08:00
Simon Moisy
f7f0fc6dd5 Cleanup 2025-05-17 14:48:30 +08:00
Simon Moisy
ec8b1a7cf2 Enhance main.py with optimized data loading, logging setup, and concurrent processing for backtesting. Introduce new functions for data handling and results aggregation. Update TrendDetectorSimple to support meta supertrend backtesting and improve SuperTrend calculations with caching and parallel execution. Refactor TrendDetectorMACD for better performance in trend detection. 2025-05-16 02:44:22 +08:00
cbc6a7493d More analysis WIP 2025-05-08 16:23:25 +08:00
Simon Moisy
0bbe308321 first trend detection WIP 2025-05-06 15:24:36 +08:00