mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 14:54:21 +01:00
Merge pull request #215 from itsdeka/add-id-to-parse-trade
Added id field to _parse_trade
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2.0.6
|
||||||
|
-) Added id field to _parse_trade
|
||||||
|
|
||||||
2.0.5
|
2.0.5
|
||||||
-) Show correct fees for withdraws
|
-) Show correct fees for withdraws
|
||||||
|
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
This module contains the current version of the bfxapi lib
|
This module contains the current version of the bfxapi lib
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = '2.0.5'
|
__version__ = '2.0.6'
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ def _parse_trade_snapshot_item(tData, symbol):
|
|||||||
|
|
||||||
def _parse_trade(tData, symbol):
|
def _parse_trade(tData, symbol):
|
||||||
return {
|
return {
|
||||||
|
'id': tData[0],
|
||||||
'mts': tData[1],
|
'mts': tData[1],
|
||||||
'price': tData[3],
|
'price': tData[3],
|
||||||
'amount': tData[2],
|
'amount': tData[2],
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -11,7 +11,7 @@ from os import path
|
|||||||
here = path.abspath(path.dirname(__file__))
|
here = path.abspath(path.dirname(__file__))
|
||||||
setup(
|
setup(
|
||||||
name='bitfinex-api-py',
|
name='bitfinex-api-py',
|
||||||
version='2.0.5',
|
version='2.0.6',
|
||||||
description='Official Bitfinex Python API',
|
description='Official Bitfinex Python API',
|
||||||
long_description='A Python reference implementation of the Bitfinex API for both REST and websocket interaction',
|
long_description='A Python reference implementation of the Bitfinex API for both REST and websocket interaction',
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
|||||||
Reference in New Issue
Block a user