Main Menu

Sell and buy order overlap!

Started by ncinic, February 11, 2016, 04:06:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ncinic


Xeldal

Quote from: ncinic on February 11, 2016, 04:06:27 PM
Some decided to sell an asset and buy the asset with BTS for the same  price?
What if someone places an order to sell and an order to buy that was the same?
This is normal operation.  They would match and a trade would take place at that price.  If i understand the question. 

Quote from: ncinic on February 11, 2016, 04:06:27 PM
What if someone placed and order to sell  ASSET @ 20 BTS and an order to buy ASSET @ 30 BTS, so that the orders overlap.

I think whichever order was received first by the signing witness for that block would be the price it was executed at.
If the buy @ 30 was received before the sell.  the trade would happen at 30
If the sell @ 20 was received before the buy.  the trade would happen at 20

testz

Quote from: ncinic on February 11, 2016, 04:06:27 PM
What would happen if:

Some decided to sell an asset and buy the asset with BTS for the same  price?
What if someone places an order to sell and an order to buy that was the same?
What if someone placed and order to sell  ASSET @ 20 BTS and an order to buy ASSET @ 30 BTS, so that the orders overlap.

I hope I made myself clear. :)

How will the blockchain deal with this, and has this been tested by someone?

You can do your investigation at the test network here  :) : http://testnet.bitshares.eu

yvv

Why don't you go ahead, and test it yourself?

ncinic

What would happen if:

Some decided to sell an asset and buy the asset with BTS for the same  price?
What if someone places an order to sell and an order to buy that was the same?
What if someone placed and order to sell  ASSET @ 20 BTS and an order to buy ASSET @ 30 BTS, so that the orders overlap.

I hope I made myself clear. :)

How will the blockchain deal with this, and has this been tested by someone?