跳至主要内容

機構創建投資計劃

信息
  1. 每個機構最多創建 10 個投資計劃。每個用戶最多擁有 20 個投資計劃
  2. 基金狀態必須為 PendingSubscribe(待申購),否則返回錯誤碼 180040

HTTP 請求

POST/v5/earn/pwm/asset-manager/create-investment-plan

請求參數

參數是否必需類型說明
accountUidtruestring目標用戶UID
planNametruestring投資計劃名稱,最大50字符
planTypetruestring計劃類型:stable(穩健增值)/ advanced(進階收益)
investmentDistributiontruearray基金配置列表,至少包含1個基金
> productIdtruestring基金ID(必須是該機構管轄的基金)
> amounttruestring配置金額(本位幣)
reqLinkIdtruestring用戶自定義請求ID,最長36字符,用於冪等

響應參數

參數類型說明
planIdstring新創建的投資計劃唯一標識
planTypestring計劃類型:stable / advanced
accountUidstring目標用戶UID
statusstring計劃狀態,創建後固定為 PendingSubscription
createdTimestring創建時間戳(毫秒)

請求示例

POST /v5/earn/pwm/asset-manager/create-investment-plan HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1741651200000
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"accountUid": "800001",
"planName": "Conservative Growth Plan",
"planType": "stable",
"investmentDistribution": [
{
"productId": "12345",
"amount": "100000.00"
}
],
"reqLinkId": "create-plan-001"
}

響應示例

{
"retCode": 0,
"retMsg": "success",
"result": {
"planId": "10088",
"planType": "stable",
"accountUid": "800001",
"status": "pending_subscribe",
"createdTime": "1640000000000"
}
}