Closed Dolivent closed 3 years ago
hmm damn I thought I'd protected against this already. Apparently I messed it up, but definitely need this!
Tested again (1/2 trim button):
Tested again (1/3 trim button):
The app appears to update the stop for the first click and not the subsequent clicks. Should also prompt user in case they accidentally double click the trim button
Trim buttons should be able to sell no more than the shares you own. Even if you submit a trim order, it hasn't been filled, and you click the button again (for whatever reason). A scenario where this is critical is if someone accidentally double clicks and submits sell orders in total in excess of what they have available to sell