public class Margin extends Object
Constructor and Description |
---|
Margin(String baseUrl,
String apiKey,
com.binance.connector.client.utils.signaturegenerator.SignatureGenerator signatureGenerator,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
Margin(String baseUrl,
String apiKey,
String secretKey,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
Modifier and Type | Method and Description |
---|---|
String |
account(Map<String,Object> parameters)
GET /sapi/v1/margin/account
|
String |
adjustCrossMarginMaxLeverage(Map<String,Object> parameters)
Adjust cross margin max leverage
POST /sapi/v1/margin/max-leverage |
String |
allAssets()
GET /sapi/v1/margin/allAssets
|
String |
allPairs()
GET /sapi/v1/margin/allPairs
|
String |
asset(Map<String,Object> parameters)
GET /sapi/v1/margin/asset
|
String |
availableInventory(Map<String,Object> parameters)
Get the available margin inventory
GET /sapi/v1/margin/available-inventory |
String |
bnbBurn(Map<String,Object> parameters)
POST /sapi/v1/bnbBurn
|
String |
bnbConvertibleAssets(Map<String,Object> parameters)
Get assets that can be converted into BNB.
|
String |
borrow(Map<String,Object> parameters)
Apply for a loan.
|
String |
cancelOcoOrder(Map<String,Object> parameters)
Cancel an entire Order List for a margin account.
|
String |
cancelOpenOrders(Map<String,Object> parameters)
Cancels all active orders on a symbol for margin account.
|
String |
cancelOrder(Map<String,Object> parameters)
Cancel an active order for margin account.
|
String |
capitalFlow(Map<String,Object> parameters)
Get cross or isolated margin capital flow
GET /sapi/v1/margin/capital-flow |
String |
convertToBnB(Map<String,Object> parameters)
Convert dust assets to BNB
POST /sapi/v1/margin/dust |
String |
crossMarginCollateralRatio()
Get cross margin collateral ratio
GET /sapi/v1/margin/crossMarginCollateralRatio |
String |
crossMarginData(Map<String,Object> parameters)
Get cross margin fee data collection with any vip level or user's current specific data as https://www.binance.com/en/margin-fee.
|
String |
crossMarginTransfer(Map<String,Object> parameters)
Execute transfer between spot account and cross margin account.
|
String |
delistSchedule(Map<String,Object> parameters)
Get tokens or symbols delist schedule for cross margin and isolated margin
GET /sapi/v1/margin/delist-schedule |
String |
disableIsolatedAccount(Map<String,Object> parameters)
DELETE /sapi/v1/margin/isolated/account
|
String |
dribblet(Map<String,Object> parameters)
Query the historical information of user's margin account small-value asset conversion BNB.
|
String |
enableIsolatedAccount(Map<String,Object> parameters)
Enable isolated margin account for a specific symbol.
|
String |
exchangeSmallLiability(Map<String,Object> parameters)
Convert cross margin assets with low liability value
POST /sapi/v1/margin/exchange-small-liability |
String |
forceLiquidationRec(Map<String,Object> parameters)
GET /sapi/v1/margin/forceLiquidationRec
|
String |
getAllIsolatedSymbols(Map<String,Object> parameters)
GET /sapi/v1/margin/isolated/allPairs
|
String |
getAllOcoOrders(Map<String,Object> parameters)
Retrieves all OCO for a specific margin account based on provided optional parameters.
|
String |
getAllOrders(Map<String,Object> parameters)
GET /sapi/v1/margin/allOrders
|
String |
getBnbBurn(Map<String,Object> parameters)
GET /sapi/v1/bnbBurn
|
String |
getIsolatedAccountLimit(Map<String,Object> parameters)
Query enabled isolated margin account limit.
|
String |
getIsolatedSymbol(Map<String,Object> parameters)
GET /sapi/v1/margin/isolated/pair
|
String |
getIsolatedTransfer(Map<String,Object> parameters)
GET /sapi/v1/margin/isolated/transfer
|
String |
getOcoOpenOrders(Map<String,Object> parameters)
GET /sapi/v1/margin/openOrderList
|
String |
getOcoOrder(Map<String,Object> parameters)
Retrieves a specific OCO based on provided optional parameters.
|
String |
getOpenOrders(Map<String,Object> parameters)
GET /sapi/v1/margin/openOrders
|
String |
getOrder(Map<String,Object> parameters)
GET /sapi/v1/margin/order
|
String |
interestHistory(Map<String,Object> parameters)
GET /sapi/v1/margin/interestHistory
|
String |
interestRateHistory(Map<String,Object> parameters)
GET /sapi/v1/margin/interestRateHistory
|
String |
isolatedAccount(Map<String,Object> parameters)
GET /sapi/v1/margin/isolated/account
|
String |
isolatedMarginData(Map<String,Object> parameters)
Get isolated margin fee data collection with any vip level or user's current specific data as https://www.binance.com/en/margin-fee.
|
String |
isolatedMarginTier(Map<String,Object> parameters)
Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data.
|
String |
isolatedTransfer(Map<String,Object> parameters)
POST /sapi/v1/margin/isolated/transfer
|
String |
leverageBracket()
Get the liability assets leverage bracket in Cross Margin Pro Mode
GET /sapi/v1/margin/leverageBracket |
String |
loanRecord(Map<String,Object> parameters)
GET /sapi/v1/margin/loan
|
String |
maxBorrow(Map<String,Object> parameters)
GET /sapi/v1/margin/maxBorrowable
|
String |
maxTransferable(Map<String,Object> parameters)
GET /sapi/v1/margin/maxTransferable
|
String |
newOrder(Map<String,Object> parameters)
Post a new order for margin account.
|
String |
nextHourlyInterestRate(Map<String,Object> parameters)
Get the next hourly interest estimation
GET /sapi/v1/margin/next-hourly-interest-rate |
String |
ocoOrder(Map<String,Object> parameters)
Send in a new OCO for a margin account.
|
String |
orderRateLimit(Map<String,Object> parameters)
Displays the user's current margin order count usage for all intervals.
|
String |
pair(Map<String,Object> parameters)
GET /sapi/v1/margin/pair
|
String |
priceIndex(Map<String,Object> parameters)
GET /sapi/v1/margin/priceIndex
|
String |
repay(Map<String,Object> parameters)
Repay loan for margin account.
|
String |
repayRecord(Map<String,Object> parameters)
GET /sapi/v1/margin/repay
|
String |
smallLiabilityAssets(Map<String,Object> parameters)
Query the assets suitable for small liability exchanges.
|
String |
smallLiabilityExchangeHistory(Map<String,Object> parameters)
Get the conversion history of low liabilities
GET /sapi/v1/margin/exchange-small-liability-history |
String |
tradeCoeff(Map<String,Object> parameters)
Get personal margin level information
GET /sapi/v1/margin/tradeCoeff |
String |
trades(Map<String,Object> parameters)
GET /sapi/v1/margin/myTrades
|
String |
transferHistory(Map<String,Object> parameters)
GET /sapi/v1/margin/transfer
|
public Margin(String baseUrl, String apiKey, String secretKey, boolean showLimitUsage, com.binance.connector.client.utils.ProxyAuth proxy)
public String crossMarginTransfer(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 borrow(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 asset(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 pair(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 allAssets()
public String allPairs()
public String priceIndex(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 newOrder(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 cancelOrder(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 cancelOpenOrders(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 transferHistory(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 loanRecord(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 repayRecord(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 forceLiquidationRec(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 account(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 getOrder(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 getOpenOrders(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 getAllOrders(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 ocoOrder(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 cancelOcoOrder(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 getOcoOrder(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 getAllOcoOrders(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 getOcoOpenOrders(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 trades(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 maxBorrow(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 maxTransferable(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 isolatedTransfer(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 getIsolatedTransfer(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 isolatedAccount(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 disableIsolatedAccount(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 enableIsolatedAccount(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 getIsolatedAccountLimit(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 getIsolatedSymbol(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 getAllIsolatedSymbols(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 bnbBurn(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 getBnbBurn(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 interestRateHistory(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 crossMarginData(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 crossMarginCollateralRatio()
public String adjustCrossMarginMaxLeverage(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 isolatedMarginData(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 isolatedMarginTier(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 orderRateLimit(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 dribblet(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 availableInventory(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 capitalFlow(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 bnbConvertibleAssets(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 convertToBnB(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 delistSchedule(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 nextHourlyInterestRate(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 smallLiabilityAssets(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 exchangeSmallLiability(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 smallLiabilityExchangeHistory(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 leverageBracket()
public String tradeCoeff(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
Copyright © 2023. All rights reserved.