mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 07:14:20 +01:00
bfxapi/rest: add submit/cancel funding
This commit is contained in:
committed by
Jacob Plaster
parent
dfabb438de
commit
edfd4fc280
@@ -2,6 +2,12 @@
|
||||
Module used to describe all of the different data types
|
||||
"""
|
||||
|
||||
class FundingOfferTypes:
|
||||
"""
|
||||
Enum used to define the different funding offer types
|
||||
"""
|
||||
LIMIT = 'LIMIT'
|
||||
FRR_DELTA = 'FRRDELTAVAR'
|
||||
|
||||
class FundingOfferModel:
|
||||
"""
|
||||
@@ -41,6 +47,8 @@ class FundingOffer:
|
||||
RENEW int 0 if false, 1 if true
|
||||
"""
|
||||
|
||||
Type = FundingOfferTypes()
|
||||
|
||||
def __init__(self, fid, symbol, mts_create, mts_updated, amount, amount_orig, f_type,
|
||||
flags, status, rate, period, notify, hidden, renew):
|
||||
# pylint: disable=invalid-name
|
||||
|
||||
Reference in New Issue
Block a user