Skip to content

umfutures/Market.py funding_info function error #249

Description

@jack2007

Hello, funding_info should use GET /fapi/v1/fundingInfo, now it's calling /fapi/v1/fundingRate.

Only get 100 symbols funding rate.

def funding_info(self):
"""
|
| Get Funding Rate Info
| Query funding rate info for symbols that had FundingRateCap/FundingRateFloor/fundingIntervalHours adjustment

:API endpoint: ``GET /fapi/v1/fundingInfo``
:API doc: https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Get-Funding-Info
|
"""

return self.query("/fapi/v1/fundingRate")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions