An orderbook call of an asset pair returns bids
as, for example:
amount: "599.3762459"
price: "0.0599376"
price_r:
d: 10427507
n: 625000
where the amount
should be 10,000
. Whereas, asks
are returned as:
amount: "10000.0000000"
price: "0.0601957"
price_r:
d: 10000000
n: 601957
accurately reflecting the amount
.
How does one compute or get the accurate bid amount? I tried all sorts of multiplication and division with big numbers but I could not quite get to an accurate 10,000
for the bid.
(The asset pair is XLM
[native
] and USD
[GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX
].)