implement backtest subcommand

This commit is contained in:
gcarq
2017-11-14 22:15:24 +01:00
parent 77887d6fbc
commit bb4a9ed20f
4 changed files with 94 additions and 14 deletions

View File

@@ -318,6 +318,11 @@ def main():
global _CONF
args = build_arg_parser().parse_args()
# Check if subcommand has been selected
if hasattr(args, 'func'):
args.func(args)
exit(0)
# Initialize logger
logging.basicConfig(
level=args.loglevel,