-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
### Overall Objective:
Enhance the trader-magic system by adding liquidation controls and symbol-specific trading state management to improve trading safety and usability.
### Phase Objective:
Implement a “Liquidate” button within each symbol’s card allowing users to liquidate holdings of that specific symbol and stop trading on confirmation.
### Tasks for This Phase:
• Add a clearly identifiable “Liquidate” button within each symbol’s UI card.
• Implement a confirmation prompt that clearly communicates the impact of liquidating that specific symbol.
• Develop backend logic (via Alpaca API’s DELETE /v2/positions/{symbol} endpoint) to liquidate holdings of the targeted symbol.
• Upon successful liquidation, ensure trading activity is immediately halted for only that specific symbol.
• Include appropriate error handling and feedback messages in the UI and backend processes.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels