INNER CODE UNIT · Python

main

ScottfreeLLC/AlphaPy · alphapy/__main__.py:446

def main(args=None):
    r"""AlphaPy Main Program

    Notes
    -----
    (1) Initialize logging.
    (2) Parse the command line arguments.
    (3) Get the model configuration.
    (4) Create the model object.
    (5) Call the main AlphaPy pipeline.

    """

    # Logging

    logging.basicConfig(format="[%(asctime)s] %(levelname)s\t%(message)s",
                        filename="alphapy.log", filemode='a', level=logging.INFO,
                        datefmt='%m/%d/%y %H:%M:%S')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…