證交所三大法人買賣超爬蟲 - 財經
By Carol
at 2019-09-27T00:10
at 2019-09-27T00:10
Table of Contents
各外大大晚安
小弟不久前問了一個問題但現在又有一個新問題 囧
我想抓外資的買賣超數據,以下是我的程式碼
qdate = '20190925'
qtype = 'ALLBUT0999'
ttime = str(int(time.time()*100))
url = 'https://www.twse.com.tw/fund/BFI82U?response=json&dayDate={}&type={}&_=
{}
res_post = requests.get(url)
data=res_post.json()
data['data']
output:
[['自營商(自行買賣)', '923,673,610', '2,637,661,370', '-1,713,987,760'],
['自營商(避險)', '3,488,358,985', '4,047,547,773', '-559,188,788'],
['投信', '1,783,511,471', '1,825,161,986', '-41,650,515'],
['外資及陸資', '28,088,755,132', '31,207,973,404', '-3,119,218,272'],
['合計', '34,284,299,198', '39,718,344,533', '-5,434,045,335']]
而官網的數據為
https://imgur.com/NnXsy13
為何少了外資自營商呢 百思不得其解
希望有好心人可以幫忙解惑~感謝~
--
小弟不久前問了一個問題但現在又有一個新問題 囧
我想抓外資的買賣超數據,以下是我的程式碼
qdate = '20190925'
qtype = 'ALLBUT0999'
ttime = str(int(time.time()*100))
url = 'https://www.twse.com.tw/fund/BFI82U?response=json&dayDate={}&type={}&_=
{}
res_post = requests.get(url)
data=res_post.json()
data['data']
output:
[['自營商(自行買賣)', '923,673,610', '2,637,661,370', '-1,713,987,760'],
['自營商(避險)', '3,488,358,985', '4,047,547,773', '-559,188,788'],
['投信', '1,783,511,471', '1,825,161,986', '-41,650,515'],
['外資及陸資', '28,088,755,132', '31,207,973,404', '-3,119,218,272'],
['合計', '34,284,299,198', '39,718,344,533', '-5,434,045,335']]
而官網的數據為
https://imgur.com/NnXsy13
為何少了外資自營商呢 百思不得其解
希望有好心人可以幫忙解惑~感謝~
--
Tags:
財經
All Comments
By Irma
at 2019-09-30T18:36
at 2019-09-30T18:36
Related Posts
徵mc
By Candice
at 2019-09-24T14:18
at 2019-09-24T14:18
賴聖唐 x 張松允 10/4禮拜五講座
By Megan
at 2019-09-11T14:52
at 2019-09-11T14:52
金融證券期貨業務人員訓練班(政府補助)
By Tom
at 2019-09-06T18:09
at 2019-09-06T18:09
9月中秋節閒聊
By Faithe
at 2019-09-06T16:20
at 2019-09-06T16:20
2019期貨商人氣營業員選拔大賽
By Ingrid
at 2019-09-03T21:27
at 2019-09-03T21:27