diff --git a/freqtrade/commands/cli_options.py b/freqtrade/commands/cli_options.py index 5dd587559..33de428db 100755 --- a/freqtrade/commands/cli_options.py +++ b/freqtrade/commands/cli_options.py @@ -695,14 +695,12 @@ AVAILABLE_CLI_OPTIONS = { help='set INT minimum trade amount', type=check_int_positive, metavar='INT', - default=10, ), "targeted_trade_amount": Arg( '--targeted-trade-amount', help='set INT targeted trade amount', type=check_int_positive, metavar='INT', - default=20, ), "lookahead_analysis_exportfilename": Arg( '--lookahead-analysis-exportfilename', diff --git a/freqtrade/constants.py b/freqtrade/constants.py index b8e240419..ef59d8999 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -164,6 +164,8 @@ CONF_SCHEMA = { 'trading_mode': {'type': 'string', 'enum': TRADING_MODES}, 'margin_mode': {'type': 'string', 'enum': MARGIN_MODES}, 'reduce_df_footprint': {'type': 'boolean', 'default': False}, + 'minimum_trade_amount': {'type': 'number', 'default': 10}, + 'targeted_trade_amount': {'type': 'number', 'default': 20}, 'liquidation_buffer': {'type': 'number', 'minimum': 0.0, 'maximum': 0.99}, 'backtest_breakdown': { 'type': 'array',