mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 15:24:21 +01:00
Apply pylint's linting rules to examples/rest/authenticated/*.py.
This commit is contained in:
@@ -14,11 +14,11 @@ bfx = Client(
|
||||
|
||||
# Submit a new funding offer
|
||||
notification: Notification[FundingOffer] = bfx.rest.auth.submit_funding_offer(
|
||||
type=FundingOfferType.LIMIT,
|
||||
symbol="fUSD",
|
||||
amount=123.45,
|
||||
rate=0.001,
|
||||
period=2,
|
||||
type=FundingOfferType.LIMIT,
|
||||
symbol="fUSD",
|
||||
amount=123.45,
|
||||
rate=0.001,
|
||||
period=2,
|
||||
flags=Flag.HIDDEN
|
||||
)
|
||||
|
||||
@@ -27,4 +27,4 @@ print("Funding Offer notification:", notification)
|
||||
# Get all fUSD active funding offers
|
||||
offers = bfx.rest.auth.get_funding_offers(symbol="fUSD")
|
||||
|
||||
print("Offers (fUSD):", offers)
|
||||
print("Offers (fUSD):", offers)
|
||||
|
||||
Reference in New Issue
Block a user