行情API

獲取行情 (GET)

BTC:https://www.bitstarex.com/real/market2.html?symbol=1

ETH:https://www.bitstarex.com/real/market2.html?symbol=3

LTC:https://www.bitstarex.com/real/market2.html?symbol=2

HTC:https://www.bitstarex.com/real/market2.html?symbol=4

DOGE:https://www.bitstarex.com/real/market2.html?symbol=5

BCC:https://www.bitstarex.com/real/market2.html?symbol=6

ETC:https://www.bitstarex.com/real/market2.html?symbol=7

BTG:https://www.bitstarex.com/real/market2.html?symbol=8

USDT:https://www.bitstarex.com/real/market2.html?symbol=9


返回結果示例:
{"p_new":75000,"high":0,"low":0,"vol":0,"buy1":75000,"sell1":75000,"sells":[],"buys":[],"trades":[]}
sells:{"id":1,"price":76517,"amount":0.3}
buys:{"id":1,"price":75100,"amount":0.12}
trades:{"id":1,"time":"08:28:44","price":"76517.0","amount":"2.5","en_type":"ask","type":"賣出"}

返回結果說明:
p_new:最新成交價
high:最高價
low:最低價
vol:成交量
buy1:買一價
sell1:賣一價
sells:買單集合
buys:賣單集合
trades:最新成交記錄

sells集合內 price 賣出金額 amount 數量
buys集合內 price 買入金額 amount 數量
trades集合內 time時間 price金額 amount數量 type類型