Remove Portfolio Lot
RemovePortfolioLotPermanently delete a lot from the USER's portfolio, as if it had never been recorded. This is for a lot entered by mistake. It is NOT how a sale is recorded: deleting a lot that was sold destroys its realized profit; use ClosePortfolioLot for that. This cannot be undone, so confirm with the user first, naming the lot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lotId | Yes | The lot id shown by GetMyPortfolio, e.g. a1b2c3d4. | |
| portfolio | Yes | The portfolio holding the lot, by name. |