def run(index, ofile, count):
    """
    Full run.  Fetch the index, populate index, populate database.
    """
    stock_file = populate_index(index, ofile, count)
    main(stock_file)
def populate(infile):
    """
    Populate the given stocks with their key indicators.
    """
    main(infile)