On 26/05/2022 20:26, Philippe Dumonet wrote:
How do I create a query such that I can get my lots, sorted by date while having the positions being aggregated?

I am not sure I understand what you would like to obtain, but does a query like

SELECT
  sum(position),
  cost_date
WHERE
  account = 'Assets:Crypto'
GROUP BY
  currency,
  cost_date

get close to what you would like to obtain?

Having an example ledger and and the output you would like to obtain would help to better understand.

Cheers,
Dan

--
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/ec8ee533-ee45-75ee-ef76-caec1013c1dc%40grinta.net.

Reply via email to