data conversion, not data conversation

* we're not talking to the data yet ...
This commit is contained in:
Matthias
2020-01-05 09:55:02 +01:00
parent 2409261cb7
commit f82c4346b6
6 changed files with 13 additions and 13 deletions

View File

@@ -264,14 +264,14 @@ class Arguments:
convert_data_cmd.set_defaults(func=partial(start_convert_data, ohlcv=True))
self._build_args(optionlist=ARGS_CONVERT_DATA_OHLCV, parser=convert_data_cmd)
# Add convert-data subcommand
convert_data_cmd = subparsers.add_parser(
# Add convert-trade-data subcommand
convert_trade_data_cmd = subparsers.add_parser(
'convert-trade-data',
help='Convert trade-data from one format to another.',
parents=[_common_parser],
)
convert_data_cmd.set_defaults(func=partial(start_convert_data, ohlcv=False))
self._build_args(optionlist=ARGS_CONVERT_DATA, parser=convert_data_cmd)
convert_trade_data_cmd.set_defaults(func=partial(start_convert_data, ohlcv=False))
self._build_args(optionlist=ARGS_CONVERT_DATA, parser=convert_trade_data_cmd)
# Add Plotting subcommand
plot_dataframe_cmd = subparsers.add_parser(

View File

@@ -334,13 +334,13 @@ AVAILABLE_CLI_OPTIONS = {
),
"format_from": Arg(
'--format-from',
help='Source format for data conversation.',
help='Source format for data conversion.',
choices=constants.AVAILABLE_DATAHANDLERS,
required=True,
),
"format_to": Arg(
'--format-to',
help='Destination format for data conversation.',
help='Destination format for data conversion.',
choices=constants.AVAILABLE_DATAHANDLERS,
required=True,
),