Can someone please help? Aggregation error. How to use existing index and add additional info?

Hello Badger.

I actually managed to finish this, I saw another thread of yours this is my code.

Thread for reference.

Edited: Had an error in CSV (duplicate date, it's correct now)