Use excel to pull stock prices from web

K|muRa^84

High Supremacy Member
Joined
Dec 1, 2007
Messages
36,811
Reaction score
6
Why nobody recommended investment moat's excellent Google sheets? It's free, it's comprehensive, and everything is set in stone, just need to key your parameters in.

Google investment moat portfolio tracker.


would prefer it to let u key in the then FX rate to determine cost basis, instead of using spot rate
 

Average

Banned
Joined
Apr 14, 2012
Messages
28,995
Reaction score
290
I tried and succeeded in pulling Price of M1 from google finance, using MS Excel 2013! However, my method is very novice and does not suit users who want to pull price for manymany counters. Below instructions.

Creating a data query from google finance.
Google search for M1 google finance, copy the URL.

In MS Excel go to "DATA" tab, select "From Web".

In the pop-up, Paste the URL in the address field and Go.

Toggle 1 of the small arrows pointing east, on the top-left of page.

Click "Import" to close the pop-up.

Insert the "DATA" on any random cell. Excel will now pull all data from the web and fill on your sheet.

Find the cell(s) that contain the B2F's price and copy them.

Create a new sheet and 'PASTE as link' wherever you want the price to show.

There you have it! Repeat all steps again to pull another counter. :s13:

[Disclaimer]
I have yet to test if there will be auto refresh but I am very sure you could manual refresh with a click of "Refresh all".

I have also yet to test with live market movements (Weekend no live quotes to test). :s12:
 

Perisher

Greater Supremacy Member
Deluxe Member
Joined
Jan 5, 2015
Messages
84,183
Reaction score
10,104
I have diy one for myself, a much simpler version as i am integrating it with my personal saving spreadsheet. Not sure if i can share the google spreadsheet link here

No issues.
 

spiritGate

Arch-Supremacy Member
Joined
Oct 11, 2007
Messages
11,440
Reaction score
2
Hi do you mind sharing your template? Like to know how can I start on one:)

Do note that my spreadsheet is very very simple (for investment portfolio) as this is one of a small portion of my overall saving spreadsheet.

Here is the link:
https://docs.google.com/spreadsheets/d/1fwOgYywND46jMjlX3i0xKAQ8y4pOh2Umq9QyB8LSfGE/edit?usp=sharing

If you go to investment tab, u can see the basic shares and how to retrieve the share price and dividend information.

I have create a video on how my spreadsheet works

 

wahkao3

High Supremacy Member
Joined
Mar 6, 2005
Messages
26,805
Reaction score
24
forget about excel
it doesnt even calculate basic performance

use fund manager, it can plot equity curve
graph_portfolio_report.gif
 

leoch037

Senior Member
Joined
Feb 24, 2001
Messages
1,742
Reaction score
2
i'm using sgx.i3investor.com
it's foc

anyone has similar portfolio sites like this to recommend?
 

peterchan75

Supremacy Member
Joined
Apr 26, 2003
Messages
6,677
Reaction score
520
Not sure what's TS intention of pulling the stock prices from the web. If it's for charting software then some charting software like NinjaTrader has a plugin to download daily data(open, high, low, close, volume) from Yahoo Finance. I personally, download daily data from Yahoo Finance using perl script and import into my charting software. Google finance is bitch to download. It will block when downloading too many counters. If the data is for portfolio tracking then using Excel or Google spreadsheet is fine.
 

Kryewee

Member
Joined
Jul 31, 2013
Messages
120
Reaction score
0
I have a Google spreadsheet, but these days I'm getting an error. The error is that Google spreadsheet is not authorized to access data for SGX. Anyway around it? Thanks!
 

apriliasiao

Supremacy Member
Joined
Dec 11, 2001
Messages
9,014
Reaction score
731
I have a Google spreadsheet, but these days I'm getting an error. The error is that Google spreadsheet is not authorized to access data for SGX. Anyway around it? Thanks!

me too! dunno how to troubleshot this sia..
 

Perisher

Greater Supremacy Member
Deluxe Member
Joined
Jan 5, 2015
Messages
84,183
Reaction score
10,104

iam1e5

High Supremacy Member
Joined
Mar 17, 2004
Messages
30,626
Reaction score
0
I think you guys are having the same issues as the people in this thread
http://deluxeforums.hardwarezone.co...oogle-spreadsheet-4275653-2.html#post97441668

Take a look perhaps.

read these 2 websites

http://www.labnol.org/internet/import-html-in-google-docs/28125/

https://kx.cloudingenium.com/conten...hoo-finance-you-can-query-them-via-excel-too/

tldr:

use "=importData("http://finance.yahoo.com/d/quotes.csv?s=s63.SI&f=l1")"

to get data for SGX ticker S63, that is ST Eng

also posted in the other thread, but put it here for convenience. not related to both websites.
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Community Guidelines and Standards, Terms of Service and Member T&Cs for more information.
Top