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.

okex, okcoincny symbols are out of sync

See original GitHub issue

Looks like they have changed their quote currency from ‘USD’ to ‘USDT’.

> node examples/js/cli.js okex fetchMarkets
[...skip...]
  'ETH/USD': 
   { id: 'eth_usd',
     symbol: 'ETH/USD',
     base: 'ETH',
     quote: 'USD',
     type: 'spot',
     spot: true,
     future: false },
[...skip...]
> node examples/js/cli.js okex fetchTicker ETH/USD --verbose
okex GET https://www.okex.com/api/v1/ticker.do?symbol=eth_usd 
Request:
 undefined undefined
okex GET https://www.okex.com/api/v1/ticker.do?symbol=eth_usd 
Response:
{"error_code":1007}
[EXCEPTION] okex {"error_code":1007}

    at request        js/okcoinusd.js:502                throw new ExchangeError (this.id + ' ' + this.json (response));
    at _tickCallback  internal/process/next_tick.js:188                                                                 
> curl https://www.okex.com/api/v1/ticker.do?symbol=eth_usdt
{"date":"1510054841","ticker":{"high":"305.00","vol":"942.94","last":"303.00","low":"297.33","buy":"302.11","sell":"302.50"}}:air:~/src/ccxt max$ curl https://www.okex.com/api/v1/ticker.do?symbol=eth_usdt

I’m quite afraid or touching it by myself as I’m not familiar with this constellation of OK* exchanges.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
86chenjiecommented, Nov 8, 2017

from what i understand, ccxt should mainly focus on okex, not okcoin.com nor okcoin.cn

1reaction
mkutnycommented, Nov 8, 2017

Now, looking at these tables I’m starting to see a logic behind them.

Since all OKCoinUSD markets are now covered with OKEX, and OKCoinUSD does not support USD deposits/withdrawals I bet that they will eventually shut it down.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ccxt Documentation - Read the Docs
A more detailed documentation on using proxies with the sync python version of the ccxt library can be found here: 4.1. Python Proxies....
Read more >
Scope of Integration - CoinAPI
OKCOINCNY, OKCoin CNY, 2013-06-12, 2018-03-09, 2 ... Code, Name, Type, First data, Last data, Symbols ... SYNC, Sync, Crypto, 2016-05-29, 2022-12-27, 18.
Read more >
▷ Download the PHP library dav-knafo/ccxt +++ One click!
A JavaScript / Python / PHP cryptocurrency trading library with support for more than 90 bitcoin/altcoin exchanges ✓ Download and install dav-knafo/ccxt ...
Read more >
Background sync does not work · Issue #55 · keepassium ... - GitHub
Background sync does not work · Issue #55 · keepassium ... - GitHub full information ... okex, okcoincny symbols are out of sync...
Read more >
Coinmama | Buy and Sell Cryptocurrency Online - Yekjzjoct
okex, okcoincny symbols are out of sync · Issue #485 · ccxt/ccxt · GitHub . Fees. بينما تعمل منصة “OKCoin” في الصين حتى...
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