From b33a018445ca13ca85436261f2cc659a0fc8eca5 Mon Sep 17 00:00:00 2001 From: jumpmanjay Date: Tue, 5 Dec 2017 16:21:25 -0600 Subject: [PATCH 1/2] Update bithumb.py fix key error --- python/ccxt/bithumb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ccxt/bithumb.py b/python/ccxt/bithumb.py index a48a24427b50..b65a4ff49d14 100644 --- a/python/ccxt/bithumb.py +++ b/python/ccxt/bithumb.py @@ -71,7 +71,7 @@ def fetch_markets(self): for i in range(0, len(currencies)): id = currencies[i] if id != 'date': - market = markets[id] + market = markets['data'][id] base = id quote = 'KRW' symbol = id + '/' + quote From 9b7dc9c1a84d5d30a5a8c7da941753bd725e43de Mon Sep 17 00:00:00 2001 From: Igor Kroitor Date: Wed, 6 Dec 2017 01:33:18 +0300 Subject: [PATCH 2/2] bithumb fetchMarkets fix (transpiled from JS to Python / PHP) #758 --- js/bithumb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/bithumb.js b/js/bithumb.js index 98621f49ff90..1a5c487dda3b 100644 --- a/js/bithumb.js +++ b/js/bithumb.js @@ -72,7 +72,7 @@ module.exports = class bithumb extends Exchange { for (let i = 0; i < currencies.length; i++) { let id = currencies[i]; if (id != 'date') { - let market = markets[id]; + let market = markets['data'][id]; let base = id; let quote = 'KRW'; let symbol = id + '/' + quote;