How to Delete Trades in TradeLyser
TradeLyser builds your trades from broker orders, so there is no delete button on a single completed trade. What you can delete is an open position, from the panel you use to close it, or every trade on an account at once with Clear Trades, and then re-import clean data. This page explains both, and how to fix a wrong trade without deleting anything.
Use this page to:
- Remove a stray or duplicate open position.
- Start an account again after a bad CSV import.
- Decide whether you need to delete at all, or just correct fees, tags or the exit.
What you need
| Requirement | Details |
|---|---|
| For an open position | Any plan. The position opens from Open Positions. |
| For Clear Trades | Pro plan. Run from the account's ⋯ actions menu on the Accounts page. |
| A backup | Download CSV in the Trades Log exports the completed trades for the selected account and date range. |
Delete Position removes the position immediately, without a confirmation step. Clear Trades permanently deletes all trades, positions, journals and orders for the account. Neither can be undone, and there is no recycle bin.
What you can and can't delete
| Item | Can you delete it? | How |
|---|---|---|
| An open position | Yes | Delete Position in the Close Position Manually panel |
| A single completed trade | No | Fix the source data instead (see below) |
| All trades on one account | Yes, on Pro | Clear Trades in the account's ⋯ actions menu |
| The whole account | Only once it has no trades | Delete Account in the account's ⋯ actions menu |
Step 1: Export a backup
- Open Trades Log.
- Select the account in the header and set the Dashboard date range to cover the trades you care about.
- Click the Download CSV icon above the table.
Keep the file until you have confirmed the clean-up worked.
Step 2: Delete an open position
Use this for a position that shouldn't exist, for example a duplicate created by a manual entry.
- Open Open Positions and click the position. Its Trade Details page opens.
- Click Close Position Manually. A side panel opens.
- Click Delete Position. The position is deleted straight away and a Position Deleted message appears.
If the position is real and you simply closed it outside TradeLyser, close it instead with an exit price so the trade is kept. See Close an open position.
Step 3: Clear all trades on an account (Pro)
Use this when an import went wrong and the simplest fix is to start the account again.
- Open the Accounts page.
- Open the account's ⋯ actions menu and choose Clear Trades.
- Type CLEAR to confirm.
- All trades, open positions, journal days and orders for that account are deleted. The account itself and its settings stay.
- Re-import correct data with Import Trade or Import Template, or sync again. Note that Sync Trades fetches only today's orders, and Sync History works only for Dhan, ICICI and Upstox.
Fix a wrong trade without deleting it
Most problems that make people want to delete a trade have a better fix:
| Problem | Fix |
|---|---|
| Fees or taxes are wrong | Check Set Fees & Tax on the account. See Configure fees and tax. |
| P&L doesn't match your broker | Check the account's calculation method. It can't be changed, so add a new account with the method you want. See Incorrect P&L. |
| A trade is still open because the exit is missing | Sync again, or use Close Position Manually with the exit price. |
| Wrong tags, rating or strategy | Change them on Trade Details. See Edit a trade. |
| A whole import was wrong | Clear Trades (Pro), then import a corrected file. |
Troubleshooting
| Problem | Fix |
|---|---|
| There is no delete option on a trade | Expected. Single completed trades can't be deleted. Use the fixes above. |
| Clear Trades isn't in the menu | It needs the Pro plan. |
| Delete Account says Cannot delete account | The account still has trades. Archive it instead (Pro), or clear its trades first. |
| I deleted something by mistake | Deletion can't be undone. Re-import the trades from your broker file or backup CSV. |
Frequently asked questions
Can I delete a single trade in TradeLyser?
Not a completed trade. You can delete an open position, or clear every trade on an account (Pro) and re-import.
Can I recover deleted trades?
No. There is no recycle bin. Re-import from your broker's file or the CSV you downloaded from the Trades Log.
Can I delete an account that has trades?
No. Delete Account shows Cannot delete account while trades are assigned to it and suggests archiving instead. Archive Account (Pro) hides an account you no longer use. To delete it completely, clear its trades first.
How do I remove duplicate trades after an import?
Clear the account's trades (Pro) and import one clean file, or check Missing trades and CSV import errors for the cause.