tinyurl.com/sunbingo-uk

Tag Archives: trading

Get Stock Quote from Goolge Web API via Python

Background Google has officially announce that it won't sustain ongoing of Finance API, but there still a available API via URL API . Return data from web server is xml format . We need to parse the return text in Python and extract data . Get the Stock Data Google Web API format (  http://www.google.com/ig/api?stock=C ) , this will request market data for security code "C" ( Citigroup  :) )  xml return result: <xml_api_reply version="1"> <finance module_id="0" Read more [...]

Get Security Quote of Chinese Market from Sina.com via Python

Intro Although articles have been written about calling security quote API of Sina.com . I'd like to take a dive into it via Python and try to setup a OO implementation.  Sina.com API will offer  5-th market depth prices of Chinese Shanghai / Shenzhen Exchange Stock in real time style . API structure calling Sina.com Stock API can be straightforward , just type "http://hq.sinajs.cn/list=sh601012" in browser address . call back will shown as below ( click to enlarge ):   Cracking Read more [...]