Minor cosmetics in start_trading
This commit is contained in:
parent
27d46ed06f
commit
33645e45fd
@ -10,8 +10,10 @@ def start_trading(args: Dict[str, Any]) -> int:
|
||||
"""
|
||||
Main entry point for trading mode
|
||||
"""
|
||||
# Import here to avoid loading worker module when it's not used
|
||||
from freqtrade.worker import Worker
|
||||
# Load and run worker
|
||||
|
||||
# Create and run worker
|
||||
worker = None
|
||||
try:
|
||||
worker = Worker(args)
|
||||
|
Loading…
Reference in New Issue
Block a user