I check:
https://masterchest.info/lookuptx.aspx?txid=7af41a8ccbfd45f2591386fa3688eae4c15b853776f3f1fce4509c910d46f418
and it says that 0.01792170 TMSC were bought with price of 0.02231931 BTC/TMSC (total 0.0004 BTC)
I don't agree with the price calculation, so I check the sell offer:
https://masterchest.info/lookuptx.aspx?txid=fdebcfcaf4d7bceddd206dc1f334d7c5ccb7a6890c0cfe9d7926be6d7d5e2f58
there are 44.80423511 TMSC available and you note there the same price.
I calculate the price in a different way:
https://masterchain.info/selloffer.html?tx=fdebcfcaf4d7bceddd206dc1f334d7c5ccb7a6890c0cfe9d7926be6d7d5e2f58¤cy=TMSC
The seller originally wanted to sell 1000 TMSC and get 1 BTC - this is 0.001 BTC/TMSC.
He had only less than 50 available at the time of the sell order, so eventually he will get much less than 1 BTC, but for buyers, it is just like other buyers have accepted most of the sell offer and left less than 50 TMSC.
How did you get to your price?
Grazcoin
For mymastercoins
The user initially wanted to sell 1000 tmsc for 1 btc
But he only has 44.80423511 system calculates price as 1/44.80423511 = 0.02231931864 per tmsc
I assume the user never thought of a price of 0.02231931864 per tmsc (btw, how many digits are here?) when he entered 1000 tmsc for 1 btc.
Also J.R. directed towards the 1/1000 calculation:
What I mean is, literally don't even store the btc desired. Just calculate the unit price from btc desired and msc for sale and store that instead. Is that difficult? I think that is the most intuitive behavior.
Can we agree on this?