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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

File details

Details for the file grs-0.0.1a0308.tar.gz.

File metadata

  • Download URL: grs-0.0.1a0308.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grs-0.0.1a0308.tar.gz
Algorithm Hash digest
SHA256 e7a8a2f22462f7c2c0a0a924b65aa333400306227426474f8f2372bd9c100815
MD5 43d86821f638e13203016a1795b3acc0
BLAKE2b-256 d144da4bb08e909fbaa228076a29b415b985c4dbabbc905a7879cc759c177bef

See more details on using hashes here.

File details

Details for the file grs-0.0.1a0308-py2.7.egg.

File metadata

  • Download URL: grs-0.0.1a0308-py2.7.egg
  • Upload date:
  • Size: 9.0 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grs-0.0.1a0308-py2.7.egg
Algorithm Hash digest
SHA256 8abcbfad72b40a59a729805644964fbb1d38292e15c1f381a5b232ce8be79172
MD5 bf623cfd400c969a70a5a4444d6fa893
BLAKE2b-256 dacf050877d506e6b920ed362291c415f6cfd254bd7155715a03d864288ce63c

See more details on using hashes here.

Supported by

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