Filter timeseries data based on multiple criteria – Postgresql
I have a table where I store timeseries data: customer_id transaction_type transaction_date transaction_value 1 buy 2022-12-04 100.0 1 sell 2022-12-04 80.0 2 buy 2022-12-04 120.0 2 sell 2022-12-03 120.0 1 buy 2022-12-02 90.0 1 sell 2022-12-02 70.0 2 buy 2022-12-01…