Advanced Portfolio Report
Andrew Sackville-West
andrew at swclan.homelinux.org
Sun Mar 2 14:49:41 EST 2008
On Sat, Mar 01, 2008 at 04:57:45PM +0000, Richard Ullger wrote:
> Hi Charles,
>
> My intention is to look into improving some of the reporting. I don't
> know scheme so I'm making a start on getting to grips with it. I've
> installed a scheme editor and am starting to go through the Scheme
> Programming Language book so it may take me a while to get up to speed.
>
Scheme is very straightforward. If you have any coding experience at
all, you should be able to get the basics of scheme in just a day or
so of hacking. I actually learned scheme (having seen lisp a few
times) from hacking on gnucash reports. I now use it a lot for general
programatic tom-foolery ;). Anyway, the gnucash api is much more
difficult to learn, IMO, than the scheme. I recommend that if you want
to hack on reports, just start hacking on reports. login to #gnucash
on irc and ask questions as you go, you'll get it pretty quickly.
A
> Regards,
>
> Richard.
>
> Charles Day wrote:
> > On Fri, Feb 29, 2008 at 12:45 AM, Richard Ullger <rullger at ntlworld.com
> > <mailto:rullger at ntlworld.com>> wrote:
> >
> > Andrew, Derek,
> >
> > Thanks for your replies.
> >
> > What I'm looking for is a valuation that includes dividends and
> > interest to give a true ROI, similar to the portfolio view in
> > Quicken 98.
> >
> >
> > Me too... if you're planning to start working on the code, let me know,
> > as I am definitely interested in helping to expand any portfolio
> > management functionality. Once I can get substantially free of the QIF
> > importer, that is. -Charles
> >
> > I appretiate the suggestion of using the multi-column report. I've
> > used this to simulate the snapshots window in Quicken and have the
> > advanced portfolio, net worth and 12mth income/expense reports on it
> > but its painfully slow. There are other problems with the MC report
> > but thats another issue.
> >
> > Anyway, your help is appretiated.
> >
> > Regards,
> >
> > Richard.
> > ________________ Reply Header ________________
> > Subject: Re: Advanced Portfolio Report
> > Author: Andrew Sackville-West <andrew at swclan.homelinux.org
> > <mailto:andrew at swclan.homelinux.org>>
> > Date: 28th February 2008 7:47:22 pm
> >
> > On Sat, Feb 23, 2008 at 12:53:07AM +0000, Richard Ullger wrote:
> >
> > > Derek Atkins wrote:
> > > > hi,
> > > >
> > > > Richard Ullger <rullger at ntlworld.com
> > <mailto:rullger at ntlworld.com>> writes:
> > > >
> > > >> Hi,
> > > >>
> > > >> Is there a way to include cash, dividends and interest in this
> > report?
> > > >>
> > > >> I have a parent account for the broker/institution with a bank sub
> > > >> account for cash and stock sub account for each stock as per the
> > > >> concepts guide. Dividends and interest are received into the bank
> > > >> account and the bank account is used to fund purchases of the
> > stock.
> > > >>
> > > >> I've tried to include the bank account in the account
> > selection tab of
> > > >> the report options but the account is ignored.
> > > >
> > > > Andrew S-W could answer this difinitively, but I think the answer
> > > > is no, this report only shows your commodity handlings, not your
> > > > cash holdings, too. Keep in mind that your cash holdings don't
> > > > change in value due to price fluctuations, so there are no changes
> > > > in basis or cap gains/losses. There's only interest income.
> >
> > here I am ;)
> >
> > Derek is correct, the Advanced Portfolio report *only* looks at the
> > individual commodity accounts and transactions into and out of those
> > accounts.
> >
> > There have been a whole raft of discussions of what to do with
> > portfolio reports. Please review the devel archives and search
> > bugzilla for enhancement requests against adv. portfolio.
> >
> > Your comments are appreciated. In a perfect world, my plan is to
> > factor out large chunks of the portfolio report into a utility file
> > that could then be used by any number of portfolio type reports... but
> > that's dependent on more time than I currently have.
> >
> > >
> > > Where would I start to write such a report. Are the reports
> > written in c
> > > or scheme. Would you be able to point me in the right direction
> > so that
> > > I could look at how the advanced portfolio report was written as
> > a starter.
> > >
> >
> > the relevant report is in
> > src/report/standard-reports/advanced-portfolio.scm
> >
> > Based on what you've said, I *think* you are looking for something
> > that will track your "brokerage" statement as opposed to your
> > individual stocks? It's certainly concievable. In the meantime, you
> > might find the multi-column report helps -- you could stick a
> > portfolio report alongside an income statemnt for the selected
> > accounts or something like that.
> >
> > A
> >
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
> >
> >
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20080302/3d3fbd22/attachment.bin
More information about the gnucash-user
mailing list