Re: Newbie questions

2020-05-08 Thread Nikos Charonitakis
thanks, problem solved:
Assets:Stocks:stockname  stockname 200 @ EUR 20
i was writing previously:
Assets:stocks:stockname  200 @ EUR 20

Τη Παρασκευή, 8 Μαΐου 2020 - 3:40:57 π.μ. UTC+3, ο χρήστης Martin Michlmayr 
έγραψε:
>
> * Nikos Charonitakis > [2020-05-07 21:12]: 
> > I ll try to see what is wrong with my file because i set stock prices 
> with 
> > eg @ EUR 20 when i first recorded (opening balance) my assets, and after 
> > your reply i set at the end of my file 
> > P 7/5/2020 STOCK_NAME EUR 20 but even this does not change behaviour and 
> > ledger instists reporting stock quantity and no value. 
>
> Can you post a small testcase? 
>
> -- 
> Martin Michlmayr 
> https://www.cyrius.com/ 
>

-- 

--- 
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/b2ada326-37a3-4f17-88b8-ccab88de798f%40googlegroups.com.


Re: Newbie questions

2020-05-07 Thread Martin Michlmayr
* Nikos Charonitakis  [2020-05-07 09:10]:
> I am a new user of ledger and here is my questions:
> a) Is it possible to change the number format when entering transactions? 
> Ledger uses , for thousands and . for decimal. Can we use (and how) them 
> the opposite way: (.) for thousands and , for decimal?

Use the --decimal-comma  option.

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
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/20200508004022.GA1263%40jirafa.cyrius.com.


Re: Newbie questions

2020-05-07 Thread Martin Michlmayr
* Nikos Charonitakis  [2020-05-07 21:12]:
> I ll try to see what is wrong with my file because i set stock prices with
> eg @ EUR 20 when i first recorded (opening balance) my assets, and after
> your reply i set at the end of my file
> P 7/5/2020 STOCK_NAME EUR 20 but even this does not change behaviour and
> ledger instists reporting stock quantity and no value.

Can you post a small testcase?

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
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/20200508004048.GB1263%40jirafa.cyrius.com.


Re: Newbie questions

2020-05-07 Thread John Wiegley
> "NC" == Nikos Charonitakis  writes:

NC> I ll try to see what is wrong with my file because i set stock prices with
NC> eg @ EUR 20 when i first recorded (opening balance) my assets, and after
NC> your reply i set at the end of my file P 7/5/2020 STOCK_NAME EUR 20 but
NC> even this does not change behaviour and ledger instists reporting stock
NC> quantity and no value.

That is indeed odd!

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/m2wo5n36ij.fsf%40newartisans.com.


Re: Newbie questions

2020-05-07 Thread Nikos Charonitakis
Thanks for your answers John.

I ll try to see what is wrong with my file because i set stock prices with
eg @ EUR 20 when i first recorded (opening balance) my assets, and after
your reply i set at the end of my file
P 7/5/2020 STOCK_NAME EUR 20 but even this does not change behaviour and
ledger instists reporting stock quantity and no value.

Regards
Nikos

Στις Πέμ, 7 Μαΐ 2020 στις 8:07 μ.μ., ο/η John Wiegley 
έγραψε:

> > "NC" == Nikos Charonitakis  writes:
>
> NC> a) Is it possible to change the number format when entering
> transactions?
> NC> Ledger uses , for thousands and . for decimal. Can we use (and how)
> them
> NC> the opposite way: (.) for thousands and , for decimal?
>
> Ledger uses whatever it sees you use.
>
> NC> b) My assets are mixed with stocks,bonds,and different currencies.
> When i
> NC> use ledger to show balance  expressed in EUR, stocks and bonds are
> NC> reported in quantity and not in their EUR value.
>
> NC> So the result of this command:
>
> NC> ledger -f file.ldg   -V  bal  Assets --X EUR
>
> NC> is something like that:
>
> NC> 100
> NC> 550EUR Assets
>
> This is because it doesn't know price of that item in EUR...
>
> 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/CAMLyknXmT6L65AGucMZSBn2429M_VCWD5sS91ZxTE9Dbv2Gj2w%40mail.gmail.com.


Re: Newbie questions

2020-05-07 Thread John Wiegley
> "NC" == Nikos Charonitakis  writes:

NC> a) Is it possible to change the number format when entering transactions?
NC> Ledger uses , for thousands and . for decimal. Can we use (and how) them
NC> the opposite way: (.) for thousands and , for decimal?

Ledger uses whatever it sees you use.

NC> b) My assets are mixed with stocks,bonds,and different currencies. When i
NC> use ledger to show balance  expressed in EUR, stocks and bonds are
NC> reported in quantity and not in their EUR value.

NC> So the result of this command:

NC> ledger -f file.ldg   -V  bal  Assets --X EUR

NC> is something like that:

NC> 100
NC> 550EUR Assets

This is because it doesn't know price of that item in EUR...

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/m2sggbbrnd.fsf%40newartisans.com.


Newbie questions

2020-05-07 Thread Nikos Charonitakis
Hi all
I am a new user of ledger and here is my questions:
a) Is it possible to change the number format when entering transactions? 
Ledger uses , for thousands and . for decimal. Can we use (and how) them 
the opposite way: (.) for thousands and , for decimal?
b) My assets are mixed with stocks,bonds,and different currencies. When i 
use ledger to show balance  expressed in EUR, stocks and bonds are reported 
in quantity and not in their EUR value.
So the result of this command:
ledger -f file.ldg   -V  bal  Assets --X EUR

is something like that:

100
550EUR Assets




-- 

--- 
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/daa9cfa5-3631-4596-8544-1a3ec7981fbe%40googlegroups.com.