mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Arguments should be in the configuration.
This commit is contained in:
parent
b2ecfd28a7
commit
5488789bc4
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user