跳轉到內容

股單詳情

獲取股單詳情,包括名稱、描述及成分股列表。

Parameters ​

NameTypeRequiredDescription
idinteger是股單 ID

Request Example ​

Response ​

Response Example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "id": 123,
    "name": "AI Picks",
    "description": "Top AI infrastructure stocks",
    "securities": ["AAPL.US", "NVDA.US"]
  }
}

Response Status ​

StatusDescriptionSchema
200成功SharelistDetail
400請求錯誤None

Schemas ​

SharelistDetailResponse ​

NameTypeRequiredDescription
sharelistobjecttrue股單詳情
scopesobjectfalse訂閱權限資訊

SharelistInfo ​

NameTypeRequiredDescription
idintegertrue股單 ID
namestringfalse名稱
descriptionstringfalse描述
coverstringfalse封面圖 URL
subscribers_countintegerfalse訂閱人數
chgstringfalse當日漲跌幅
this_year_chgstringfalse年初至今漲跌幅
subscribedbooleanfalse是否已訂閱
sharelist_typeintegerfalse類型:0=普通,3=官方,4=行業
industry_codestringfalse行業代碼
stocksobject[]false成分股列表,見 SharelistStock

SharelistScopes ​

NameTypeRequiredDescription
is_selfbooleanfalse是否為建立者
subscriptionbooleanfalse是否已訂閱