$30 off During Our Annual Pro Sale. View Details »

如何用 grs 擷取台灣上市股票股價資訊 PyCon APAC 2014

如何用 grs 擷取台灣上市股票股價資訊 PyCon APAC 2014

如何用 grs 擷取台灣上市股票股價資訊 PyCon APAC 2014
https://pypi.python.org/pypi/grs

Toomore Chiang

May 18, 2014
Tweet

More Decks by Toomore Chiang

Other Decks in Programming

Transcript

  1. 3

  2. Install 15 • pip install grs • python • >>>

    from grs import Stock • >>> Stock(‘2618’).info
  3. grs 簡單分析⼯工具 from grs import BestFourPoint from grs import Stock

    stock = Stock('2618') result = BestFourPoint(stock) result.best_four_point_to_buy() # 判斷是否為四⼤大買點 result.best_four_point_to_sell() # 判斷是否為四⼤大賣點 result.best_four_point() # 綜合判斷 24
  4. 其他應⽤用 • GAE XMPP robot. http://grsgae.appspot.com/ • “help” for How

    to. • Daily report mail. • Web demo. http://grs.toomore.net/ 31