使用迴圈抓取網頁data - 財經

By Annie
at 2013-01-23T02:06
at 2013-01-23T02:06
Table of Contents
各位好
小弟最近有在寫交易程式 我用的是VBA
不過需要 歷史 數據
我發現到網路上歷史數據常常是不正確的..而我又很龜毛..
所以我去台灣期貨交易所抓取
如果網頁是html 像是
http://www.twse.com.tw/ch/trading/indices/MFI94U/genpage
/Report201301/A941201301.php?STK_NO=&myear=2013&mmon=01
這類的php "問號" 後面有參數可以讓你導入..
你可以使用迴圈 再利用excel 讀取外部web資料來抓取
無奈 有一些網頁是沒有參數給你導入的
例如http://www.taifex.com.tw/chinese/3/3_1_1.asp
這種是要你自己選擇 然後按確定來得到你要的
請問這種的要怎麼使用迴圈抓取呢?
我會vba 以及 一點點javascript...
敬請高手指教~
--
Tags:
財經
All Comments

By Kama
at 2013-01-26T09:04
at 2013-01-26T09:04

By Vanessa
at 2013-01-29T12:25
at 2013-01-29T12:25

By Brianna
at 2013-02-03T11:48
at 2013-02-03T11:48

By Liam
at 2013-02-07T02:54
at 2013-02-07T02:54

By Kelly
at 2013-02-11T18:52
at 2013-02-11T18:52

By Tristan Cohan
at 2013-02-15T13:47
at 2013-02-15T13:47

By Mia
at 2013-02-19T17:33
at 2013-02-19T17:33

By Valerie
at 2013-02-23T20:00
at 2013-02-23T20:00

By Erin
at 2013-02-26T06:41
at 2013-02-26T06:41

By Sandy
at 2013-02-27T08:40
at 2013-02-27T08:40

By Genevieve
at 2013-03-01T02:21
at 2013-03-01T02:21

By Gary
at 2013-03-01T07:13
at 2013-03-01T07:13

By Skylar DavisLinda
at 2013-03-06T04:25
at 2013-03-06T04:25

By Isla
at 2013-03-06T22:03
at 2013-03-06T22:03

By Necoo
at 2013-03-08T17:20
at 2013-03-08T17:20

By Franklin
at 2013-03-13T06:07
at 2013-03-13T06:07

By Edith
at 2013-03-16T15:11
at 2013-03-16T15:11

By Edward Lewis
at 2013-03-17T04:47
at 2013-03-17T04:47

By Genevieve
at 2013-03-20T07:30
at 2013-03-20T07:30

By Andy
at 2013-03-23T22:07
at 2013-03-23T22:07

By Caroline
at 2013-03-28T19:02
at 2013-03-28T19:02

By Kristin
at 2013-04-01T21:48
at 2013-04-01T21:48

By Andy
at 2013-04-06T03:52
at 2013-04-06T03:52

By Ina
at 2013-04-08T03:03
at 2013-04-08T03:03
Related Posts
請教是否有用TS9.1跟MSA的人

By Leila
at 2013-01-21T14:28
at 2013-01-21T14:28
跳空停損的問題..

By Olive
at 2013-01-16T23:45
at 2013-01-16T23:45
X-程式交易全紀錄1/15

By Skylar DavisLinda
at 2013-01-15T22:12
at 2013-01-15T22:12
請問有人可以分享hsp的實際使用經驗嗎?

By Olivia
at 2013-01-13T20:22
at 2013-01-13T20:22
寫好程式不敢用

By Carolina Franco
at 2013-01-12T16:23
at 2013-01-12T16:23