GnuCash Online-Handbuch | ||
---|---|---|
<<< Previous | Next >>> |
THIS MATERIAL NEEDS TO BE REWRITTEN FOR 1.6!!!
GnuCash provides a somewhat rudimentary automated stock quote gathering system. If a GnuCash stock account is suitably configured, and the host computer is connected to the Internet, the program gnc-prices may be used to load stock and mutual fund price quotes from various web sites directly into GnuCash.
This is what you do:
Create an account and mark it as being of type "Mutual Fund" or "Stock".
Enter a valid ticker symbol in the box marked "Security:"
Select a quote source from the pull-down menu. Currently supported quote sources include Yahoo, Yahoo Europe, Fidelity Investments, T. Rowe Price, the Vanguard Group, the Australian Stock Exchange (ASX) and TIAA-CREF. Note that Yahoo will provide price quotes for many mutual funds including Fidelity, T.Rowe Price and Vanguard, and that the quoted prices at Yahoo should be identical to those that may be found at the source sites (otherwise, somebody's reporting wrong information!). If you choose Yahoo Europe, you should append the market code for the security, such as PA for Paris, BE for Berlin, etc. Example: 12150.PA (a Peugeot security in the Paris market).
Ensure that the currency of the account matches the source of the stock you have selected. This means:
Quotes from the Australian Stock Exchange (ASX) should be in Australian dollars (AUD).
Quotes from Yahoo Europe should be in Euros (ECU)
Quotes from Yahoo, Fidelity Investments, T. Rowe Price and the Vanguard Group should be in US Dollars (USD).
Table 1. Code List for European Markets
Code | Market |
---|---|
PA | Paris |
BC | Barcelona |
BE | Berlin |
BI | Bilbao |
BR | Brême |
CO | Copenhagen |
D | Dusseldorf |
F | Frankfurt |
H | Hamburg |
HA | Hanover |
L | London |
MA | Madrid |
MC | Madrid (M.C.) |
MI | Milan |
MU | Munich |
O | Oslo |
ST | Stockholm |
SG | Stuttgart |
VA | Valence |
FX | Xetra |
Table 2. Pseudo-symbols that can be used for TIAA-CREF quotes
Name | Pseudo-symbol |
---|---|
Stock | CREFstok |
Money Market | CREFmony |
Equity Index | CREFequi |
Inflation-Linked Bond | CREFinfb |
Bond Market | CREFbond |
TIAA Real Estate | TIAAreal |
Social Choice | CREFsoci |
Teachers PA Stock Index | TIAAsndx |
Global Equities | CREFglob |
Teachers PA Select Stock | TIAAsele |
Growth | CREFgrow |
A sample image is shown below:
To update the prices stored in a gnucash account file, run the command line command gnc-price, specifying the filename; for example: gnc-prices myaccts.xac
Running this command will print various diagnostic messages to the screen while it loads data. It will work only when the host computer is attached to the Internet. It can function in conjunction with masquerading-style firewalls and proxy servers.
The command can be run many times in one day; however, it will update the accounts at most once with the most recent trading days price data. Thus, if gnc-prices is run on Friday, Saturday, Sunday and Monday, only two price entries will be made: one containing Friday's data, and one containing Monday's data, since the Saturday and Sunday runs will only retrieve the Friday closing price.
To keep gnc-prices from updating one account, while allowing it to update another account, merely mark the data source for that account as
(none) |
After running gnc-prices for a few days, your
accounts will begin to resemble the following:
<<< Previous | Home | Next >>> |
Getting quotes online | Printing Checks |