bitshares / bitshares1-core

Software to run the old chain (before 2015-10-13). Code for current chain is https://github.com/bitshares/bitshares-core
https://bitshares.org/
The Unlicense
218 stars 174 forks source link

Shorting with a price limit results in unexpected resulting short quantity #1541

Open Troglodactyl opened 9 years ago

Troglodactyl commented 9 years ago

Currently, the quantity field is inaccurate when creating a short order with a price limit if that short order is executed at the price limit rather than at the feed.

This may be a UI issue with the quantity/collateral calculations, or it may require deeper changes. Since the underlying function only takes the collateral amount and the price limit and not the desired amount of MIA to create, does the actual position opened depend on price of execution or on feed at time of order creation?

pmconrad commented 9 years ago

duplicate: #1532