Re: Crypto Chart of Accounts setup (staking, DeFi, impermanent loss etc).
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 looping is working as you have no semantic information in the transactions about it.) Wll def check t-j out. thanks, Daryl On Mon, Feb 7, 2022 at 1:42 AM John Wiegley wrote: > > "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 of trade-journal is to give you the simplest syntax possible to > express the "events" that occurred relative to your staking, and then to > generate Ledger transactions from these, so that Ledger is the reporting > tool, > but trade-journal is the input scheme. > > 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/CAL9aZktHmG7XYC87khU-Zgz8YP6oO_TaOfaevQcHfmbHSBe%3DoQ%40mail.gmail.com.
Re: get a number/amount only from `ledger balance ...`
* 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 amount (with the commodity): ledger bal assets:cash --balance-format "%(amount)" I'm not sure if you can get just the number, but you can just run this command through sed or perl to remove the commodity. -- 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/YgBn3YhG1C3IrRH/%40jirafa.cyrius.com.
get a number/amount only from `ledger balance ...`
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 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/4d73154c-a7e7-4cfa-a0d1-2810fb602eden%40googlegroups.com.
Re: Crypto Chart of Accounts setup (staking, DeFi, impermanent loss etc).
> "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 of trade-journal is to give you the simplest syntax possible to express the "events" that occurred relative to your staking, and then to generate Ledger transactions from these, so that Ledger is the reporting tool, but trade-journal is the input scheme. 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/m2o83j99ip.fsf%40newartisans.com.