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:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ouch. Pardon, my bad, will upload a refix shortly.
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.