Add API endpoint for /stats

This commit is contained in:
Matthias
2020-12-07 15:07:08 +01:00
parent 81410fb404
commit 3ab5514697
4 changed files with 54 additions and 0 deletions

View File

@@ -139,6 +139,13 @@ class FtRestClient():
"""
return self._get("profit")
def stats(self):
"""Return the stats report (durations, sell-reasons).
:return: json object
"""
return self._get("stats")
def performance(self):
"""Return the performance of the different coins.