#!/bin/bash # # Sync Position Manager with actual Drift positions # Useful when things get out of sync (partial fills, restarts, manual trades) # source /home/icke/traderv4/.env curl -X POST http://localhost:3001/api/trading/sync-positions \ -H "Authorization: Bearer ${API_SECRET_KEY}" \ -H "Content-Type: application/json" \ | jq '.'