Re: [GNC-dev] [GNC] Reconciliation Report -- Can't find transactions

2019-01-16 Thread Christopher Lam
The suggested reconciliation changes will need lots of testing and bug
fixing prior to wider dissemination and merging. Because it delegates to
the very versatile transaction report, it still exposes far too many
options and I think loss of options need to be hidden but I don't wish to
impose further. You're very welcome to take part and make suggestions BTW.
C

On Mon., 14 Jan. 2019, 03:46 Adrien Monteleone <
adrien.montele...@lusfiber.net wrote:

> Christopher,
>
> There is another current thread on gnucash-user looking for something
> similar:
> https://lists.gnucash.org/pipermail/gnucash-user/2019-January/081941.html
>
> Can you share your report files there or does the new version also require
> changes to other parts of gnucash to make it work?
>
> Regards,
> Adrien
>
> > On Jan 13, 2019, at 9:39 AM, Christopher Lam 
> wrote:
> >
> > Hi
> >
> > If you can pull from my git again I think you'll find the reconcile
> report now matches the formal tool very well.
> >
> > 1. disable date filter - i.e. grab *all* transactions
> > 2. filter to unreconciled or cleared only
> > 3. calculate start/end balances
> >
> > Comments welcome.
> >
> > On 13/1/19 10:58 am, Liz wrote:
> >> On Sat, 12 Jan 2019 18:49:05 +0800
> >> Christopher Lam  wrote:
> >>
> >>> Please experiment further (1) expand dates eg from 01/01/1980 to
> >>> 01/01/2099 (2) let me know the characteristics of the 77 missing
> >>> amounts
> >>> - are they unreconciled/cleared/reconciled?
> >>>
> >>> I guess you can build from source, would you care to try
> >>>
> https://github.com/christopherlam/gnucash/tree/maint-scheme-progress-and-reconcile-header
> >>> which will add a reconcile-report header?
> >>
> >> This is the result from the the git build, working from a copy of my
> >> file
> >> I suppressed the description column
> >> No transactions from 31/8/18 to 31/12/18
> >> 77 or so in the file.
> >>
> >> Liz
> >>
> >> ___
> >> gnucash-devel mailing list
> >> gnucash-devel@gnucash.org
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > ___
> > gnucash-devel mailing list
> > gnucash-devel@gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> >
>
>
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] AppImage

2019-01-16 Thread Adrien Monteleone
Good to know, thanks!

Regards,
Adrien

> On Jan 16, 2019, at 8:08 AM, Derek Atkins  wrote:
> 
> For the record, nightly maint and master builds are happening now.
> We are still working to get tag builds done.
> However, we probably wont be able to "announce" their general
> availability for another ~6 months due to network constraints.
> 
> -derek
> 
> "Alen Siljak"  writes:
> 
>> That's great news!
>> I've collected the links I found so far to this issue:
>> https://bugs.gnucash.org/show_bug.cgi?id=796019
>> It is now closed since the AppImage is there and there are ongoing
>> efforts in getting an official Flatpak image.
>> 
>>> Sent: Friday, January 11, 2019 at 6:34 PM
>>> From: "Derek Atkins" 
>>> To: cicko 
>>> Cc: gnucash-devel@gnucash.org
>>> Subject: Re: [GNC-dev] AppImage
>>> 
>>> For the record, we are working on getting a Flatpak build done locally.
>>> It's on my to-do to set up a "nightly" build.
>>> -derek
>>> 
>>> cicko  writes:
>>> 
 Someone actually created an AppImage repo for GnuCash at
 https://github.com/ecmu/gnucash.AppImage
>> 
>> 
> 
> -- 
>   Derek Atkins 617-623-3745
>   de...@ihtfp.com www.ihtfp.com
>   Computer and Internet Security Consultant
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Alphavantage strategies

2019-01-16 Thread Derek Atkins
Hi,

Wm via gnucash-devel  writes:

[snip]
> Let's consider some simple backoff strategies that gnc could
> implement, feel free to add your own.
>
> Wm's suggestion
> ===
> only collect if the most recent price is more than 1 day (or 12 hours,
> etc) old [2].  this sort of fits in with the existing post collection
> query, i.e. always store the good prices that have been obtained,
> instead ask the user, "do you want to try and fetch the other prices /
> rates again".  this provides a natural pause to Alphavantage as gnc
> won't be hitting it for prices it just got a second time and would
> only be requesting the prices it didn't get last time.
>
> [2] I use this in my own collections (external to gnc) run by cron,
> some more obscure currency pairs are only available a few hours a day,
> I don't even try if the most recent is less than a day old.

Unless it's changed, the only real "backoff" strategy required is to
sleep for 16 seconds between requests.  Basically, assuming this hasn't
changed recently, they allow 5 requests per minute.  So by sleeping 16
seconds you ensure that 5th request occurs after 60 seconds is up.

It should be pretty easy to implement this delay and still allow full
pulls.  The downside, of course, is that if you have lots of prices to
pull it can take N/4 minutes to get them all, so sure, only refreshing
prices > 12 hours old is probably fine, but I suspect this will still be
an all-or-nothing exercise in general.

Enjoy!

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] AppImage

2019-01-16 Thread Derek Atkins
For the record, nightly maint and master builds are happening now.
We are still working to get tag builds done.
However, we probably wont be able to "announce" their general
availability for another ~6 months due to network constraints.

-derek

"Alen Siljak"  writes:

> That's great news!
> I've collected the links I found so far to this issue:
> https://bugs.gnucash.org/show_bug.cgi?id=796019
> It is now closed since the AppImage is there and there are ongoing
> efforts in getting an official Flatpak image.
>
>> Sent: Friday, January 11, 2019 at 6:34 PM
>> From: "Derek Atkins" 
>> To: cicko 
>> Cc: gnucash-devel@gnucash.org
>> Subject: Re: [GNC-dev] AppImage
>>
>> For the record, we are working on getting a Flatpak build done locally.
>> It's on my to-do to set up a "nightly" build.
>> -derek
>> 
>> cicko  writes:
>> 
>> > Someone actually created an AppImage repo for GnuCash at
>> > https://github.com/ecmu/gnucash.AppImage
>
>

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel