Skip to main content

Snapshot Movers

股票漲跌幅排行(依市場別)

snapshot/movers/{market}

Parameters​

NameTypeDescription
market*string市場別
direction*string上漲/下跌,可選 up 上漲;down 下跌
change*string漲跌/漲跌幅,可選 percent 漲跌幅;value 漲跌
gtnumber篩選大於漲跌/漲跌幅的股票
typestring標的類型,可選 ALLBUT0999 包含一般股票、特別股及 ETF ; COMMONSTOCK 為一般股票
gtenumber篩選大於或等於漲跌/漲跌幅的股票
ltnumber篩選小於漲跌/漲跌幅的股票
ltenumber篩選小於或等於漲跌/漲跌幅的股票
eqnumber篩選等於漲跌/漲跌幅的股票

Response​

NameTypeDescription
date*string日期
time*string時間
market*string市場別
change*string漲跌/漲跌幅
data*object[]快照資料
>> typestringTicker 類型
>> symbolstring股票代碼
>> namestring股票簡稱
>> openPricenumber開盤價
>> highPricenumber最高價
>> lowPricenumber最低價
>> closePricenumber收盤價
>> changenumber漲跌
>> changePercentnumber漲跌幅
>> tradeVolumenumber成交量
>> tradeValuenumber成交金額
>> lastPricenumber最後一筆成交價;當日尚無成交時不回傳
>> lastUpdatednumber快照時間
info

'*' 表示必揭示欄位。

Example​

from fubon_neo.sdk import FubonSDK, Order

sdk = FubonSDK()

accounts = sdk.login("Your ID", "Your password", "Your cert path", "Your cert password") # 需登入後,才能取得行情權限

sdk.init_realtime() # 建立行情連線

reststock = sdk.marketdata.rest_client.stock
# reststock.snapshot.movers(market='TSE', direction='up', change='percent') # 2.2.3 及以前版本

## 2.2.4 及以後版本 (使用 Exception 進行例外處理)
from fubon_neo.fugle_marketdata.rest.base_rest import FugleAPIError

try:
reststock.snapshot.movers(market='TSE', direction='up', change='percent')
except FugleAPIError as e:
print(f"Error: {e}")
print("------------")
print(f"Status Code: {e.status_code}") # 例: 429
print(f"Response Text: {e.response_text}") # 例: {"statusCode":429,"message":"Rate limit exceeded"}

Response Body:

{
"date": "2026-10-08",
"time": "140000",
"market": "TSE",
"change": "percent",
"data": [
{
"type": "EQUITY",
"symbol": "2424",
"name": "隴華",
"openPrice": 9.68,
"highPrice": 9.79,
"lowPrice": 9.41,
"closePrice": 9.79,
"change": 0.89,
"changePercent": 10,
"tradeVolume": 90,
"tradeValue": 869130,
"lastPrice": 9.79,
"lastUpdated": 1791437400000000
},
{
"type": "EQUITY",
"symbol": "3447",
"name": "展達",
"openPrice": 28.1,
"highPrice": 30.25,
"lowPrice": 27.6,
"closePrice": 30.25,
"change": 2.75,
"changePercent": 10,
"tradeVolume": 668,
"tradeValue": 19768350,
"lastPrice": 30.25,
"lastUpdated": 1791437400000000
},
{
"type": "EQUITY",
"symbol": "2466",
"name": "冠西電",
"openPrice": 180.5,
"highPrice": 198.5,
"lowPrice": 180,
"closePrice": 198.5,
"change": 18,
"changePercent": 9.97,
"tradeVolume": 1573,
"tradeValue": 298524500,
"lastPrice": 198.5,
"lastUpdated": 1791437400000000
},
......
]
}