Author Topic: How was this trade possible?  (Read 944 times)

0 Members and 1 Guest are viewing this topic.

Offline yvv

  • Hero Member
  • *****
  • Posts: 1186
    • View Profile
How was this trade possible?
« on: July 15, 2016, 02:10:15 pm »
http://cryptofresh.com/tx/e1aeedb37df58fe044195e39051983819ba24e48

At a time of transaction market price was around 4100.

« Last Edit: July 15, 2016, 05:54:04 pm by yvv »

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Re: How was this trade possible?
« Reply #1 on: July 15, 2016, 08:29:16 pm »
Looks like nice found for trolls.

Here: http://cryptofresh.com/tx/126594bc8f069c43b079b1e11002bec96abb4115 i've tryed buy for 300 000 but:

150,000.00000   0.00000002   0.00300   15/07 22:58:33 <= second try, same result
150,000.00000   0.00000002   0.00300   15/07 22:49:30

Here np: http://cryptofresh.com/tx/5f2a6b19f1bf982c2860e58b31adc42b7d2fc7c8

3,000.00000   0.000001   0.00300   15/07 22:07:27

Isn't this should be execute for lower possible price?
« Last Edit: July 15, 2016, 09:08:24 pm by nmywn »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12914
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: How was this trade possible?
« Reply #2 on: July 18, 2016, 10:48:09 am »
There is an open issue report on githib that discussed partial dust orders .. i am quite sure this is what happend to you
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Re: How was this trade possible?
« Reply #3 on: July 18, 2016, 03:22:21 pm »
[member=120]xeroc[/member]
http://cryptofresh.com/b/7971599

I want 1 BTSR for 11 BTS
Sell orders:


i should get: 11/8.999 = ~1,2223
So lets try:


How much i bought?  0,9999+0,2224 =  1,2223 which is correct
Did i bypassed orders? no:
(0.9999+260.5991) − (0.2224+0.9999) = 260,3767 correct  - look sell orders after trade

9.00135 is bullshit, calculation error. Trade was correct.

edit:
Maybe would be not bad idea to set minimal order  ammount to prevent  "24hour change %" manipulations, which is very cheap now.
« Last Edit: July 18, 2016, 03:29:43 pm by nmywn »

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: How was this trade possible?
« Reply #4 on: July 18, 2016, 05:18:53 pm »
[member=120]xeroc[/member]
http://cryptofresh.com/b/7971599

I want 1 BTSR for 11 BTS
Sell orders:


i should get: 11/8.999 = ~1,2223
So lets try:


How much i bought?  0,9999+0,2224 =  1,2223 which is correct
Did i bypassed orders? no:
(0.9999+260.5991) − (0.2224+0.9999) = 260,3767 correct  - look sell orders after trade

9.00135 is bullshit, calculation error. Trade was correct.

edit:
Maybe would be not bad idea to set minimal order  ammount to prevent  "24hour change %" manipulations, which is very cheap now.

2.0019 BTS / .2224 BTSR = 9.00134892 BTS/BTSR is the price at which the second trade was executed.
At a price of 8.999 BTS/BTSR you would have received 2.0019 / 8.999 = .22245805, but BTSR has only 4 decimals precision, that's why it was rounded down.
Works as designed.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Re: How was this trade possible?
« Reply #5 on: July 18, 2016, 06:18:44 pm »
Why displayed trade price must be calculated? Price was known before the trade it was 8.999. Is there any reason why not use that to display last market trades?
« Last Edit: July 18, 2016, 08:01:12 pm by nmywn »

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: How was this trade possible?
« Reply #6 on: July 18, 2016, 08:50:57 pm »
After the trade has happened the original orders no longer exists, only the trade as it was executed.
What the "correct" price is lies in the eye of the beholder I suppose.
With such low volume orders a measurable price difference due to rounding errors is to be expected. Note that the actual difference in value is around 1/1000th of a US cent.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Re: How was this trade possible?
« Reply #7 on: July 19, 2016, 01:36:31 am »
Such a little lie is not a problem when under my balance i have correct value. I prefer to be lied by the interface in this case.
Must be a way to do this right.
Thx for great explanation.