removing unnecessary args for edge
This commit is contained in:
parent
f666d1596b
commit
1cfd19aee3
@ -195,7 +195,7 @@ class Arguments(object):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-r', '--refresh-pairs-cached',
|
'-r', '--refresh-pairs-cached',
|
||||||
help='refresh the pairs files in tests/testdata with the latest data from the '
|
help='refresh the pairs files in tests/testdata with the latest data from the '
|
||||||
'exchange. Use it if you want to run your backtesting with up-to-date data.',
|
'exchange. Use it if you want to run your edge with up-to-date data.',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
dest='refresh_pairs',
|
dest='refresh_pairs',
|
||||||
)
|
)
|
||||||
@ -207,25 +207,6 @@ class Arguments(object):
|
|||||||
type=str,
|
type=str,
|
||||||
dest='stoploss_range',
|
dest='stoploss_range',
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
|
||||||
'--export',
|
|
||||||
help='export backtest results, argument are: trades\
|
|
||||||
Example --export=trades',
|
|
||||||
type=str,
|
|
||||||
default=None,
|
|
||||||
dest='export',
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
'--export-filename',
|
|
||||||
help='Save backtest results to this filename \
|
|
||||||
requires --export to be set as well\
|
|
||||||
Example --export-filename=user_data/backtest_data/backtest_today.json\
|
|
||||||
(default: %(default)s)',
|
|
||||||
type=str,
|
|
||||||
default=os.path.join('user_data', 'backtest_data', 'backtest-result.json'),
|
|
||||||
dest='exportfilename',
|
|
||||||
metavar='PATH',
|
|
||||||
)
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def optimizer_shared_options(parser: argparse.ArgumentParser) -> None:
|
def optimizer_shared_options(parser: argparse.ArgumentParser) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user