Skip to main content

警示股票查詢

query_attention_stock

輸入參數

參數類別說明
accountAccount帳號
symbolString ( Optional )股票代號

AlertStockOutput 欄位

Return type : Object

參數類別說明
market_typeInt市場別 : 0 上市、1上櫃、3興櫃
symbolString股票代號
lower_limit_priceDouble跌停價
closing_priceDouble收盤價
upper_limit_priceDouble漲停價
alert_start_dateString警示開始日期
alert_end_dateString警示結束日期
alert_handling_modeInt警示處理模式 : 1 受處置、2再處置 、 非12 為正常
stock_nameString股票名稱
message_descriptionString訊息說明(風控股票提示)
short_selling_at_flat_markString平盤下可否券賣(1 表示可平盤下券賣、不為 1 則不可平盤下券賣)
short_selling_at_flat_allowedString平盤下可券賣狀態 ( 當股查詢時才有值 )
day_trading_and_account98_statusString是否可當沖及禁98戶

請求範例

# 查詢全部
sdk.stock.query_attention_stock(account)

# 查詢單檔
sdk.stock.query_attention_stock(account,"9945")

回傳範例

AlertStockOutput { 
market_type: 0, # 市場別 (Int)
symbol: "9945", # 股票代號 (String)
lower_limit_price: 43.65, # 當日跌停價 (Double)
closing_price: 48.45, # 當日收盤價 (Double)
upper_limit_price: 53.20, # 當日漲停價 (Double)
alert_start_date: "20241008", # 警示開始日期 (String)
alert_end_date: "20241011", # 警示結束日期 (String)
alert_handling_mode: 0, # 警示處理模式 (Int)
stock_name: "潤泰新", # 股票名稱 (String)
message_description: "風控股票,請務必查詢是否委託成功,或洽營業員辦理!", # 訊息說明 (String)
short_selling_at_par_mark: "1", # 平盤下可否券賣 (String)
short_selling_at_par_allowed: "平盤下可券", # 平盤下可券賣狀態 (String)
day_trading_and_account98_status: "禁當沖", # 當沖及帳戶98狀態 (String)
}