Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_markets on kucoin exchange showup error. maybe api is change #2269

Closed
jackyxie opened this issue Mar 15, 2018 · 3 comments
Closed

load_markets on kucoin exchange showup error. maybe api is change #2269

jackyxie opened this issue Mar 15, 2018 · 3 comments
Assignees

Comments

@jackyxie
Copy link

  • OS: ubuntu 16.04
  • Programming Language version: PHP7
  • CCXT version:1.10.1
  • Exchange:kucoin
  • Method:load_markets

PHP Notice: Undefined index: data in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 192

Notice: Undefined index: data in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 192
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 194

Warning: count(): Parameter must be an array or an object that implements Countable in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 194
PHP Notice: Undefined index: data in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 254

Notice: Undefined index: data in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 254
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 256

Warning: count(): Parameter must be an array or an object that implements Countable in /home/task/vendor/ccxt/ccxt/php/kucoin.php on line 256
PHP Fatal error: Uncaught Predis\Response\ServerException: ERR wrong number of arguments for 'hmset' command in /home/task/vendor/predis/predis/src/Client.php:370

@kroitor kroitor self-assigned this Mar 15, 2018
@mkutny
Copy link
Contributor

mkutny commented Mar 16, 2018

Your ccxt is outdated, consider upgrading it first.

@jackyxie
Copy link
Author

jackyxie commented Mar 16, 2018

@mkutny Thanks, the latest version is ok. the btctradeim market api address to be change from www.btctrade.im to api.btctrade.im . which can solve the cloudflare protection.

"[DDoS Protection Error] btctradeim GET https://www.btctrade.im/coin/btc/allcoin?t=1521211075277 503 not accessible from this location at the moment (ignoring)"

@mkutny
Copy link
Contributor

mkutny commented Mar 16, 2018

Thanks! Fixed in #2283.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants