Re: Crypto Chart of Accounts setup (staking, DeFi, impermanent loss etc).

2022-02-06 Thread John Wiegley
> "DM" == Daryl Manning writes: DM> Your comment about different staking schemes is interesting though. DM> Did you find ledger-cli just impossible to support those in? (to my DM> initial question, really.). Ledger can represent them, but it ends up being a very manual affair. The objective

get a number/amount only from `ledger balance ...`

2022-02-06 Thread Sim Tov
Hello, I would like to use the output of `ledger balance ...` in a bash script. I want to get a number/amount only, without all the strings around it... is there a command line option to get amount only (even without commodity/currency sign)? Thank you! -- --- You received this message bec

Re: get a number/amount only from `ledger balance ...`

2022-02-06 Thread Martin Michlmayr
* Sim Tov [2022-02-06 12:43]: > I would like to use the output of `ledger balance ...` in a bash script. I > want to get a number/amount only, without all the strings around it... is > there a command line option to get amount only (even without > commodity/currency sign)? This gets you the am

Re: Crypto Chart of Accounts setup (staking, DeFi, impermanent loss etc).

2022-02-06 Thread Daryl Manning
Interesting. I was rather hoping there was something like Reckon that could suck in csvs from the various CEX and DEX exports (where they have them) and then figure out how to write the entries in Ledger themselves. (tho recognize that this makes it hard perhaps to see if a particular strategy eg l