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

Report Issue or get involved

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.

Source Distribution

grs-0.0.1a0308.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

grs-0.0.1a0308-py2.7.egg (9.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page