API auto-invest endpoints
Name | Type | Description |
---|---|---|
superclass | * |
- Source
Methods
changePlanStatus(planId, status, optionsopt)
Change Plan Status
POST /sapi/v1/lending/auto-invest/plan/edit-status
https://developers.binance.com/docs/auto_invest/trade/Change-Plan-Status
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
planId | number | ||||||||||
status | Status | ||||||||||
options | object | <optional> | Properties
|
- Source
getListOfPlans(planType, optionsopt)
Get list of plans
GET /sapi/v1/lending/auto-invest/plan/list
https://developers.binance.com/docs/auto_invest/market-data/Get-list-of-plans
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
planType | string | ||||||||||
options | object | <optional> | Properties
|
- Source
getTargetAssetList(optionsopt)
Get target asset list (USER_DATA)
GET /sapi/v1/lending/auto-invest/target-asset/list
https://developers.binance.com/docs/auto_invest/market-data/Get-target-asset-list
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
getTargetAssetRoiData(targetAsset, hisRoiType, optionsopt)
Get target asset ROI data (USER_DATA)
GET /sapi/v1/lending/auto-invest/target-asset/roi/list
https://developers.binance.com/docs/auto_invest/market-data/Get-target-asset-ROI-data
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
targetAsset | string | ||||||||||
hisRoiType | string | ||||||||||
options | object | <optional> | Properties
|
- Source
indexLinkedPlanRebalanceDetails(optionsopt)
Index Linked Plan Rebalance Details (USER_DATA)
GET /sapi/v1/lending/auto-invest/rebalance/history
https://developers.binance.com/docs/auto_invest/trade/Index-Linked-Plan-Rebalance-Details
Name | Type | Attributes | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
indexLinkedPlanRedemption(indexId, redemptionPercentage, optionsopt)
Index Linked Plan Redemption (TRADE)
POST /sapi/v1/lending/auto-invest/redeem
https://developers.binance.com/docs/auto_invest/trade/Index-Linked-Plan-Redemption
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
indexId | number | PORTFOLIO plan's Id | |||||||||||||
redemptionPercentage | number | user redeem percentage,10/20/100. | |||||||||||||
options | object | <optional> | Properties
|
- Source
indexLinkedPlanRedemptionHistory(requestId, optionsopt)
Index Linked Plan Redemption History (USER_DATA)
GET /sapi/v1/lending/auto-invest/redeem/history
https://developers.binance.com/docs/auto_invest/trade/Query-Index-Linked-Plan-Redemption
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
requestId | number | ||||||||||||||||||||||||||||||
options | object | <optional> | Properties
|
- Source
queryAllSourceAssetAndTargetAsset(optionsopt)
Query all source asset and target asset (USER_DATA)
GET /sapi/v1/lending/auto-invest/all/asset
https://developers.binance.com/docs/auto_invest/market-data/Query-all-source-asset-and-target-asset
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
queryHoldingDetailsOfThePlan(optionsopt)
Query holding details of the plan
GET /sapi/v1/lending/auto-invest/plan/id
https://developers.binance.com/docs/auto_invest/trade/Query-holding-details-of-the-plan
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
queryIndexDetails(indexId, optionsopt)
Query Index Details (USER_DATA)
GET /sapi/v1/lending/auto-invest/index/info
https://developers.binance.com/docs/auto_invest/market-data/Query-Index-Details
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
indexId | number | ||||||||||
options | object | <optional> | Properties
|
- Source
queryIndexLinkedPlanPositionDetails(indexId, optionsopt)
Query Index Linked Plan Position Details (USER_DATA)
GET /sapi/v1/lending/auto-invest/index/user-summary
https://developers.binance.com/docs/auto_invest/trade/Query-Index-Linked-Plan-Position-Details
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
indexId | number | ||||||||||
options | object | <optional> | Properties
|
- Source
queryOnetimeTransactionStatus(transactionId, optionsopt)
Query One-Time Transaction Status (USER_DATA)
GET /sapi/v1/lending/auto-invest/one-off/status
https://developers.binance.com/docs/auto_invest/trade/Query-One-Time-Transaction-Status
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
transactionId | number | ||||||||||||||
options | object | <optional> | Properties
|
- Source
querySourceAssetList(usageType, optionsopt)
Query source asset list (USER_DATA)
GET /sapi/v1/lending/auto-invest/source-asset/list
https://developers.binance.com/docs/auto_invest/market-data/Query-source-asset-list
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
usageType | string | ||||||||||||||||||||||
options | object | <optional> | Properties
|
- Source
querySubscriptionTransactionHistory(optionsopt)
Query subscription transaction history
GET /sapi/v1/lending/auto-invest/history/list
https://developers.binance.com/docs/auto_invest/trade/Query-subscription-transaction-history
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source