Reset statistics for a strategy.
(self, strategy: str)
| 374 | } |
| 375 | |
| 376 | def reset_strategy(self, strategy: str): |
| 377 | """Reset statistics for a strategy.""" |
| 378 | if strategy in self._stats: |
| 379 | self._stats[strategy] = StrategyStats(strategy) |
| 380 | self._save_tracker() |
| 381 | info(f"Reset statistics for strategy '{strategy}'") |
| 382 | |
| 383 | def clear(self): |
| 384 | """Clear all strategy statistics.""" |
nothing calls this directly
no test coverage detected