Allow --base and --quote be lists of currencies
This commit is contained in:
@@ -35,7 +35,7 @@ ARGS_LIST_EXCHANGES = ["print_one_column", "list_exchanges_all"]
|
||||
ARGS_LIST_TIMEFRAMES = ["exchange", "print_one_column"]
|
||||
|
||||
ARGS_LIST_PAIRS = ["exchange", "print_list", "list_pairs_print_json", "print_one_column",
|
||||
"print_csv", "base_currency", "quote_currency", "active_only"]
|
||||
"print_csv", "base_currencies", "quote_currencies", "active_only"]
|
||||
|
||||
ARGS_CREATE_USERDIR = ["user_data_dir"]
|
||||
|
||||
|
@@ -273,13 +273,15 @@ AVAILABLE_CLI_OPTIONS = {
|
||||
help='Print exchange pair or market data in the csv format.',
|
||||
action='store_true',
|
||||
),
|
||||
"quote_currency": Arg(
|
||||
'--quote-currency',
|
||||
help='Select quote currency.',
|
||||
"quote_currencies": Arg(
|
||||
'--quote',
|
||||
help='Specify quote currency(-ies). Space-separated list.',
|
||||
nargs='+',
|
||||
),
|
||||
"base_currency": Arg(
|
||||
'--base-currency',
|
||||
help='Select base currency.',
|
||||
"base_currencies": Arg(
|
||||
'--base',
|
||||
help='Specify base currency(-ies). Space-separated list.',
|
||||
nargs='+',
|
||||
),
|
||||
"active_only": Arg(
|
||||
'--active-only',
|
||||
|
Reference in New Issue
Block a user