Arguments should be in the configuration.
This commit is contained in:
@@ -695,14 +695,12 @@ AVAILABLE_CLI_OPTIONS = {
|
|||||||
help='set INT minimum trade amount',
|
help='set INT minimum trade amount',
|
||||||
type=check_int_positive,
|
type=check_int_positive,
|
||||||
metavar='INT',
|
metavar='INT',
|
||||||
default=10,
|
|
||||||
),
|
),
|
||||||
"targeted_trade_amount": Arg(
|
"targeted_trade_amount": Arg(
|
||||||
'--targeted-trade-amount',
|
'--targeted-trade-amount',
|
||||||
help='set INT targeted trade amount',
|
help='set INT targeted trade amount',
|
||||||
type=check_int_positive,
|
type=check_int_positive,
|
||||||
metavar='INT',
|
metavar='INT',
|
||||||
default=20,
|
|
||||||
),
|
),
|
||||||
"lookahead_analysis_exportfilename": Arg(
|
"lookahead_analysis_exportfilename": Arg(
|
||||||
'--lookahead-analysis-exportfilename',
|
'--lookahead-analysis-exportfilename',
|
||||||
|
|||||||
@@ -164,6 +164,8 @@ CONF_SCHEMA = {
|
|||||||
'trading_mode': {'type': 'string', 'enum': TRADING_MODES},
|
'trading_mode': {'type': 'string', 'enum': TRADING_MODES},
|
||||||
'margin_mode': {'type': 'string', 'enum': MARGIN_MODES},
|
'margin_mode': {'type': 'string', 'enum': MARGIN_MODES},
|
||||||
'reduce_df_footprint': {'type': 'boolean', 'default': False},
|
'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},
|
'liquidation_buffer': {'type': 'number', 'minimum': 0.0, 'maximum': 0.99},
|
||||||
'backtest_breakdown': {
|
'backtest_breakdown': {
|
||||||
'type': 'array',
|
'type': 'array',
|
||||||
|
|||||||
Reference in New Issue
Block a user