mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Add default argument
This commit is contained in:
parent
ae8660fe06
commit
99875afcc0
|
@ -235,8 +235,7 @@ class ApiServer(RPC):
|
||||||
|
|
||||||
:return: stats
|
:return: stats
|
||||||
"""
|
"""
|
||||||
timescale = request.args.get('timescale')
|
timescale = request.args.get('timescale', 7)
|
||||||
logger.info("LocalRPC - Daily Command Called")
|
|
||||||
timescale = int(timescale)
|
timescale = int(timescale)
|
||||||
|
|
||||||
stats = self._rpc_daily_profit(timescale,
|
stats = self._rpc_daily_profit(timescale,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user