Balance history between dates

Please use following query to get balance history