Author Topic: blockchain_market_price_history returns price from quote but volume from base  (Read 1137 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

Yes. Volume measurements are always given in the base asset.

You're right - I was confused.
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline modprobe

Yes. Volume measurements are always given in the base asset.

Offline monsterer

When calling

Code: [Select]
blockchain_market_price_hostory ["USD","BTSX","20141003T000000",86400,"each_day"]
we get:

Code: [Select]
{"timestamp":"20141004T000000","highest_bid":0.032679738562091512,"lowest_ask":0.030519999755840001,"opening_price":0.032880567913168998,"closing_price":0.032880567913168998,"volume":99851850031,"recent_average_price":null}
which has price in USD (quote price) but volume in BTSX (base volume).

Is this by design?

Cheers, Paul.
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads