What problem does it solve?
This Skill eliminates the manual effort of saving, rolling up, and pruning trading state snapshots for the ClaudeTrading paper trading system, ensuring consistent, local record-keeping of all trading activity without user intervention.
Core Features & Use Cases
- Automated Tick Snapshots: Captures a full record of every trading tick, including account equity, open positions, executed strategy actions, and equity delta from the prior tick, to a timestamped local file.
- Conditional Daily/Weekly Rollups: Automatically aggregates per-tick data into end-of-day summary snapshots (with opening/closing equity, daily P/L, all actions, and final positions) and end-of-week aggregates for performance tracking, only firing when the relevant market calendar condition is met.
- Automatic Pruning: Removes per-tick snapshots older than the configurable 7-day retention window by default, while retaining daily and weekly snapshots indefinitely to avoid unnecessary disk bloat.
- Use Case: For paper traders using ClaudeTrading, this Skill ensures all trading state is persistently stored locally without manual work, with built-in performance rollups and automatic cleanup of outdated tick data.
Quick Start
Use the state_persistence_v2 skill to automatically save trading state snapshots, generate daily and weekly performance summaries, and prune old tick records as part of your ClaudeTrading paper trading workflow.