Add argument for dynamic-whitelist handling

If --dynamic-whitelist is passed the whitelist in the config file
is ignored. It gets automatically refreshed every 30 minutes and
currently selects the 20 topmost BaseVolume markets
This commit is contained in:
gcarq
2017-11-11 19:20:53 +01:00
parent bcd3340a80
commit 517879382b
2 changed files with 30 additions and 1 deletions

View File

@@ -83,6 +83,11 @@ def build_arg_parser() -> argparse.ArgumentParser:
action='version',
version='%(prog)s {}'.format(__version__),
)
parser.add_argument(
'--dynamic-whitelist',
help='dynamically generate and update whitelist based on 24h BaseVolume',
action='store_true',
)
return parser