fix method return value
This commit is contained in:
parent
2444fb9cd6
commit
200111fef6
@ -227,7 +227,7 @@ class RPC:
|
||||
]
|
||||
|
||||
def _rpc_trade_history(
|
||||
self, limit: int) -> Dict[str, List[Dict[str, Any]]]:
|
||||
self, limit: int) -> Dict:
|
||||
""" Returns the X last trades """
|
||||
if limit > 0:
|
||||
trades = Trade.get_trades().order_by(Trade.id.desc()).limit(limit)
|
||||
|
Loading…
Reference in New Issue
Block a user