added code to get xrp balances and trades and write them to a csv file