1 Commits

Author SHA1 Message Date
mindesbunister
40d69b13ef wip: Emergency order restoration endpoint (has singleton issues)
- Created /api/trading/place-exit-orders endpoint
- Created restore-orders.mjs script
- Issue: Next.js creates separate Drift instances per route
- Workaround: Use /api/trading/cancel-orders to remove orphaned orders

Current situation:
- 32 orphaned orders existed and were cancelled
- Position Manager should auto-place new orders
- Manual order placement endpoint needs refactoring
2025-11-16 22:10:15 +01:00