Files
crypto_monitor_user/.cursor/rules/no-touch-existing-positions.mdc
dekun 53863559f4 Initialize crypto_monitor_user (user edition) from monitor codebase.
Retarget git remote, install path, and deploy docs from crypto_monitor to crypto_monitor_user.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 16:18:13 +08:00

15 lines
734 B
Plaintext

---
description: Never trade or close the user's existing option/perp positions during testing
alwaysApply: true
---
# Do not touch existing positions
When testing option open/close, pending orders, monitors, or any live exchange path on this project:
- **Never** flatten, reduce, cancel-close, or otherwise close positions the user already holds.
- **Never** reuse an existing live position for smoke tests.
- If a live trade test is required: open a **new** minimal test position only after explicit approval, then close **only that test position**.
- If the only way to verify something needs an existing position: **stop and ask the user first**.
- Prefer unit tests / dry paths over live orders when sufficient.