/automated-postings.ledger Secret
Last active
August 15, 2018 05:25
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commodity EUR | |
format 9,999.00 EUR | |
= Assets:Depot:LyxorACWI | |
[Assets:Depot:LyxorACWI] *-1 | |
[Assets:Savings] *1 | |
2018/01/01 * Opening | |
Assets:Checking 10,000.00 EUR | |
Opening:Balance | |
2018/01/01 * Buying Shares | |
Assets:Depot:LyxorACWI:20180101 0.43346 LyxorACWI @@ 100.00 EUR | |
Assets:Checking | |
2018/02/01 * Buying Shares | |
Assets:Depot:LyxorACWI:20180201 0.42265 LyxorACWI @@ 100.00 EUR | |
Assets:Checking | |
; $ hledger bal --alias='/assets:Depot:([^:]+):(.*)/'='Assets:Depot:\1' --auto | |
; 9,800.00 EUR | |
; 0.85611 LyxorACWI Assets | |
; 9,800.00 EUR Checking | |
; 0.85611 LyxorACWI Savings | |
; -10,000.00 EUR Opening:Balance | |
; -------------------- | |
; -200.00 EUR | |
; 0.85611 LyxorACWI | |
; $ hledger bal --alias='/assets:Depot:([^:]+):(.*)/'='Assets:Depot:\1' --auto -R | |
; 9,800.00 EUR | |
; 0.85611 LyxorACWI Assets | |
; 9,800.00 EUR Checking | |
; 0.85611 LyxorACWI Depot:LyxorACWI | |
; -10,000.00 EUR Opening:Balance | |
; -------------------- | |
; -200.00 EUR | |
; 0.85611 LyxorACWI | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment