Skip to content

Public The Lastest 24 Hours Price

CoinTiger-API edited this page Feb 28, 2018 · 2 revisions

The Lastest 24 Hours Price

Request

{
 "event":"sub",
 "params":{
 	    "channel":"market_$base$quote_ticker",
 	    "cb_id":"customize"
 	  }
}

Return Subscription Status 1 Time

{
  "event_rep":"subed",
  "channel":"market_$base$quote_ticker",
  "cb_id":"Return at the same way",
  "ts":1506584998239,
  "status":"ok"
}

Continue To Return Subscribed News

{
	"channel":"market_$base$quote_ticker",
		//Subscribed trading pairs price in the market $base$quote indicate btckrw etc.
	"ts":1506584998239,//request time
	"tick":{
		"id":1506584998,//Redundancy, meaningless, timestamp
		"amount":123.1221,//Transaction amount
		"vol":1212.12211,//Trading volume
		"open":2233.22,//Opening price
		"close":1221.11,//Closing price
		"high":22322.22,//The highest price 
		"low":2321.22,//The lowest price
		"rose":-0.2922,//Percentage of increase
		"ts":1506584998239//Data generation time
	       }
}

Websocket API Interface

REST API Interface

Clone this wiki locally