mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
fix method return value
This commit is contained in:
parent
2444fb9cd6
commit
200111fef6
|
@ -227,7 +227,7 @@ class RPC:
|
||||||
]
|
]
|
||||||
|
|
||||||
def _rpc_trade_history(
|
def _rpc_trade_history(
|
||||||
self, limit: int) -> Dict[str, List[Dict[str, Any]]]:
|
self, limit: int) -> Dict:
|
||||||
""" Returns the X last trades """
|
""" Returns the X last trades """
|
||||||
if limit > 0:
|
if limit > 0:
|
||||||
trades = Trade.get_trades().order_by(Trade.id.desc()).limit(limit)
|
trades = Trade.get_trades().order_by(Trade.id.desc()).limit(limit)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user