R-Ticker
R-Ticker
Get live access to price movements across the crypto market.
Overview
The ticker is a system that periodically sends requests to the API to retrieve real-time trading pairs and price information from the exchange.
- Only trading pairs with USDT are used.
- Data is sent to Redis and users’ Centrifugo channels.
Important
- Users must obtain a token via
api/v1/ws/loginto use the ticker.
Basic Working Principle
- A request is sent to the API every 5 seconds.
- If the response is anything other than
200or connection issues occur, the system waits 10 seconds before retrying the request.
Processing Response Data
lastPrice: The real-time price of a specific trading pair (e.g., BTCUSDT).priceChange: The difference between the last price and the previous price, indicating how much the price has changed.priceChangePercent: The percentage change in price, showing how much the trading pair has increased or decreased.
Ticker on Kraken Exchange
Some coins have different symbols on the Kraken exchange and are converted to the desired format:
- XDG ➜ DOGE
- XXDG ➜ DOGE
- XBT ➜ BTC
- XXBT ➜ BTC
- XETC ➜ ETC
- XETH ➜ ETH
- XLTC ➜ LTC
- XREP ➜ REP
- XXLM ➜ XLM
- XXMR ➜ XMR
- XXRP ➜ XRP
- XZEC ➜ ZEC
- ZCAD ➜ CAD
- ZEUR ➜ EUR
- ZGBP ➜ GBP
- ZJPY ➜ JPY
- ZUSD ➜ USD
- XMLN ➜ MLN