chore: remove edge runmode
This commit is contained in:
@@ -405,7 +405,7 @@ class DataProvider:
|
|||||||
def runmode(self) -> RunMode:
|
def runmode(self) -> RunMode:
|
||||||
"""
|
"""
|
||||||
Get runmode of the bot
|
Get runmode of the bot
|
||||||
can be "live", "dry-run", "backtest", "edgecli", "hyperopt" or "other".
|
can be "live", "dry-run", "backtest", "hyperopt" or "other".
|
||||||
"""
|
"""
|
||||||
return RunMode(self._config.get("runmode", RunMode.OTHER))
|
return RunMode(self._config.get("runmode", RunMode.OTHER))
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from enum import Enum
|
|||||||
class RunMode(str, Enum):
|
class RunMode(str, Enum):
|
||||||
"""
|
"""
|
||||||
Bot running mode (backtest, hyperopt, ...)
|
Bot running mode (backtest, hyperopt, ...)
|
||||||
can be "live", "dry-run", "backtest", "edge", "hyperopt".
|
can be "live", "dry-run", "backtest", "hyperopt".
|
||||||
"""
|
"""
|
||||||
|
|
||||||
LIVE = "live"
|
LIVE = "live"
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ EXCHANGE_HAS_OPTIONAL = [
|
|||||||
def remove_exchange_credentials(exchange_config: ExchangeConfig, dry_run: bool) -> None:
|
def remove_exchange_credentials(exchange_config: ExchangeConfig, dry_run: bool) -> None:
|
||||||
"""
|
"""
|
||||||
Removes exchange keys from the configuration and specifies dry-run
|
Removes exchange keys from the configuration and specifies dry-run
|
||||||
Used for backtesting / hyperopt / edge and utils.
|
Used for backtesting / hyperopt and utils.
|
||||||
Modifies the input dict!
|
Modifies the input dict!
|
||||||
"""
|
"""
|
||||||
if dry_run:
|
if dry_run:
|
||||||
|
|||||||
Reference in New Issue
Block a user