mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
remove obsolete param
This commit is contained in:
parent
58a6f21705
commit
e2aa78c11b
|
@ -33,12 +33,11 @@ class FreqtradeBot(object):
|
||||||
This is from here the bot start its logic.
|
This is from here the bot start its logic.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, config: Dict[str, Any], db_url: Optional[str] = None)-> None:
|
def __init__(self, config: Dict[str, Any])-> None:
|
||||||
"""
|
"""
|
||||||
Init all variables and object the bot need to work
|
Init all variables and object the bot need to work
|
||||||
:param config: configuration dict, you can use the Configuration.get_config()
|
:param config: configuration dict, you can use the Configuration.get_config()
|
||||||
method to get the config dict.
|
method to get the config dict.
|
||||||
:param db_url: database connector string for sqlalchemy (Optional)
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
logger.info(
|
logger.info(
|
||||||
|
@ -57,17 +56,16 @@ class FreqtradeBot(object):
|
||||||
self.persistence = None
|
self.persistence = None
|
||||||
self.exchange = None
|
self.exchange = None
|
||||||
|
|
||||||
self._init_modules(db_url=db_url)
|
self._init_modules()
|
||||||
|
|
||||||
def _init_modules(self, db_url: Optional[str] = None) -> None:
|
def _init_modules(self) -> None:
|
||||||
"""
|
"""
|
||||||
Initializes all modules and updates the config
|
Initializes all modules and updates the config
|
||||||
:param db_url: database connector string for sqlalchemy (Optional)
|
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
# Initialize all modules
|
# Initialize all modules
|
||||||
|
|
||||||
persistence.init(self.config, db_url)
|
persistence.init(self.config)
|
||||||
exchange.init(self.config)
|
exchange.init(self.config)
|
||||||
|
|
||||||
# Set initial application state
|
# Set initial application state
|
||||||
|
|
Loading…
Reference in New Issue
Block a user