Re: how exactly to do unit testing in scheme...

2018-02-12 Thread Christopher Lam
Hi Robert and devel, Thank you for pointers, this is useful. The examples below illustrate how to test multiple items together. But I think the complexity of the 52(and counting) options (37 binary, the rest are multiples/multichoice) means, I think it'll be better to handwrite tests. I'll

Re: price.date, transaction.post_date and neutral time

2018-02-12 Thread Alen Siljak
This is interesting information. I am currently separating the Asset Allocation logic into its own Python package, for direct use (cli) and potential library reuse between GnuCash Portfolio and an Android app (perhaps an add-on for MoneyManagerEx or who knows where it leads). In

Re: price.date, transaction.post_date and neutral time

2018-02-12 Thread Wm via gnucash-devel
On 11/02/2018 12:33, Sébastien de Menten wrote: When exporting data from SQL backends, I see some inconsistencies in the handling of some date & datetime columns. In the prices table, when adding price via the price editor, I see in the date column a datetime with the UTC of the /MM/DD

Re: price.date, transaction.post_date and neutral time

2018-02-12 Thread Alen Siljak
> Sent: Monday, February 12, 2018 at 7:34 PM > From: "Wm via gnucash-devel" > To: gnucash-de...@lists.gnucash.org > Subject: Re: price.date, transaction.post_date and neutral time > > On 12/02/2018 14:27, Alen Siljak wrote: > > I am currently separating the Asset

Re: price.date, transaction.post_date and neutral time

2018-02-12 Thread Wm via gnucash-devel
On 12/02/2018 14:27, Alen Siljak wrote: This is interesting information. I am currently separating the Asset Allocation logic into its own Python package, for direct use (cli) and potential library reuse between GnuCash Portfolio and an Android app (perhaps an add-on for

Re: price.date, transaction.post_date and neutral time

2018-02-12 Thread Sébastien de Menten
When I enter a new price for a given day for a security on the NASDAQ via the price editor, it is stored in the date column the UTC time for that day at 00:00:00 local time (CET=Europe, not EST=New-York). Which is weird because across timezone, the day of the price will be interpreted differently.

Scope of GNUCash

2018-02-12 Thread Matt Graham
>IIRC the discussion at the time was about whether gnc should or could be used >for trading. the result was "no" A couple of times I have noticed that people have said "That's not what GNUCash is for". It begs the question - where is it defined what GNUCash is and isn't for? The charter for

Re: price.date, transaction.post_date and neutral time

2018-02-12 Thread Wm via gnucash-devel
On 12/02/2018 18:57, Alen Siljak wrote: Sent: Monday, February 12, 2018 at 7:34 PM From: "Wm via gnucash-devel" To: gnucash-de...@lists.gnucash.org Subject: Re: price.date, transaction.post_date and neutral time On 12/02/2018 14:27, Alen Siljak wrote: I am

Re: Scope of GNUCash

2018-02-12 Thread Wm via gnucash-devel
On 13/02/2018 01:42, Matt Graham wrote: IIRC the discussion at the time was about whether gnc should or could be used for trading. the result was "no" I said that. A couple of times I have noticed that people have said "That's not what GNUCash is for". It begs the question - where is

Re: price.date, transaction.post_date and neutral time

2018-02-12 Thread Wm via gnucash-devel
On 12/02/2018 21:00, Sébastien de Menten wrote: When I enter a new price for a given day for a security on the NASDAQ via the price editor, it is stored in the date column the UTC time for that day at 00:00:00 local time (CET=Europe, not EST=New-York). Which is weird because across timezone, the