patetim

Results 2 issues of patetim

**Realized Gain / Loss for all Sales** **Unrealized Gain / Loss for all Purchases** Both datasets are missing from the getGains() API call. These datasets are very much needed.

--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [](https://localhost:8080/#) in ----> 1 ledger=api.getLedger() AttributeError: 'CTAPI' object has no attribute 'getLedger'