| name | clear-backtesting-cache |
| description | Delete cached indicator data used by backtesting, grid search, and optimiser notebooks. |
Delete the indicator cache directory at ~/.cache/indicators/.
This cache stores pre-calculated indicator results (e.g. from grid search / optimiser runs) as pickle files on disk. Clearing it forces indicators to be recalculated on the next notebook run.
rm -rf ~/.cache/indicators
After deleting, report the size of the deleted directory if available, or confirm deletion.
If this is an optimiser notebook, also delete its optimiser cache folder. The cache path should appear in the perform_optimisation() output, for example:
/Users/moo/.cache/tradingstrategy/grid-search/42-hyperliquid-univ-daily-august-start