From be6939ee8a00f1148194a5163cb4f8bf1fec53c6 Mon Sep 17 00:00:00 2001 From: gcarq Date: Thu, 23 Nov 2017 20:52:07 +0100 Subject: [PATCH 1/2] use 8 digits of precision for amount and rate in formatting --- freqtrade/persistence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/persistence.py b/freqtrade/persistence.py index cbe7c1de4..7753eabbf 100644 --- a/freqtrade/persistence.py +++ b/freqtrade/persistence.py @@ -68,7 +68,7 @@ class Trade(_DECL_BASE): open_order_id = Column(String) def __repr__(self): - return 'Trade(id={}, pair={}, amount={}, open_rate={}, open_since={})'.format( + return 'Trade(id={}, pair={}, amount={:.8f}, open_rate={:.8f}, open_since={})'.format( self.id, self.pair, self.amount, From 82913cd3f4470838f829c4c73ea4c017bfe09b92 Mon Sep 17 00:00:00 2001 From: gcarq Date: Thu, 23 Nov 2017 20:53:13 +0100 Subject: [PATCH 2/2] upgrade python-bittrex to 0.2.1 --- requirements.txt | 2 +- setup.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1ed05807b..ba8b6cfcc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ --e git+https://github.com/ericsomdahl/python-bittrex.git@0.2.0#egg=python-bittrex +python-bittrex==0.2.1 SQLAlchemy==1.1.14 python-telegram-bot==8.1.1 arrow==0.10.0 diff --git a/setup.py b/setup.py index 2c4a3f4c9..1514f6405 100644 --- a/setup.py +++ b/setup.py @@ -36,9 +36,6 @@ setup(name='freqtrade', 'tabulate', 'cachetools', ], - dependency_links=[ - "git+https://github.com/ericsomdahl/python-bittrex.git@0.2.0#egg=python-bittrex" - ], include_package_data=True, zip_safe=False, classifiers=[