Merge pull request #2806 from hroff-1902/minor-freqtrade-5

Minor cosmetics in start_trading
This commit is contained in:
Matthias 2020-01-27 06:37:47 +01:00 committed by GitHub
commit aae14dd9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,10 @@ def start_trading(args: Dict[str, Any]) -> int:
""" """
Main entry point for trading mode Main entry point for trading mode
""" """
# Import here to avoid loading worker module when it's not used
from freqtrade.worker import Worker from freqtrade.worker import Worker
# Load and run worker
# Create and run worker
worker = None worker = None
try: try:
worker = Worker(args) worker = Worker(args)