added option to easily switch between backtesting and backslapping from the commandline option

This commit is contained in:
Gert
2018-07-31 18:10:23 -07:00
parent 3428b6666b
commit 04d5e857e2
2 changed files with 17 additions and 3 deletions

View File

@@ -161,6 +161,14 @@ class Arguments(object):
dest='exportfilename',
metavar='PATH',
)
parser.add_argument(
'--backslap',
help="Utilize the Backslapping approach instead of the default Backtesting. This should provide more "
"accurate results, unless you are utilizing Min/Max function in your strategy.",
required=False,
dest='backslap',
action='store_true'
)
@staticmethod
def optimizer_shared_options(parser: argparse.ArgumentParser) -> None: