mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
Merge pull request #2806 from hroff-1902/minor-freqtrade-5
Minor cosmetics in start_trading
This commit is contained in:
commit
aae14dd9fe
|
@ -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