API Portfolio Margin endpoints

Methods

portfolioMarginAccount(optionsopt)

Get Portfolio Margin Account Info (USER_DATA)

GET /sapi/v1/portfolio/account

https://binance-docs.github.io/apidocs/spot/en/#get-portfolio-margin-account-info-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

portfolioMarginBankruptcyLoanAmount(optionsopt)

Query Portfolio Margin Bankruptcy Loan Amount (USER_DATA)

GET /sapi/v1/portfolio/pmLoan

https://binance-docs.github.io/apidocs/spot/en/#query-portfolio-margin-bankruptcy-loan-amount-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

portfolioMarginBankruptcyLoanRepay(optionsopt)

Portfolio Margin Bankruptcy Loan Repay (USER_DATA)

POST /sapi/v1/portfolio/repay

https://binance-docs.github.io/apidocs/spot/en/#portfolio-margin-bankruptcy-loan-repay-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

portfolioMarginCollateralRate()

Portfolio Margin Collateral Rate (MARKET_DATA)

GET /sapi/v1/portfolio/collateralRate

https://binance-docs.github.io/apidocs/spot/en/#portfolio-margin-collateral-rate-market_data