.. grs documentation master file, created by
sphinx-quickstart on Thu Jan 16 00:58:25 2014.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to grs's documentation!
===============================
=================================
grs 台灣上市上櫃股票價格擷取
=================================
.. image:: https://travis-ci.org/toomore/grs.svg?branch=master
:target: http://travis-ci.org/toomore/grs
.. image:: https://img.shields.io/pypi/dm/grs.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/grs
.. image:: https://img.shields.io/pypi/v/grs.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/grs
.. image:: https://img.shields.io/pypi/wheel/grs.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/grs
.. image:: https://img.shields.io/pypi/l/grs.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/grs
主要開發擷取台灣股市(TWSE)股價資料
- 資料來源 `證券交易所網站 `_ 。
- 資料來源 `證券櫃檯買賣中心 `_ 。
版本資訊
-----------------------------
:Authors: Toomore Chiang
:Version: 0.7.0 of 2016/09/11
:Python Version: Python 2.7
:Docs: http://grs-docs.toomore.net/
Requires
-----------------------------
- python-dateutil==1.5
- ujson
- urllib3
Report Issue or get involved
-----------------------------
- Github: https://github.com/toomore/grs
- Issues: https://github.com/toomore/grs/issues
Web Demo
-----------------------------
- grs Online: http://grs.toomore.net/
Quick start
------------
.. toctree::
:maxdepth: 2
quick-start
Feature
-----------
.. toctree::
:maxdepth: 2
擷取股票資訊 grs.Stock
股票列表 grs.TWSENo / grs.OTCNo
判斷是否開市 grs.TWSEOpen
時間、倒數處理 grs.TWTime/Countdown
盤中即時資訊擷取 grs.RealtimeStock/RealtimeWeight
四大買賣點判斷 grs.BestFourPoint
其他錯誤訊息處理 grs.error
Change Logs
-----------------------------
* 0.7.0 2016/09/11
- 修正:上市(TWSE)擷取連結
* 0.6.2 2015/03/20
- 修正:上櫃(OTC)擷取連結
* 0.6.1 2014/06/11
- 修正:安裝時錯誤的套件載入
* 0.6.0 2014/06/10
- 修正:使用 urllib3 取代 urllib2
- 新增::doc:`新格式的即時盤擷取資訊 `,包含加權指數、櫃檯指數、寶島指數
* 0.5.6 2014/06/01
- 修正:tools 儲存路徑
- 新增:日常交易的代碼與名稱(:func:`grs.twseno.ImportCSV.get_stock_list` )
- 新增:日常交易的類別代碼與名稱(:func:`grs.twseno.ImportCSV.get_stock_comps_list` )
- 已知問題:盤中即時資訊擷取無法使用 grs.RealtimeStock/RealtimeWeight
* 0.5.5 2014/05/18
- 修正: :func:`grs.fetch_data.SimpleAnalytics.CKMAO` to be classmethod.
* 0.5.4 2014/05/12
- 新增:MA, MAO, MAV, CKMAO into :class:`grs.fetch_data.SimpleAnalytics`.
* 0.5.3 2014/04/17
- 修正:離線時的錯誤訊息
- 修正:`realtime` str format.
* 0.5.2 2014/04/12
- 修正:字串判斷使用 `basestring`.
* 0.5.1 2014/04/08
- 修正:套件遺漏 csv 檔案
* 0.5.0 2014/03/04
- 新增:上櫃資訊( `櫃台買賣中心 `_ )
- 修正:股票代碼列表回傳(TWSENo)代碼值改為 *string*.
* 0.4.3 2014/01/22
- 新增: `grs 文件 `_.
* 0.4.2 2014/01/11
- 修正:Stock ``stock_no``, RealtimeStock ``no`` 必須為 *string*.
`Issues #9 `_
* 0.4.1 2014/01/02
- 修正:Countdown().countdown 秒數問題
- 新增:twse_no, twse_open, twse_realtime, countdown into unittest
- 移除:Support Python 2.6
* 0.4.0 2013/12/30
- 修正:Naming Convention
- 修正:Coding style to fit PEP8
- 新增:For PyPy
* 0.3.0 2013/12/18
- 更新:股票代碼列表
- 更新:2014 年集中交易市場開(休)市日期表
* 0.2.1 2013/12/16
- 修正:部分資料改用 tuple
* 0.2.0 2012/04/13
- 修正:輸出中文統一使用 Unicode
- 修正:需要套件 python-dateutil 調整為 1.5
- 修正:Web Demo 網站網址
- 新增:Stock.plusMons() 擴充月份資料
* 0.1.4 2012/04/01
- 修正:每月首日無資料抓取問題
* 0.1.3 2012/03/31
- 修正:Countdown 倒數時間計算錯誤(dateutil.relativedelta)
* 0.1.2 2012/03/31
- 修正:grs 倒數時間計算錯誤(dateutil.relativedelta)
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`