You can delete a transaction associated with pending transaction activity. You can delete transactions with a status of Pending, Hold, Released, Failedbased on entity and security information, along with message type, event type, trade status, and/or a custom statustrade ticket number. When you delete a transaction, the system removes it from both the PENDING_TRADES table and the PENDING_TRADES_HIST table.
...