Skip to content

Instantly share code, notes, and snippets.

@SunXiaoShan
Last active January 14, 2020 15:30
Show Gist options
  • Save SunXiaoShan/abc333fdb6c7d9e395b5d206e6154ea0 to your computer and use it in GitHub Desktop.
Save SunXiaoShan/abc333fdb6c7d9e395b5d206e6154ea0 to your computer and use it in GitHub Desktop.
// https://www.twse.com.tw/exchangeReport/MI_INDEX?date=20191101&response=json&type=ALL
{
"fields9": [
"證券代號",
"證券名稱",
"成交股數",
"成交筆數",
"成交金額",
"開盤價",
"最高價",
"最低價",
"收盤價",
"漲跌(+/-)",
"漲跌價差",
"最後揭示買價",
"最後揭示買量",
"最後揭示賣價",
"最後揭示賣量",
"本益比"
],
"data9": [
[
"0050",
"元大台灣50",
"2,806,778",
"1,648",
"252,465,747",
"90.00",
"90.20",
"89.75",
"90.10",
" ",
"0.00",
"90.10",
"231",
"90.15",
"9",
"0.00"
]
]
}
// failed case
{
"stat": "很抱歉,沒有符合條件的資料!",
"groups9": [
{
"start": 0,
"span": 11,
"title": "(元,股)"
},
{
"start": 11,
"span": 5,
"title": "(元,交易單位)"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment