split common command line args parsing
A new function parse_args_common() that only parses common command line options. The returned object can be composed to parse more arguments. As is done by parse_args().
This commit is contained in:
@@ -405,7 +405,8 @@ def main() -> None:
|
||||
:return: None
|
||||
"""
|
||||
global _CONF
|
||||
args = parse_args(sys.argv[1:])
|
||||
args = parse_args(sys.argv[1:],
|
||||
'Simple High Frequency Trading Bot for crypto currencies')
|
||||
if not args:
|
||||
exit(0)
|
||||
|
||||
|
Reference in New Issue
Block a user