Update backtesting.py

This commit is contained in:
MoonGem
2018-03-25 11:14:16 -05:00
committed by GitHub
parent 4e8ed34d03
commit 861fa3d9ea

View File

@@ -19,7 +19,8 @@ from freqtrade.logger import Logger
from freqtrade.misc import file_dump_json from freqtrade.misc import file_dump_json
from freqtrade.persistence import Trade from freqtrade.persistence import Trade
import sys import sys
import os
import time
class Backtesting(object): class Backtesting(object):
""" """
Backtesting class, this class contains all the logic to run a backtest Backtesting class, this class contains all the logic to run a backtest
@@ -257,8 +258,8 @@ class Backtesting(object):
results results
) )
) )
sys.exit(1) time.sleep(2)
os.close(1)
def setup_configuration(args: Namespace) -> Dict[str, Any]: def setup_configuration(args: Namespace) -> Dict[str, Any]:
""" """
Prepare the configuration for the backtesting Prepare the configuration for the backtesting