BitShares Forum

Main => General Discussion => Topic started by: Xeldal on February 21, 2016, 06:34:24 pm

Title: Order skips existing book and partially fills at arbitrary higher price?
Post by: Xeldal on February 21, 2016, 06:34:24 pm
(http://content.screencast.com/users/Enkianu/folders/Jing/media/8a6ffbf8-036c-4ff9-ab5b-7f3f042a8bef/2016-02-21_1229.png)
(http://content.screencast.com/users/Enkianu/folders/Jing/media/2203d5e4-f681-466a-81f6-1139c55fc246/2016-02-21_1232.png)
(http://content.screencast.com/users/Enkianu/folders/Jing/media/3145d7b2-1c09-47b2-a2b2-cf704d8c5021/2016-02-21_1226.png)


Can anyone explain this?

http://cryptofresh.com/b/3739808
Title: Re: Order skips existing book and partially fills at arbitrary higher price?
Post by: testz on February 21, 2016, 06:37:21 pm
Let's ask @bytemaster @xeroc
Title: Re: Order skips existing book and partially fills at arbitrary higher price?
Post by: clayop on February 21, 2016, 06:46:48 pm
The original order was 22 OBITS/BTS.
And the order was partially filled, leaving 0.00428 BTS and 0.00019 OBITS. Here, 0.00009 OBITS are removed due to the precision.
As you may know, the tx still contains the original order info to calculate the price ratio. So his price ratio is still 22.

But when the order is filled, he got 0.00428 BTS while the buyer got 0.0001 OBITS instead of 0.00019 OBITS. This is the cause.