Hi Simon,

Thank you! Stoked to hear! I am a fan of hledger! I was looking at hledger 
before I thought of giving a quick spin on wrapping ledger round with a GUI 
Node app... I wanted something on my Launchpad. More than a year on and I 
am still at it.. And I am still learning and discovering ledger 
functionalities, better way of getting certain reports... And its probably 
good for me to look at hledger and beancount too in earnest.

Anyway, I think there may be a couple of reasons why you're not seeing the 
numbers for some of the months, stemming from the fact that all reports in 
Prudent uses Ledger's magical market value option (-V) to normalize the 
commodities to a base rate (I should probably document this):

*1) A slightly older version of ledger requires a space for certain 
transaction. I.e.*

2018/01/01 *Opening balances
    Assets:Savings  $3000
    Equity:Opening Balances

2018/01/05
    Assets:Shares  5 APPL@$100
    Assets:Savings

*With Ledger 3.0.0-20120510* (the version currently available on 
https://www.ledger-cli.org/download.html).

$ ledger -V --empty bal Savings Current Liabilities 
                -500
               $3000  Assets:Savings

*With Ledger 3.1.1-20160111:*

$ ledger -V --empty bal Savings Current Liabilities
               $2500  Assets:Savings

*2) If you have transactions with different commodities within an account 
and the exchange rate between the commodities is not defined.*

The Month card values are based on market value (-V) with a  base 
commodity, so it tries to sum and convert as much as -V. 

So, if you have something like this:

2018/06/27
    Assets  $1000
    Income

2018/06/28
    Assets  €500
    Income
    
Even -V returns multiple prices:

$ ledger -V --empty bal Assets Liabilities
               $1000
                €500  Assets

This is of course the right thing to expect, there is no P line like:

P 2018/06/28 15:50:00 € $1.16

Prudent however, will not show anything without the P line as what I'd 
initially thought when I started with this is to make it simple and most 
people when looking at reports prefer the summary to be in a single base 
commodity (such as the currency of their country of residence). 

But I now realize that I might had over-assumed. It is nice for example to 
see the number of shares owned instead of total share value in base 
commodity for example. 

So, I'll work on adding a global toggle to show either only Base Currency 
(with an indicator for columns with multiple currencies) or show All 
currencies. 

Summarily, this might be the reason for the empty months! Will get the 
multi-currency display feature out as soon as possible. 

Thanks,

Vito

*p.s. On another note, you can also check if there are any syntax error in 
"~/Library/Application\ Support/Prudent/Data/logs/error.log". Prudent shows 
an X indicator on the line with error, one at a time :)*

On Wednesday, 27 June 2018 15:01:07 UTC+8, Simon Michael (sm) wrote:
>
> On 6/25/18 2:42 PM, vitoc wrote: 
> > Hey everyone, 
> > 
> > I'd been working on a macOS editor and reporting wrapper around Ledger 
> for 
> > about a year (spare time side-project). I'd just completed it and will 
> > appreciate some help from any macOS users out there that can try it and 
> see 
> > if it's useful. 
> > 
> > I made a website for the tool (called Prudent) here: 
> > 
> > https://prudent.me 
> > 
> > The app itself comes with an integrated editor and a calendar-like 
> > reporting tool. It's really an effort to make Ledger work for me (taking 
> > into account how my aging brain needs more visual stimulus to issue 
> > commands to the computer), but I think it might be useful to others with 
> > similar thinking structure and needs. 
> > 
> > I have a lot more ideas for features for it and will continue working on 
> it 
> > but really want to get it out there to see how far such a tool can go :) 
> > 
> > Thanks, 
> > 
> > Vito 
> > 
>
> Hi Vito, 
>
> congratulations and thanks for Prudent, which so far seems to be a 
> freeware, closed source, React-native based, Ledger GUI for mac. 
>
> I like the app design (and home page) very much. It's something I was 
> thinking about when starting hledger: log of transactions goes in, 
> useful reports come out, the end. An accounting appliance with no 
> confusing choices. 
>
> FYI: 
>
> - yesterday it was downloading very slowly. Download worked fine today. 
>
> - I commented out some things in my hledger journal to make it 
> Ledger-compatible. Then I added some account aliases to get 
> Prudent-compatible account names. I got a few numbers showing up: 
> Income, Expenses, Profit for may, july, and august only. The journal has 
> data for all accounts from january to august. Since it's closed source I 
> couldn't troubleshoot further. 
>
> Best! 
>
> -Simon 
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to