Rename rest-client script history to trades
This commit is contained in:
parent
296c616ce7
commit
492c2799dc
@ -156,10 +156,10 @@ class FtRestClient():
|
||||
"""
|
||||
return self._get("show_config")
|
||||
|
||||
def history(self, limit=None):
|
||||
def trades(self, limit=None):
|
||||
"""Return trades history.
|
||||
|
||||
:param limit: Limits trades to the X last trades . No limit to get all the trades.
|
||||
:param limit: Limits trades to the X last trades. No limit to get all the trades.
|
||||
:return: json object
|
||||
"""
|
||||
return self._get("trades", params={"limit": limit} if limit else 0)
|
||||
|
Loading…
Reference in New Issue
Block a user