Add short form for parameters, change default for hyperopt

This commit is contained in:
Matthias
2018-07-19 13:19:36 +02:00
parent 3df79b8542
commit 8f254031c6
2 changed files with 4 additions and 4 deletions

View File

@@ -178,15 +178,15 @@ class Arguments(object):
type=str,
)
parser.add_argument(
'--enable-position-stacking',
help='Allow buying the same pair twice (position stacking)',
'--eps', '--enable-position-stacking',
help='Allow buying the same pair multiple times (position stacking)',
action='store_true',
dest='position_stacking',
default=False
)
parser.add_argument(
'--disable-max-market-positions',
'--dmmp', '--disable-max-market-positions',
help='Disable applying `max_open_trades` during backtest '
'(same as setting `max_open_trades` to a very high number)',
action='store_false',