allow defining of timeframes to download
This commit is contained in:
@@ -312,3 +312,14 @@ class Arguments(object):
|
||||
dest='exchange',
|
||||
type=str,
|
||||
default='bittrex')
|
||||
|
||||
self.parser.add_argument(
|
||||
'-t', '--timeframes',
|
||||
help='Specify which tickers to download. Space separated list. \
|
||||
Default: %(default)s',
|
||||
choices=['5m', '15m', '30m', '1h', '2h', '4h',
|
||||
'6h', '8h', '12h', '1d', '3d', '1w', '1M'],
|
||||
default=['1m', '5m'],
|
||||
nargs='+',
|
||||
dest='timeframes',
|
||||
)
|
||||
|
Reference in New Issue
Block a user