Arguments should be in the configuration.

This commit is contained in:
Matthias 2023-05-20 11:01:42 +02:00
parent b2ecfd28a7
commit 5488789bc4
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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',