diff --git a/CHANGELOG b/CHANGELOG index 1587ed4..8d6d138 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2.0.6 +-) Added id field to _parse_trade + 2.0.5 -) Show correct fees for withdraws diff --git a/bfxapi/version.py b/bfxapi/version.py index d47628d..5bb61be 100644 --- a/bfxapi/version.py +++ b/bfxapi/version.py @@ -2,4 +2,4 @@ This module contains the current version of the bfxapi lib """ -__version__ = '2.0.5' +__version__ = '2.0.6' diff --git a/bfxapi/websockets/bfx_websocket.py b/bfxapi/websockets/bfx_websocket.py index 451d975..5554ec5 100644 --- a/bfxapi/websockets/bfx_websocket.py +++ b/bfxapi/websockets/bfx_websocket.py @@ -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], diff --git a/setup.py b/setup.py index ef7e0a0..5a18c15 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ from os import path 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',