From 28159f2fcaa681af9d406ca56b0c84d059889dfa Mon Sep 17 00:00:00 2001 From: creslinux Date: Sun, 29 Jul 2018 13:30:34 +0000 Subject: [PATCH] Added price "rate" to be trimmed to the precision the exchange supports Also moved from round() to math.floor / ceil amount will round down to exchange precision price will round up to exchange precision --- freqtrade/exchange/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/freqtrade/exchange/__init__.py b/freqtrade/exchange/__init__.py index 32fe6edb2..99eb303bf 100644 --- a/freqtrade/exchange/__init__.py +++ b/freqtrade/exchange/__init__.py @@ -96,10 +96,6 @@ class Exchange(object): except (KeyError, AttributeError): raise OperationalException(f'Exchange {name} is not supported') - # check if config requests sandbox, if so use ['test'] from url - if (exchange_config.get('sandbox')): - api.urls['api'] = api.urls['test'] - return api @property