mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-13 03:33:55 +00:00
Merge pull request #1405 from freqtrade/edge_cli_comments
Fix edge-cli comments
This commit is contained in:
commit
c3af7220f1
|
@ -1,7 +1,7 @@
|
||||||
# pragma pylint: disable=missing-docstring, W0212, too-many-arguments
|
# pragma pylint: disable=missing-docstring, W0212, too-many-arguments
|
||||||
|
|
||||||
"""
|
"""
|
||||||
This module contains the backtesting logic
|
This module contains the edge backtesting interface
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
|
@ -19,11 +19,11 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class EdgeCli(object):
|
class EdgeCli(object):
|
||||||
"""
|
"""
|
||||||
Backtesting class, this class contains all the logic to run a backtest
|
EdgeCli class, this class contains all the logic to run edge backtesting
|
||||||
|
|
||||||
To run a backtest:
|
To run a edge backtest:
|
||||||
backtesting = Backtesting(config)
|
edge = EdgeCli(config)
|
||||||
backtesting.start()
|
edge.start()
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, config: Dict[str, Any]) -> None:
|
def __init__(self, config: Dict[str, Any]) -> None:
|
||||||
|
@ -77,7 +77,7 @@ class EdgeCli(object):
|
||||||
|
|
||||||
def setup_configuration(args: Namespace) -> Dict[str, Any]:
|
def setup_configuration(args: Namespace) -> Dict[str, Any]:
|
||||||
"""
|
"""
|
||||||
Prepare the configuration for the backtesting
|
Prepare the configuration for edge backtesting
|
||||||
:param args: Cli args from Arguments()
|
:param args: Cli args from Arguments()
|
||||||
:return: Configuration
|
:return: Configuration
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user