mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 18:13:04 +00:00
make configuration a sep. module, including arguments
This commit is contained in:
@@ -14,7 +14,7 @@ import pytest
|
||||
from telegram import Chat, Message, Update
|
||||
|
||||
from freqtrade import constants, persistence
|
||||
from freqtrade.arguments import Arguments
|
||||
from freqtrade.configuration import Arguments
|
||||
from freqtrade.data.converter import parse_ticker_dataframe
|
||||
from freqtrade.edge import Edge, PairInfo
|
||||
from freqtrade.exchange import Exchange
|
||||
@@ -22,6 +22,7 @@ from freqtrade.freqtradebot import FreqtradeBot
|
||||
from freqtrade.resolvers import ExchangeResolver
|
||||
from freqtrade.worker import Worker
|
||||
|
||||
|
||||
logging.getLogger('').setLevel(logging.INFO)
|
||||
|
||||
|
||||
@@ -39,7 +40,7 @@ def log_has_re(line, logs):
|
||||
False)
|
||||
|
||||
|
||||
def get_args(args) -> List[str]:
|
||||
def get_args(args):
|
||||
return Arguments(args, '').get_parsed_arg()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user