clear_portfolio_history
Permanently delete OctoBot's stored historical portfolio values. Requires explicit confirmation to proceed; without it, the deletion is refused.
Instructions
Permanently clear OctoBot's stored historical portfolio values. 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_portfolio_history ([V],
re-confirmed against source this session -- see this module's
docstring). Returns OctoBot's own JSON body unchanged (NFR-8):
{"title": "Cleared portfolio history"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |