decred / dcrdex

The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
Other
184 stars 92 forks source link

should we implement stop-limit orders #2661

Open buck54321 opened 9 months ago

buck54321 commented 9 months ago

A stop-limit order places a buy or sell order once the market price crosses a specified threshold. As compared to a centralized exchange, a stop-limit order on dcrdex would have some differences. Everything would be implemented client-side. The server would not know the order exists until it is placed, and even then it would just be a standard limit order. This has a couple of implications. 1) This increased privacy prevents the server from insider trading based on queued stop-limits, but 2) the client loses the potential advantage of sequenced execution that a cex would provide.

peterzen commented 9 months ago

+1, this would be very useful