mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 22:34:21 +01:00
Merge branch 'master' into add-id-to-parse-trade
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
2.0.6
|
||||
-) Added id field to _parse_trade
|
||||
|
||||
2.0.5
|
||||
-) Show correct fees for withdraws
|
||||
|
||||
2.0.4
|
||||
-) Added missing ID to ledgers.py
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ class WithdrawModel:
|
||||
METHOD = 2
|
||||
WALLET = 4
|
||||
AMOUNT = 5
|
||||
FEE = 7
|
||||
FEE = 8
|
||||
|
||||
class Withdraw:
|
||||
"""
|
||||
@@ -42,7 +42,8 @@ class Withdraw:
|
||||
method = raw_withdraw[WithdrawModel.METHOD]
|
||||
wallet = raw_withdraw[WithdrawModel.WALLET]
|
||||
amount = raw_withdraw[WithdrawModel.AMOUNT]
|
||||
return Withdraw(w_id, method, wallet, amount)
|
||||
fee = raw_withdraw[WithdrawModel.FEE]
|
||||
return Withdraw(w_id, method, wallet, amount, fee)
|
||||
|
||||
def __str__(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user