Skip to content

Commit

Permalink
Merge branch 'release/0.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
snake575 committed Aug 7, 2017
2 parents ccd28bd + 01987bd commit c92c589
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage==4.4.1
pytest==3.1.3
pytest==3.2.0
python-decouple==3.0
requests==2.18.1
requests==2.18.3
tox==2.7.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions trading_api_wrappers/surbtc/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
Expand Down

0 comments on commit c92c589

Please sign in to comment.