From 80f96e6b5fb4462c479303bea3f5d40a38372a10 Mon Sep 17 00:00:00 2001 From: Snake575 Date: Wed, 12 Jul 2017 17:40:31 -0400 Subject: [PATCH 1/5] Fixed amount units on SURBTC trade transactions --- trading_api_wrappers/surbtc/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trading_api_wrappers/surbtc/models.py b/trading_api_wrappers/surbtc/models.py index 8e2d536..af6568f 100644 --- a/trading_api_wrappers/surbtc/models.py +++ b/trading_api_wrappers/surbtc/models.py @@ -349,10 +349,10 @@ def create_from_json(cls, transaction): created_at=parse_datetime(transaction['created_at']), updated_at=parse_datetime(transaction['updated_at']), amount_sold=Amount.create_from_json( - [transaction['amount_sold'], + [transaction['amount_sold'] / 1e8, transaction['amount_sold_currency']]), price_paid=Amount.create_from_json( - [transaction['price_paid'], + [transaction['price_paid'] / 1e2, transaction['price_paid_currency']]), ask_order=Order.create_from_json(transaction['ask']), bid_order=Order.create_from_json(transaction['bid']), From 866ee2a15c326e1200b4042902e310d7f457557c Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 31 Jul 2017 09:12:06 -0400 Subject: [PATCH 2/5] Update requests from 2.18.1 to 2.18.2 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c9ed928..1f88124 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ coverage==4.4.1 pytest==3.1.3 python-decouple==3.0 -requests==2.18.1 +requests==2.18.2 tox==2.7.0 From 49b1ede95f8068f71f4668ef0ab952f084b0e485 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 7 Aug 2017 09:15:06 -0400 Subject: [PATCH 3/5] Update pytest from 3.1.3 to 3.2.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1f88124..e21fe10 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ coverage==4.4.1 -pytest==3.1.3 +pytest==3.2.0 python-decouple==3.0 requests==2.18.2 tox==2.7.0 From 380ad2f5e2a70c731690d9438ad286ed066756d8 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 7 Aug 2017 09:15:08 -0400 Subject: [PATCH 4/5] Update requests from 2.18.2 to 2.18.3 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e21fe10..5cdf7bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ coverage==4.4.1 pytest==3.2.0 python-decouple==3.0 -requests==2.18.2 +requests==2.18.3 tox==2.7.0 From 01987bd58bd87d9ec0b8773ba17ba8c90a588770 Mon Sep 17 00:00:00 2001 From: Snake575 Date: Mon, 7 Aug 2017 16:34:03 -0400 Subject: [PATCH 5/5] Bump version to 0.3.2 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ef42154..52fe461 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='trading_api_wrappers', - version='0.3.1', + version='0.3.2', description='Trading API Wrappers for Python 3.5', url='https://github.com/delta575/trading-api-wrappers', author='Felipe Aránguiz, Sebastián Aránguiz',