--print-csv added

This commit is contained in:
hroff-1902
2019-10-16 02:22:27 +03:00
parent 89e0c76a3f
commit f348956e4c
3 changed files with 39 additions and 18 deletions

View File

@@ -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",
"base_currency", "quote_currency", "active_only"]
"print_csv", "base_currency", "quote_currency", "active_only"]
ARGS_CREATE_USERDIR = ["user_data_dir"]

View File

@@ -268,6 +268,11 @@ AVAILABLE_CLI_OPTIONS = {
action='store_true',
default=False,
),
"print_csv": Arg(
'--print-csv',
help='Print exchange pair or market data in the csv format.',
action='store_true',
),
"quote_currency": Arg(
'--quote-currency',
help='Select quote currency.',