aboutsummaryrefslogtreecommitdiff
path: root/ccxt_wrapper.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-09 11:52:45 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-09 11:52:45 +0200
commit18de421e455ab4b125a6684d703a296562097e6b (patch)
tree1e68454391f91136cfd53360e916d1047c413abb /ccxt_wrapper.py
parentc5a3b4e8c00f8d7bb54b342b1dd43c08bbfbd4db (diff)
downloadTrader-18de421e455ab4b125a6684d703a296562097e6b.tar.gz
Trader-18de421e455ab4b125a6684d703a296562097e6b.tar.zst
Trader-18de421e455ab4b125a6684d703a296562097e6b.zip
Fix ccxt switching currency codes
Diffstat (limited to 'ccxt_wrapper.py')
-rw-r--r--ccxt_wrapper.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/ccxt_wrapper.py b/ccxt_wrapper.py
index 366586c..d2c9b4c 100644
--- a/ccxt_wrapper.py
+++ b/ccxt_wrapper.py
@@ -391,4 +391,14 @@ class poloniexE(poloniex):
391 else: 391 else:
392 raise NotImplementedError 392 raise NotImplementedError
393 393
394 def common_currency_code(self, currency):
395 """
396 Wrapped to avoid the currency translation
397 """
398 return currency
394 399
400 def currency_id(self, currency):
401 """
402 Wrapped to avoid the currency translation
403 """
404 return currency