Client
Cryptocompare Api - 了解 API 返回值
我遇到了來自 cryptocompare.com 的 API,它從各種交易所獲取數據。
我不明白 API 呼叫返回的一些值
<https://min-api.cryptocompare.com/data/pricemultifull?fsyms=BTC&tsyms=INR&e=Unocoin>
問題
- LASTVOLUME 和 LASTVOLUMETO 的區別
- VOLUME24HOUR 和 VOLUME24HOURTO 的區別
- TOTALVOLUME24H 和 TOTALVOLUME24HTO 的區別
{ "RAW": { "BTC": { "INR": { "TYPE": "2", "MARKET": "Unocoin", "FROMSYMBOL": "BTC", "TOSYMBOL": "INR", "FLAGS": "2", "PRICE": 847591, "LASTUPDATE": 1512451304, "LASTVOLUME": 0.00139926, "LASTVOLUMETO": 1186.00018266, "LASTTRADEID": "478501", "VOLUME24HOUR": 75.19298754, "VOLUME24HOURTO": 61956574.46784429, "OPEN24HOUR": 837298, "HIGH24HOUR": 860506, "LOW24HOUR": 491500, "CHANGE24HOUR": 10293, "CHANGEPCT24HOUR": 1.2293114279503832, "CHANGEDAY": 0, "CHANGEPCTDAY": 0, "SUPPLY": 16720800, "MKTCAP": 14172399592800, "TOTALVOLUME24H": 319738.400426581, "TOTALVOLUME24HTO": 271005614230.93204 } } }, "DISPLAY": { "BTC": { "INR": { "FROMSYMBOL": "Ƀ", "TOSYMBOL": "₹", "MARKET": "Unocoin", "PRICE": "₹ 847,591.0", "LASTUPDATE": "Just now", "LASTVOLUME": "Ƀ 0.001399", "LASTVOLUMETO": "₹ 1,186.00", "LASTTRADEID": "478501", "VOLUME24HOUR": "Ƀ 75.19", "VOLUME24HOURTO": "₹ 61,956,574.5", "OPEN24HOUR": "₹ 837,298.0", "HIGH24HOUR": "₹ 860,506.0", "LOW24HOUR": "₹ 491,500.0", "CHANGE24HOUR": "₹ 10,293", "CHANGEPCT24HOUR": "1.23", "CHANGEDAY": "₹ 0", "CHANGEPCTDAY": "0", "SUPPLY": "Ƀ 16,720,800.0", "MKTCAP": "₹ 14,172.40 B", "TOTALVOLUME24H": "Ƀ 319.74 K", "TOTALVOLUME24HTO": "₹ 271.01 B" } } } }
VOLUME…TO 顯示以 INR 為單位的交易量,沒有 TO 則顯示以比特幣為單位的交易量。
由於一個比特幣約為 750 000 INR,過去 24 小時內由 75 個比特幣組成的數量相當於 61956574 INR 貨幣的數量。