Skip to content

Commit

Permalink
Merge pull request #215 from itsdeka/add-id-to-parse-trade
Browse files Browse the repository at this point in the history
Added id field to _parse_trade
  • Loading branch information
vigan-abd authored Feb 17, 2023
2 parents a5bdcc1 + 21688ec commit 0079580
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2.0.6
-) Added id field to _parse_trade

2.0.5
-) Show correct fees for withdraws

Expand Down
2 changes: 1 addition & 1 deletion bfxapi/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
This module contains the current version of the bfxapi lib
"""

__version__ = '2.0.5'
__version__ = '2.0.6'
1 change: 1 addition & 0 deletions bfxapi/websockets/bfx_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def _parse_trade_snapshot_item(tData, symbol):

def _parse_trade(tData, symbol):
return {
'id': tData[0],
'mts': tData[1],
'price': tData[3],
'amount': tData[2],
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
here = path.abspath(path.dirname(__file__))
setup(
name='bitfinex-api-py',
version='2.0.5',
version='2.0.6',
description='Official Bitfinex Python API',
long_description='A Python reference implementation of the Bitfinex API for both REST and websocket interaction',
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 0079580

Please sign in to comment.