股票交易資訊瞬息萬變,投資者不可能在股票交易期間都能隨時注意股票變動的情形,因此需要採用股票預警系統來協助投資者觀察股票變動情形。基於此原因,本論文將結合Web技術和短訊服務(Short Message Service, SMS)技術來設計股票即時資訊簡訊發送系統。利用PHP、SQL資料庫和全球行動通訊系統(Global System for Mobile Communication, GSM)模組等技術來架構此平台,因為股票資訊向證交所取得需要相當大的費用,故目前研究階段資訊取得皆由Yahoo、PCHOME、Hinet等即時股票網頁取得,使用PHP語法將網頁資訊抓取回資料庫,使用自動更新功能使得資訊能與股票網頁取得同步,在SMS簡訊發送部分,利用應用程式介面(Application Program Interface, API)讓GSM模組發送簡訊。 用戶可利用Internet上網註冊設定停利點與停損點,以及觀看大盤和股票走勢等等,利用程式判別資料庫中用戶的設定,以及股票的資訊,符合設定即馬上傳送簡訊資料至API利用GSM模組發送簡訊給用戶。 本論文所研發的平台提供使用者方便的操作環境,使用者可以在外工作、休閒等,不必隨時待在螢幕前面觀看股票資訊,系統會自動發送簡訊,通知用戶股票是否買賣,避免使用者在外地時提心吊膽,擔心股票會損失。
Stock exchange information is fast changing. It is impossible for investors to pay attention to the status of stock market. At any time during stock exchange, so need to adopt the early warning system of stock to help investors to monitor status of stock market. Based on the above observation, this thesis combines Web Technology with Short Message Service design the early warning system of stock. We apply PHP, SQL database and GSM to construct the platform of the early warning system. Because it is expensive to capture the stock information from the Taiwan Stock Exchange, we capture the stock from YAHOO, PCHOME and Hinet webpage in the present study. The user sets the buy point and sale point via Internet. The early warning system compares the status of stock market and the buying point as well as sale point. If it conforms to the hypothesis, it will send the short message to inform the user to process his stock. In this thesis, we develop a platform which provides the easy to use environment. The user needs not to stay in font of the monitor observing the status of stock market. Our system automatically sends the Short Message to notice user to trade his stock.