Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to sort lots (by date) with --lots #1802

Open
alensiljak opened this issue Jul 3, 2019 · 1 comment
Open

Ability to sort lots (by date) with --lots #1802

alensiljak opened this issue Jul 3, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@alensiljak
Copy link

Perhaps I'm missing something but listing lots with ledger balance hy --lots results in the situation such as below:

image

Having lots of small periodic purchases and than a few big sales (for transferring to another account, for example), results in a tedious process of identifying the order of the lots.
--lot-dates orders the lots by date but is missing the price element. In that case one still has to find the correct lot in the unordered list.
Is there currently a way, or is it possible to adjust the --lots output to sort the lots in the order they were entered, or by the lot date?
I've tried using -S date but it does not make any difference.

@jwiegley
Copy link
Member

jwiegley commented Jul 3, 2019

Having a lot sorting option would be great.

@tbm tbm added the enhancement New feature or request label Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants