Skip to main content

Snapshot Actives

Stock trading value ranking (by market type).

snapshot/actives/{market}

Parameters

NameTypeDescription
market*stringMarket Type,offer TSEOTCESBTIBPSB
trade*stringTrading Volume/Value,offer volumevalue
typestringAsset type options,offer ALLBUT099 for common stocks, preferred stocks, and ETFs; COMMONSTOCK for common stocks only

Response

NameTypeDescription
date*stringDate
time*stringTime
market*stringMarket Type
trade*stringTrading Volume/Value
data*object[]list
>> typestringTicker Type
>> symbolstringStock Number
>> namestringStock Abbreviation in Chinese
>> openPricenumberOpening Price
>> highPricenumberHighest Price
>> lowPricenumberLowest Price
>> closePricenumberClose Price
>> changenumberPrice Change
>> changePercentnumberPrice Change Percentage
>> tradeVolumenumberTrading Volume
>> tradeValuenumberTrading Value
>> lastUpdatednumberSnapshot Time
info

'*' Indicates mandatory disclosure fields.

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() # Establish market-data

reststock = sdk.marketdata.rest_client.stock
reststock.snapshot.actives(market='TSE', trade='value')

Response Body:

{
"date": "2023-05-29",
"time": "140000",
"market": "TSE",
"trade": "value",
"data": [
{
"type": "EQUITY",
"symbol": "2330",
"name": "台積電",
"openPrice": 574,
"highPrice": 574,
"lowPrice": 564,
"closePrice": 568,
"change": 2,
"changePercent": 0.35,
"tradeVolume": 54538,
"tradeValue": 31019803000,
"lastUpdated": 1685338200000000
},
{
"type": "EQUITY",
"symbol": "3231",
"name": "緯創",
"openPrice": 66,
"highPrice": 69.2,
"lowPrice": 65.9,
"closePrice": 68,
"change": 3,
"changePercent": 4.62,
"tradeVolume": 202089,
"tradeValue": 13763365000,
"lastUpdated": 1685338200000000
},
{
"type": "EQUITY",
"symbol": "3661",
"name": "世芯-KY",
"openPrice": 1555,
"highPrice": 1660,
"lowPrice": 1550,
"closePrice": 1660,
"change": 150,
"changePercent": 9.93,
"tradeVolume": 6937,
"tradeValue": 11264055000,
"lastUpdated": 1685338200000000
},
......
]
}