4 Commits

Author SHA1 Message Date
09ac66caa1 Enhance converging triangle detection with new features and performance improvements
- Added support for daily best stocks reporting, including a new CSV output for daily best triangles based on strength.
- Introduced a logging mechanism to capture detailed execution logs, improving traceability and debugging.
- Implemented a v2 optimization for batch detection, significantly reducing detection time from 92 seconds to under 2 seconds.
- Updated the .gitignore file to include new log files and outputs for better management.
- Enhanced the pipeline script to allow for flexible configuration of detection parameters and improved user experience.

Files modified:
- scripts/run_converging_triangle.py: Added logging and v2 optimization.
- scripts/pipeline_converging_triangle.py: Updated for new features and logging.
- scripts/plot_converging_triangles.py: Adjusted for new plotting options.
- New files: discuss/20260127-拟合线.md, discuss/20260128-拟合线.md, and several images for visual documentation.
2026-01-28 18:43:46 +08:00
1a0e27878f 配置 .gitignore 以忽略 Python 缓存文件
变更内容:
- 添加标准 Python .gitignore 规则(__pycache__、*.pyc 等)
- 从 Git 仓库移除已跟踪的 Python 缓存文件
- 添加性能分析输出文件的忽略规则

移除的文件:
- scripts/__pycache__/*.pyc (6个文件)
- src/__pycache__/*.pyc (2个文件)

原因:
- Python 缓存文件是自动生成的,不应提交到版本控制
- 这些文件与 Python 版本和操作系统相关,跨环境不兼容
- 遵循 Python 项目标准实践

影响:
- 减小仓库体积
- 避免无意义的差异
- 提高代码审查质量
2026-01-28 16:38:20 +08:00
dab9768b3b Update documentation and outputs for converging triangle analysis
- Revised README.md to enhance clarity on core functionalities and usage instructions.
- Updated USAGE.md to reflect the new pipeline script and its parameters.
- Modified .gitignore to include additional output files for better management.
- Removed outdated output files (all_results.csv, report.md, strong_breakout_up.csv, strong_breakout_down.csv) to streamline data handling.
- Improved structure and descriptions in documentation for better user guidance.
2026-01-22 15:06:25 +08:00
5455f8e456 Implement converging triangle detection pipeline and enhance documentation
- Added pipeline_converging_triangle.py for streamlined execution of detection, reporting, and chart generation.
- Introduced triangle_config.py for centralized parameter management across scripts.
- Updated plot_converging_triangles.py to utilize parameters from the new config file.
- Revised report_converging_triangles.py to reflect dynamic detection window based on configuration.
- Enhanced existing scripts for improved error handling and output consistency.
- Added new documentation files for usage instructions and parameter configurations.
2026-01-22 11:29:04 +08:00