bigshortbets / market-frontend

BigShortBet$ P2P Market is a cutting-edge peer-to-peer marketplace built on the principles of decentralization that allows direct P2P trading on unique & event-based markets. Enjoy ultra-low fees and no swaps. Powered by $BigSB.
https://app.bigsb.io
GNU General Public License v3.0
2 stars 4 forks source link

Positions should have a special status when a closing order is created #63

Closed B3fromSuffering closed 3 weeks ago

B3fromSuffering commented 3 months ago

There is no way to differentiate possition with closing order from one without closing order.

closing the position

This may lead to error:

image

Steps to reproduce:

  1. make the transaction
  2. use "Close" button in Positions tab to close the position
  3. create close order and sign the transation
  4. use "Close" button in Positions tab to close the same position