Update __init__.py

This commit is contained in:
creslin 2018-07-27 17:28:18 +00:00 committed by GitHub
parent cd5fef615e
commit 0c035b276c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ 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
# check if config has sandbox = True, if so use ['test'] sandbox API from CCXT
if (exchange_config.get('sandbox')):
api.urls['api'] = api.urls['test']
@ -156,7 +156,7 @@ class Exchange(object):
def symbol_prec(self, pair, amount: float):
'''
Returns the amount to but or sell to the precision the Exchange accepts
Returns the amount to buy or sell to the precision the Exchange accepts
:param amount: amount
:return: amount
'''