Getting all transaction during a certain period and also calculating opening balances and closing balances for those periods