Update backtesting.py
This commit is contained in:
parent
4e8ed34d03
commit
861fa3d9ea
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user