diff --git a/ctapi/ctapi.py b/ctapi/ctapi.py index 77d9477..ff2c323 100644 --- a/ctapi/ctapi.py +++ b/ctapi/ctapi.py @@ -237,3 +237,19 @@ def getGains(self, **args): params.update(args) return self._api_query('getGains', params) + + + # + # getLedger + # + def getLedger(self, **args): + """ + Used to get Returns your Ledger + """ + + params = { + 'show_advanced': '1', + } + params.update(args) + + return self._api_query('getLedger', params)