Main Menu

Wrong amount in small orders

Started by ElMato, March 18, 2015, 08:47:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pc

Quote from: ElMato on March 18, 2015, 08:47:02 AM
When i submit a bid wanting to buy 8 BTS @ 0.000132555 USD i get this in the orderbook.
0.0010 USD                7.54403 BTS                     0.000132555000 USD

Why i don't get the full 8 BTS?

For 8 BTS you'd have to pay .001060440000 USD. But USD is limited to 4 decimals, so you can either have 7.54403 for .001 USD or 8.29844 BTS for .0011 USD. Apparently the client is always rounding down.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 [url="http://bitcoin.quisquis.de"]http://bitcoin.quisquis.de[/url]

ElMato

When i submit a bid wanting to buy 8 BTS @ 0.000132555 USD i get this in the orderbook.
0.0010 USD                7.54403 BTS                     0.000132555000 USD

Why i don't get the full 8 BTS?

When buying 4 BTS
0.0005 USD                3.81679 BTS                     0.000131000000 USD

When buying 2 BTS
0.0002 USD                1.65289 BTS                     0.000121000000 USD

Is this a precision problem?