What problem does it solve?
Manual tracking of trading day cooldowns for stock trades is error-prone, especially when accounting for weekends and market holidays. For traders—particularly H1B visa holders—accidentally executing round-trip trades within the required cooldown period can lead to violations of FINRA's pattern day trader rule or unexpected IRS tax classification of trading income.
Core Features & Use Cases
- Automated Cooldown Filtering: Automatically separates a stock trading pool into compliant sellable and buyable sets based on a configurable 2-trading-day cooldown rule that excludes weekends and holidays from the count.
- Edge Case Handling: Built-in logic for newly added pool stocks, future-dated timestamps from clock skew, and empty pools to ensure consistent, reliable output.
- Use Case: Integrate this skill into an autonomous trading system to guarantee no trade orders are placed for stocks that are still within the cooldown window, eliminating accidental regulatory or tax violations.
Quick Start
Use the safe_trading_v2 skill to filter your stock trading pool into compliant sellable and buyable sets based on your configured cooldown rules.