Add rest endpoint for /locks

This commit is contained in:
Matthias
2020-10-17 17:58:07 +02:00
parent 7a9768ffa6
commit cd2866eaec
4 changed files with 49 additions and 4 deletions

View File

@@ -111,6 +111,13 @@ class FtRestClient():
"""
return self._get("count")
def locks(self):
"""Return current locks
:return: json object
"""
return self._get("locks")
def daily(self, days=None):
"""Return the amount of open trades.