clear_trades_history
Permanently delete OctoBot's stored trade history after explicit confirmation, preventing accidental data loss.
Instructions
Permanently clear OctoBot's stored trades history. Confirm-gated (ADR-0003).
If confirm is not exactly true, no OctoBot call is made at all --
this returns require_confirmation's structured refusal (a normal
return, not an error) instead.
Once confirmed, maps to POST /api/clear_trades_history ([V],
re-confirmed against source this session -- see this module's
docstring). Returns OctoBot's own JSON body unchanged (NFR-8):
{"title": "Cleared trades history"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |