Skip to main content

台灣股市股票股價擷取(Fetch TWSE stock data)

Project description

主要開發擷取台灣股市(TWSE)股價資料,資料來源 證券交易所網站

版本資訊

Authors:Toomore Chiang
Version:0.0.1x of 2012/03/07
Python Version:Python 2.6-2.7

Quick Start

簡單計算

from grs import stock

g = stock(2618)       #擷取長榮航股價
print g.MA(5)         #計算五日均價與持續天數
print g.MAV(5)        #計算五日均量與持續天數

擷取 12 個月份資料

g = stock(2618, 12)

輸出 CSV 檔

g.out_putfile('/dev/shm/2618.csv')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for grs, version 0.0.1a0308
Filename, size File type Python version Upload date Hashes
Filename, size grs-0.0.1a0308-py2.7.egg (9.0 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size grs-0.0.1a0308.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page