Re: Currency Designator/Reporting Issues

2021-11-07 Thread John Wiegley
> "o" == o1bigtenor   writes:

o> Any ideas on what’s happening here?

I'm not sure what's going on, but -V tries to be smart and maybe it's failing
in your case. What happens if you use "-X USD" instead?

John

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/m28rxzcepc.fsf%40newartisans.com.


Re: Currency Designator/Reporting Issues

2021-11-07 Thread Jasel17212
Ajoeibin - I want to make the change for consistency.  Running a report 
that shows commodities and currencies using the same format just looks 
better to my eye.

John / Martin - either of you have any ideas as to what might be causing 
this issue?

Thanks!
JL

On Sunday, November 7, 2021 at 6:26:22 AM UTC-6 Ajoeibin wrote:

> On Sat, Nov 6, 2021 at 6:15 PM Jasel17212  
> wrote:
>
>> When I started using ledger a few years ago, I defaulted to using the 
>> dollar symbol ($) in my journal files. This, of course, works just fine.  
>> If I want a balance sheet report, I run the following command:
>>
>> ledger -f 1.ldg --price-db price_db.txt -V --strict –explicit ^Ass ^Lia 
>> --depth 2
>>
>> This produces the following output:
>>
>>  $xxx.xx  Assets
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>>  $xxx.xxy
>> $-xxx.xx  Liabilities
>> $-xxx.xxy
>> $-xxx.xxy
>> $-xxx.xxy
>> 
>>
>  $xxx,xxx.xx
>>
>
>> I decided to switch to using USD instead of the dollar symbol. To do this 
>> I removed all of the dollar symbols from my journal files and price 
>> database and added USD. Following is the format I used:
>>
>> xxx.xx USD
>>
>> Now when I run the exact same balance sheet report, I see commodities 
>> that I didn’t see before I made my changes.
>>
>>  -5.37578 KO
>>
>   xxx.xx USD
>> -2,139.718 VTHRX  Assets
>>   xxx.xx USDy
>>   xxx.xx USDy
>>
>   xxx.xx USDCrypto
>>
>   xxx.xx USDy
>>   xxx.xx USDy
>>  -5.37578 KO
>>   xxx.xx USD
>> -2,139.718 VTHRXy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>  -xxx.xx USD  Liabilities
>>  -xxx.xx USDy
>>  -xxx.xx USDy
>>  -xxx.xx USDy
>> 
>>  -5.37578 KO
>>
>   xxx,xxx.xx USD
>> -2,139.718 VTHRX
>>
>> What’s interesting here is that the non-USD commodities appear to be 
>> commodities that I’ve previously sold.  In other words, I no longer hold 
>> VTHRX, and while I do hold some KO, it’s a fraction of a share (see below).
>>
>
>> If I run the same command WITHOUT the -V option, I get a report that 
>> accurately reflects my current holdings:
>>
>> ledger -f 1.ldg --price-db price_db.txt --strict –explicit ^Ass ^Lia 
>> --depth 2
>>
>>   x. ABC
>>   0.04860 KO
>>
>   xxx.xx USD  Assets
>>   xxx.xx USDy
>>   xxx.xx USDy
>>
>   x. ABCy
>>
>   xxx.xx USDy
>>   xxx.xx USDy
>>   0.04860 KO
>>   xxx.xx USDy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>   xxx.xx USDy
>>  -xxx.xx USD  Liabilities
>>  -xxx.xx USDy
>>  -xxx.xx USDy
>>  -xxx.xx USDy
>> 
>>
>   x. ABC
>>   0.04860 KO
>>   xxx,xxx.xx USD
>>
>
>> Running the original command with -X USD produces the output I expected 
>> to get in the first place. In other words, the same output I received 
>> before changing $ to USD, but with the new commodity designator.
>>
>> ledger -f 1.ldg --price-db price_db.txt -V --strict –explicit ^Ass ^Lia 
>> --depth 2 -X USD
>>
>>   xxx,xxx.xx USD  Assets
>>
>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>   xxx.xx USD   y
>>  -xxx.xx USD Liabilities
>>  -xxx.xx USD   y
>>  -xxx.xx USD   y
>>  -xxx.xx USD   y
>> 
>>
>   xxx,xxx.xx USD
>>
>
>> Any ideas on what’s happening here?
>>
>>
> Totally can't speak to what's happening in 'ledger' - - - but - - - I'm 
> wondering why 
> you would want the change?
>
> For business - - - - one is expected to run the journal in one's main 
> currency. 
> Other currencies are all handled in the main currency. 
> I think that if there is enough usage of any other currency one could use 
> a 
> sub-journal for any such but imo that would be a fairly high volume of 
> activity 
> and also involve the use of other currency accounts. 

Re: Approve dialog not coming up when transferring from Zilswap

2021-11-07 Thread Colin Dean
Wrong "Ledger". This is for ledger, a command-line, plain text accounting 
program, not Ledger, the cryptocurrency wallet.

On Sunday, November 7, 2021 at 11:14:10 AM UTC-5 kenm...@gmail.com wrote:

> Hi everyone, it's my first time here. I'm having a problem with 
> Zilpay/Zilswap/Ledger. When I try to send Zil to an exchange it it just 
> timeouts. This has been happening for the last week, I haven't been able to 
> move any Zilliqa out of my Zilpay wallet to an exchange. When I try to swap 
> zil for another token on Zilswap eveything works fine, I get the proper 
> approval dialog, but I can't send tokens. Does anyone have a idea of what 
> might be going on? Thank you!

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/3b19847d-f302-46fb-a307-ac2e70152624n%40googlegroups.com.


Approve dialog not coming up when transferring from Zilswap

2021-11-07 Thread Ken Marold
Hi everyone, it's my first time here. I'm having a problem with 
Zilpay/Zilswap/Ledger. When I try to send Zil to an exchange it it just 
timeouts. This has been happening for the last week, I haven't been able to 
move any Zilliqa out of my Zilpay wallet to an exchange. When I try to swap 
zil for another token on Zilswap eveything works fine, I get the proper 
approval dialog, but I can't send tokens. Does anyone have a idea of what 
might be going on? Thank you!

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/4fabfad3-ec8d-4df2-b15e-3a2515eb7been%40googlegroups.com.


Re: Currency Designator/Reporting Issues

2021-11-07 Thread o1bigtenor
On Sat, Nov 6, 2021 at 6:15 PM Jasel17212  wrote:

> When I started using ledger a few years ago, I defaulted to using the
> dollar symbol ($) in my journal files. This, of course, works just fine.
> If I want a balance sheet report, I run the following command:
>
> ledger -f 1.ldg --price-db price_db.txt -V --strict –explicit ^Ass ^Lia
> --depth 2
>
> This produces the following output:
>
>  $xxx.xx  Assets
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
>  $xxx.xxy
> $-xxx.xx  Liabilities
> $-xxx.xxy
> $-xxx.xxy
> $-xxx.xxy
> 
>  $xxx,xxx.xx
>
> I decided to switch to using USD instead of the dollar symbol. To do this
> I removed all of the dollar symbols from my journal files and price
> database and added USD. Following is the format I used:
>
> xxx.xx USD
>
> Now when I run the exact same balance sheet report, I see commodities that
> I didn’t see before I made my changes.
>
>  -5.37578 KO
>   xxx.xx USD
> -2,139.718 VTHRX  Assets
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDCrypto
>   xxx.xx USDy
>   xxx.xx USDy
>  -5.37578 KO
>   xxx.xx USD
> -2,139.718 VTHRXy
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDy
>  -xxx.xx USD  Liabilities
>  -xxx.xx USDy
>  -xxx.xx USDy
>  -xxx.xx USDy
> 
>  -5.37578 KO
>   xxx,xxx.xx USD
> -2,139.718 VTHRX
>
> What’s interesting here is that the non-USD commodities appear to be
> commodities that I’ve previously sold.  In other words, I no longer hold
> VTHRX, and while I do hold some KO, it’s a fraction of a share (see below).
>
> If I run the same command WITHOUT the -V option, I get a report that
> accurately reflects my current holdings:
>
> ledger -f 1.ldg --price-db price_db.txt --strict –explicit ^Ass ^Lia
> --depth 2
>
>   x. ABC
>   0.04860 KO
>   xxx.xx USD  Assets
>   xxx.xx USDy
>   xxx.xx USDy
>   x. ABCy
>   xxx.xx USDy
>   xxx.xx USDy
>   0.04860 KO
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDy
>   xxx.xx USDy
>  -xxx.xx USD  Liabilities
>  -xxx.xx USDy
>  -xxx.xx USDy
>  -xxx.xx USDy
> 
>   x. ABC
>   0.04860 KO
>   xxx,xxx.xx USD
>
> Running the original command with -X USD produces the output I expected to
> get in the first place. In other words, the same output I received before
> changing $ to USD, but with the new commodity designator.
>
> ledger -f 1.ldg --price-db price_db.txt -V --strict –explicit ^Ass ^Lia
> --depth 2 -X USD
>
>   xxx,xxx.xx USD  Assets
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>   xxx.xx USD   y
>  -xxx.xx USD Liabilities
>  -xxx.xx USD   y
>  -xxx.xx USD   y
>  -xxx.xx USD   y
> 
>   xxx,xxx.xx USD
>
> Any ideas on what’s happening here?
>
>
Totally can't speak to what's happening in 'ledger' - - - but - - - I'm
wondering why
you would want the change?

For business - - - - one is expected to run the journal in one's main
currency.
Other currencies are all handled in the main currency.
I think that if there is enough usage of any other currency one could use a
sub-journal for any such but imo that would be a fairly high volume of
activity
and also involve the use of other currency accounts.

Regards

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAPpdf5-KXgu3ET89knqDkVufrt4G2QXm3%2BL%3DoH3Kk%3Da%2BG6zPDQ%40mail.gmail.com.