question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kucoin ticker API changes

See original GitHub issue
  • Programming Language version: JavaScript
  • CCXT version: 1.18.269
  • Exchange: kucoin2
  • Method: fetchTickers, fetchTicker, parseTicker

When testing, I noticed tickers weren’t getting parsed anymore. Kucoin changed the ticker format to include buy and sell (bid and ask) and removed the open and close properties.

The data format also changed a bit in fetchTickers.

https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=LOOM-BTC

{
	"code": "200000",
	"data": {
		"symbol": "LOOM-BTC",
		"high": "0.0000123",
		"vol": "45161.5073",
		"datetime": 1550654614376,
		"last": "0.00001204",
		"low": "0.00001109",
		"buy": "0.00001186",
		"sell": "0.00001197",
		"changePrice": "0.00000065",
		"changeRate": "0.057"
	}
}
https://openapi-v2.kucoin.com/api/v1/market/allTickers

{
	"code": "200000",
	"data": {
		"date": 1550654263910,
		"ticker": [{
			"symbol": "LOOM-BTC",
			"high": "0.0000123",
			"vol": "45161.5073",
			"last": "0.00001204",
			"low": "0.00001109",
			"buy": "0.00001184",
			"sell": "0.00001196",
			"changePrice": "0.00000065",
			"changeRate": "0.057"
		},

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kroitorcommented, Feb 20, 2019

The recent commits reverted some of the changes related to #4715 so now percentage is wrong again.

Ouch. Pardon, my bad, will upload a refix shortly.

1reaction
rdbrcommented, Feb 20, 2019

Thanks for the fast fix!

The recent commits reverted some of the changes related to https://github.com/ccxt/ccxt/issues/4715 so now percentage is wrong again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

KuCoin API Documentation: General
General. Introduction. Welcome to KuCoin's trader and developer documentation. These documents outline the exchange functionality, market details, and APIs.
Read more >
KuCoin API - An Introductory Guide - AlgoTrading101 Blog
How to get started with KuCoin API? How to get ticker info with KuCoin API? How to get Price Data on KuCoin API?...
Read more >
API Kucoin - eSeGeCe
Kucoin API has 2 types of methods: public and private. Public methods can be accessed without authentication, example: get ticker prices.
Read more >
Welcome to python-kucoin v2.1.3 — python-kucoin 0.2.0 ...
This is an unofficial Python wrapper for the Kucoin exchanges REST and Websocket API v2. I am in no way affiliated with Kucoin, ......
Read more >
How To Get Data From KuCoin Into Google Sheets [API Tutorial]
An endpoint is an API URL that returns the specific data you want from KuCoin. In this section, we will show you how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found