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.

This commit is contained in:
2026-01-09 19:53:01 +08:00
parent a25499e016
commit c4aa965a98
15 changed files with 424 additions and 568 deletions

13
__init__.py Normal file
View File

@@ -0,0 +1,13 @@
from __future__ import annotations
__all__ = [
"config",
"data",
"indicators",
"market_costs",
"intrabar",
"trade",
"metrics",
"logging_utils",
"backtest",
]