public class SubAccount extends Object
Constructor and Description |
---|
SubAccount(String baseUrl,
String apiKey,
com.binance.connector.client.utils.signaturegenerator.SignatureGenerator signatureGenerator,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
SubAccount(String baseUrl,
String apiKey,
String secretKey,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
Modifier and Type | Method and Description |
---|---|
String |
accountStatus(Map<String,Object> parameters)
GET /sapi/v1/sub-account/status
|
String |
assets(Map<String,Object> parameters)
Fetch sub-account assets.
|
String |
createVirtualSubAccount(Map<String,Object> parameters)
POST /sapi/v1/sub-account/virtualSubAccount
|
String |
deleteIpList(Map<String,Object> parameters)
DELETE /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList
|
String |
depositAddress(Map<String,Object> parameters)
Fetch sub-account deposit address.
|
String |
depositHistory(Map<String,Object> parameters)
Fetch sub-account deposit history.
|
String |
enableFutures(Map<String,Object> parameters)
POST /sapi/v1/sub-account/futures/enable
|
String |
enableLeverageToken(Map<String,Object> parameters)
GET /sapi/v2/sub-account/futures/positionRisk
|
String |
enableMargin(Map<String,Object> parameters)
POST /sapi/v1/sub-account/margin/enable
|
String |
futuresAccount(Map<String,Object> parameters)
GET /sapi/v1/sub-account/futures/account
|
String |
futuresAccountSummary(Map<String,Object> parameters)
GET /sapi/v1/sub-account/futures/accountSummary
|
String |
futuresAccountSummaryV2(Map<String,Object> parameters)
GET /sapi/v2/sub-account/futures/accountSummary
|
String |
futuresAccountV2(Map<String,Object> parameters)
GET /sapi/v2/sub-account/futures/account
|
String |
futuresInternalTransfer(Map<String,Object> parameters)
POST /sapi/v1/sub-account/futures/internalTransfer
|
String |
futuresPositionRisk(Map<String,Object> parameters)
GET /sapi/v1/sub-account/futures/positionRisk
|
String |
futuresPositionRiskV2(Map<String,Object> parameters)
GET /sapi/v2/sub-account/futures/positionRisk
|
String |
futuresTransfer(Map<String,Object> parameters)
POST /sapi/v1/sub-account/futures/transfer
|
String |
getFuturesInternalTransfer(Map<String,Object> parameters)
GET /sapi/v1/sub-account/futures/internalTransfer
|
String |
getIpRestriction(Map<String,Object> parameters)
GET /sapi/v1/sub-account/subAccountApi/ipRestriction
|
String |
managedSubAccountSnapshot(Map<String,Object> parameters)
GET /sapi/v1/managed-subaccount/accountSnapshot
|
String |
managedSubDeposit(Map<String,Object> parameters)
POST /sapi/v1/managed-subaccount/deposit
|
String |
managedSubDetails(Map<String,Object> parameters)
GET /sapi/v1/managed-subaccount/asset
|
String |
managedSubWithdraw(Map<String,Object> parameters)
POST /sapi/v1/managed-subaccount/withdraw
|
String |
marginAccount(Map<String,Object> parameters)
GET /sapi/v1/sub-account/margin/account
|
String |
marginAccountSummary(Map<String,Object> parameters)
GET /sapi/v1/sub-account/margin/accountSummary
|
String |
marginTransfer(Map<String,Object> parameters)
POST /sapi/v1/sub-account/margin/transfer
|
String |
queryUniversalTransfer(Map<String,Object> parameters)
GET /sapi/v1/sub-account/universalTransfer
|
String |
spotAccountSummary(Map<String,Object> parameters)
Get BTC valued asset summary of subaccounts.
|
String |
spotTransferHistory(Map<String,Object> parameters)
GET /sapi/v1/sub-account/sub/transfer/history
|
String |
subAccountList(Map<String,Object> parameters)
GET /sapi/v1/sub-account/list
|
String |
subAccountToMaster(Map<String,Object> parameters)
POST /sapi/v1/sub-account/transfer/subToMaster
|
String |
subAccountToSubAccount(Map<String,Object> parameters)
POST /sapi/v1/sub-account/transfer/subToSub
|
String |
transferHistory(Map<String,Object> parameters)
GET /sapi/v1/sub-account/transfer/subUserHistory
|
String |
universalTransfer(Map<String,Object> parameters)
POST /sapi/v1/sub-account/universalTransfer
|
String |
updateIpRestriction(Map<String,Object> parameters)
POST /sapi/v2/sub-account/subAccountApi/ipRestriction
|
public SubAccount(String baseUrl, String apiKey, String secretKey, boolean showLimitUsage, com.binance.connector.client.utils.ProxyAuth proxy)
public String createVirtualSubAccount(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 subAccountList(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 spotTransferHistory(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 getFuturesInternalTransfer(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 futuresInternalTransfer(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 assets(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 spotAccountSummary(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 depositAddress(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 depositHistory(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 accountStatus(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 enableMargin(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 marginAccount(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 marginAccountSummary(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 enableFutures(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 futuresAccount(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 futuresAccountSummary(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 futuresPositionRisk(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 futuresTransfer(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 marginTransfer(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 subAccountToSubAccount(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 subAccountToMaster(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 universalTransfer(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 queryUniversalTransfer(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 futuresAccountV2(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 futuresAccountSummaryV2(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 futuresPositionRiskV2(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 enableLeverageToken(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 getIpRestriction(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 deleteIpList(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 managedSubDeposit(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 managedSubDetails(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 managedSubWithdraw(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 managedSubAccountSnapshot(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 updateIpRestriction(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.