It's not good to be guessing the input parameters (e.g.: input date). This should be handled with argparse or something similar.