def to_csv(self,fName):
        assert self.dataReady , "No data received yet "
        self.data().to_csv(fName,header = True, mode='wb')
save data to csv
dataset/ETHPy150Open sjev/trading-with-python/lib/interactiveBrokers/handlers.py/Account.to_csv