tungwaiyip.info

home

about me

links

my software

Media

Yucatán Photos

St Lucia Photos

Photo Album

Videos

Blog

< June 2008 >
SuMoTuWeThFrSa
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728
2930     

past articles »

Click for San Francisco, California Forecast

San Francisco, USA

 

Python Stock Quote

There are many free tools available to help people manage their stock portfolio. For example, you can use Yahoo! Finance to track your current holdings. For each stock it list many detail financial data as well as stock chart for various periods. Still, when you need to do more sophisticated analysis, there is nothing that beats the power of spreadsheet.

Fortunately it is easy to pull the data from the web tool to a spreadsheet. You can simple copy and paste the data into a spreadsheet to get a properly formatted table. For there you can add your custom formula or charts. The problem is unlike the web view, data downloaded on a spreadsheet is not updated with current market information. On the other hand if you download the again you will lose all custom formula you have added.

To get the best of both world, I have created a script to so that you can update your spreadsheet with the latest stock quote from the web. This is a simple Python script. It first looks for the stock symbols in your portfolio in your spreadsheet. It then fetches the (15 minute delayed) stock quote from a Yahoo web services. Finally it updates the cells in the spreadsheet with new data from Yahoo.

This tool requires Python 2.5, Excel and pywin32 extension. Click here to download the stock quote update script.

2008.06.22 [] - comments

 

 

blog comments powered by Disqus

past articles »

 

Kontagent

Kontagent is hiring software engineers

BBC News

 

Facebook shares spike on debut (18 May 2012)

 

Merkel 'suggests Greek euro vote' (18 May 2012)

 

Inside world's ‘priciest house’ (18 May 2012)

 

World royals mark Diamond Jubilee (18 May 2012)

 

Syria protests 'grip Aleppo city' (18 May 2012)

 

UN nuclear chief to visit Iran (18 May 2012)

 

Protesters angered by Gulf union (18 May 2012)

 

Market jitters over eurozone woes (18 May 2012)

 

Malawi 'to overturn ban on gays' (18 May 2012)

 

ANC to sue over painting of Zuma (18 May 2012)

more »

 

Slashdot News for nerds, stuff that matters

 

Wozniak's Original System Description of the Apple ][ (2012-05-18T20:52:00+00:00)

 

Book Review: Elementary Information Security (2012-05-18T20:31:00+00:00)

 

How NASA and SpaceX Get Along Together (2012-05-18T19:50:00+00:00)

 

The Nearest Supernova Candidate To Earth: IK Pegasi (2012-05-18T19:07:00+00:00)

 

Curt Shilling's 38 Studios Struggling Financially (2012-05-18T18:46:00+00:00)

 

Facebook IPO Stumbles Out of the Gate (2012-05-18T18:25:00+00:00)

 

Cops' Warrantless Cell Phone Tracking Now Better Than GPS (2012-05-18T17:42:00+00:00)

 

Diesel-Like Engine Could Boost Fuel Economy By 50% (2012-05-18T17:01:00+00:00)

more »

 

TechPsychic Tech Rumors and Invented News

 

TechPsychic: AT&T: more money, says it's disruptive in funding from. (08 May 2010)

 

TechPsychic: I know that Apple is close to Apple Dominates, Hires ex-Googler - Yes, Android phones. (08 May 2010)

 

TechPsychic: AT&T says: Facebook Connect. (08 May 2010)

 

TechPsychic: Google's Nexus One of Google Chrome Release Adds Support subscriptions accounted for Amazon: Apple. (08 May 2010)

 

TechPsychic: Another stat: Twitter's Design of this is giving rise of BlackBerry Foursquare Map App store end. (07 May 2010)

 

TechPsychic: Like educational sales Up around Apple iPad makes money Plan costs half an Apple. (07 May 2010)

 

TechPsychic: Instead added extensions, social Networks than double, everyone jumps in Silicon Valley? (07 May 2010)

 

TechPsychic: So why iTunes App lets Social Networks Verizon Wireless Internet. (07 May 2010)

more »

 

SF Gate

 

Lawyer arrested in Dublin bicyclist's hit-run death (2012-05-18T18:38:57PDT)

 

Small state police force loads up on overtime (2012-05-18T18:38:57PDT)

 

Presented By: (18 May 2012)

 

Sunday's partial solar eclipse is only the start (2012-05-18T18:38:57PDT)

 

Woman killed, 2 others hurt in Berkeley wreck (2012-05-18T18:38:57PDT)

 

Renovated Victorian in Eureka Valley with views (2012-05-18T18:38:57PDT)

 

9/11 families upset over ground zero museum delays (2012-05-18T18:38:57PDT)

 

Largest protests yet in Syrian city of Aleppo (2012-05-18T18:38:57PDT)

 

Hewlett-Packard considers cutting 25,000 jobs (2012-05-18T18:42:24PDT)

 

Minute Maid wins 'Pomegranate Blueberry' case (2012-05-18T18:42:24PDT)

 

Romney, GOP guvs have differing takes on economy (2012-05-18T18:42:24PDT)

 

Sales for US print, electronic books up overseas (2012-05-18T18:42:24PDT)

 

Presented By: (18 May 2012)

 

Weekly US oil, gas rig count up by 12 to 1,986 (2012-05-18T18:42:24PDT)

more »

 

Asia Times Online

 

Riddle of the Scarborough Shoals (18 May 2012)

 

THE ROVING EYE : NATO occupies sweet home Chicago (18 May 2012)

 

US Iran hawks in some disarray (18 May 2012)

 

Tehran: To talk or not to talk (18 May 2012)

 

The 'illogic' of China's North Korea policy (18 May 2012)

 

BOOK REVIEW : Cherry-picking from China's success (18 May 2012)

 

SPEAKING FREELY : Nepal's constitution: Respect the dissenters (18 May 2012)

 

China's start-ups hold global potential (18 May 2012)

 

US gives green light to investment in Myanmar (18 May 2012)

 

IT WORLD : Facebook floats (18 May 2012)

more »

 


Site feed Updated: 2012-May-18 14:00