-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Is your feature request related to a problem? Please describe.
It's somewhat related to #424, wherein imprecisely displayed share positions make it difficult to fully close one's entire position even manually, but ultimately orthogonal.
Describe the solution you'd like
Most trading platforms support some way of easily prefilling a sell order with one's entire current position. In the Augur UI, I think it'd be best to either simply allow clicking on the "Position" row, or, alternatively, have a per-row "Close" button there (similar to the "Cancel" button in the "Open Order" row).
Specifically, it would simply set the order entry form's type to "Sell" for long positions or "Buy" for short ones, set the currently selected outcome to be the one associated with the position, populate the order's quantity with the position's quantity, and leave the limit price field unchanged or blank.
Describe alternatives you've considered
Examples from other trading interfaces I've used recently include:
-
pro.coinbase.com presents a "max" button associated with the order quantity field. Perfectly reasonable, but more complicated: it would also have to work for opening new positions, in which case 1) the limit price would already have be filled in, since it's required to know the quantity of any new shares, 2) the quantity would also depend on the current gas price and 3) it wouldn't be exact anyway, since you never know the final gas cost. In my opinion it is simpler to handle closing existing positions only.
-
kraken.com shows "available amount" near the order quantity field, which populates the field with itself when clicked. In my opinion, this is kind of redundant since the position quantity is already shown on the same screen (albeit not correctly per [BUG]Rounded or truncated position/quantity makes selling all shares difficult #424), but might be easier to implement since there'd be no need to automatically change the currently selected outcome.
-
fidelity.com has "Sell All Shares" as a third order type alongside "Buy" and "Sell" which more or less works with their UI but doesn't seem to make much sense for Augur's.