Added method to clean bundle folders

This commit is contained in:
fredfortier
2017-10-23 20:53:25 -04:00
parent cf96e047cd
commit 3c10d19a7e
+3 -2
View File
@@ -520,9 +520,10 @@ def ingest_exchange(exchange_name, data_frequency, start, end,
@click.option(
'-f',
'--data-frequency',
type=click.Choice({'daily', 'minute', 'daily,minute', 'minute,daily'}),
type=click.Choice({'daily', 'minute'}),
default=None,
help='The data frequency of the desired OHLCV bars.',
help='The bundle data frequency to remove. If not specified, it will '
'remove both daily and minute bundles.',
)
def clean_exchange(exchange_name, data_frequency):
exchange = get_exchange(exchange_name)