62c470b3de
Refactor dotenv loading in config.py to simplify environment variable management by removing the fallback logic and directly loading the .env file.
Simon2026-01-15 21:11:09 +08:00
44fac1ed25
Remove deprecated modules and files related to the backtesting framework, including backtest.py, cli.py, config.py, data.py, intrabar.py, logging_utils.py, market_costs.py, metrics.py, trade.py, and supertrend indicators. Introduce a new structure for the backtesting engine with improved organization and functionality, including a CLI handler, data manager, and reporting capabilities. Update dependencies in pyproject.toml to support the new architecture.
Simon2026-01-12 21:11:39 +08:00
c4aa965a98
Add initial implementation of backtesting framework with CLI interface. Introduce core modules for data loading, trade management, performance metrics, and logging. Include Supertrend indicator calculations and slippage estimation. Update .gitignore to exclude logs and CSV files.
main
Simon2026-01-09 19:53:01 +08:00
a25499e016
Refactor backtesting logic to include slippage estimation, enhancing trade execution realism. Update load_data function to accept a CSV file parameter. Improve summary output with slippage metrics and adjust main script for new slippage configuration. Correct typos in project documentation.
Simon Moisy2025-08-18 09:57:01 +08:00
21b14d4fe4
Enhance backtesting functionality by adding date range parameters to load_data, improving ATR calculation, and refining trade logic with meta Supertrend signals. Update README with detailed usage instructions and requirements. Add CSV logging for trade results and performance metrics. Include ta library as a dependency in pyproject.toml.
Simon Moisy2025-08-12 10:33:17 +08:00
56dca05a3e
Initial project setup with Python version 3.12, main script for backtesting trading strategies, and configuration files for project management. Added necessary dependencies and documentation structure.
Simon Moisy2025-08-05 12:08:59 +08:00