public class PortfolioMargin extends Object
Constructor and Description |
---|
PortfolioMargin(String baseUrl,
String apiKey,
com.binance.connector.client.utils.signaturegenerator.SignatureGenerator signatureGenerator,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
PortfolioMargin(String baseUrl,
String apiKey,
String secretKey,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
Modifier and Type | Method and Description |
---|---|
String |
assetCollection(Map<String,Object> parameters)
Transfers specific asset from Futures Account to Margin account
POST /sapi/v1/portfolio/asset-collection |
String |
assetIndexPrice(Map<String,Object> parameters)
Query Portfolio Margin Asset Index Price
GET /sapi/v1/portfolio/asset-index-price |
String |
assetLeverage()
GET /sapi/v1/portfolio/margin-asset-leverage
|
String |
autoCollection(Map<String,Object> parameters)
Transfers all assets from Futures Account to Margin account
- The BNB would not be collected from UM-PM account to the Portfolio Margin account.
|
String |
autoRepayFuturesStatus(Map<String,Object> parameters)
Query Auto-repay-futures Status
GET /sapi/v1/portfolio/repay-futures-switch |
String |
bankruptcyLoanRecord(Map<String,Object> parameters)
Query Portfolio Margin Bankruptcy Loan Record
GET /sapi/v1/portfolio/pmLoan |
String |
bnbTransfer(Map<String,Object> parameters)
BNB transfer can be between Margin Account and USDM Account
POST /sapi/v1/portfolio/bnb-transfer |
String |
collateralRate(Map<String,Object> parameters)
Portfolio Margin Collateral Rate
GET /sapi/v1/portfolio/collateralRate |
String |
getAccount(Map<String,Object> parameters)
GET /sapi/v1/portfolio/account
|
String |
interestHistory(Map<String,Object> parameters)
Query interest history of negative balance for portfolio margin.
|
String |
repay(Map<String,Object> parameters)
Repay Portfolio Margin Bankruptcy Loan
POST /sapi/v1/portfolio/repay |
String |
repayFutures(Map<String,Object> parameters)
Repay futures Negative Balance
POST /sapi/v1/portfolio/repay-futures-negative-balance |
String |
switchAutoRepayFutures(Map<String,Object> parameters)
Change Auto-repay-futures Status
POST /sapi/v1/portfolio/repay-futures-switch |
public PortfolioMargin(String baseUrl, String apiKey, String secretKey, boolean showLimitUsage, com.binance.connector.client.utils.ProxyAuth proxy)
public String getAccount(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String collateralRate(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String bankruptcyLoanRecord(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String repay(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String interestHistory(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String assetIndexPrice(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String autoCollection(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String assetCollection(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String bnbTransfer(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String switchAutoRepayFutures(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String autoRepayFuturesStatus(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String repayFutures(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String assetLeverage()
Copyright © 2023. All rights reserved.