-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path2.ledger
40 lines (30 loc) · 939 Bytes
/
2.ledger
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
; More Price Lines and Equity
; ===========================
; Here are the price lines we set originally
P 2015/01/01 CAD 100 JPY
P 2015/01/01 GBP 200 JPY
; And here are the opening balances
2015/01/01 Opening CAD Balance
Assets:CAD 10.00 CAD
Equity:CAD
2015/01/01 Opening GBP Balance
Assets:GBP 5.00 GBP
Equity:GBP
2015/01/01 Opening JPY Balance
Assets:JPY 1000 JPY
Equity:JPY
; Now we're going to update the prices to
; see what it does with our report.
P 2015/01/02 CAD 110 JPY
P 2015/01/02 GBP 240 JPY
; Try the same reports again. Remember to change
; the filename to 2.ledger:
; ledger -f 2.ledger bal
; ledger -f 2.ledger bal -X CAD
; ledger -f 2.ledger bal -X GBP
; ledger -f 2.ledger bal -X JPY
;
; Notice that the accounts balance and that the conversion
; is correct in each case. So no problem so far.
; Please open 3.ledger where we notice something strange about
; lot prices.