Allow to change the number of currencies used by dynamic-whitelist

This commit is contained in:
Gerald Lonlas
2017-12-10 23:56:03 -08:00
parent 82bf0be3e2
commit ef7646417b
4 changed files with 54 additions and 14 deletions

View File

@@ -112,8 +112,12 @@ def parse_args(args: List[str]):
)
parser.add_argument(
'--dynamic-whitelist',
help='dynamically generate and update whitelist based on 24h BaseVolume',
action='store_true',
help='dynamically generate and update whitelist based on 24h BaseVolume (Default 20 currencies)',
dest='dynamic_whitelist',
const=20,
type=int,
metavar='INT',
nargs='?',
)
build_subcommands(parser)
parsed_args = parser.parse_args(args)