From 99875afcc034e6a7cdb96a2be5eb71917d3e9115 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 9 Apr 2019 07:08:46 +0200 Subject: [PATCH] Add default argument --- freqtrade/rpc/api_server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freqtrade/rpc/api_server.py b/freqtrade/rpc/api_server.py index 06f4ad0b9..693b82bec 100644 --- a/freqtrade/rpc/api_server.py +++ b/freqtrade/rpc/api_server.py @@ -235,8 +235,7 @@ class ApiServer(RPC): :return: stats """ - timescale = request.args.get('timescale') - logger.info("LocalRPC - Daily Command Called") + timescale = request.args.get('timescale', 7) timescale = int(timescale) stats = self._rpc_daily_profit(timescale,